pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/kcoreaddons



Module Name:    pkgsrc
Committed By:   markd
Date:           Sat Apr 27 21:42:51 UTC 2019

Modified Files:
        pkgsrc/devel/kcoreaddons: Makefile PLIST

Log Message:
kcoreaddons: fix installation of kcoreaddons.categories


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/devel/kcoreaddons/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/kcoreaddons/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/kcoreaddons/Makefile
diff -u pkgsrc/devel/kcoreaddons/Makefile:1.31 pkgsrc/devel/kcoreaddons/Makefile:1.32
--- pkgsrc/devel/kcoreaddons/Makefile:1.31      Sat Apr 27 14:09:23 2019
+++ pkgsrc/devel/kcoreaddons/Makefile   Sat Apr 27 21:42:50 2019
@@ -1,17 +1,25 @@
-# $NetBSD: Makefile,v 1.31 2019/04/27 14:09:23 maya Exp $
+# $NetBSD: Makefile,v 1.32 2019/04/27 21:42:50 markd Exp $
 
 DISTNAME=      kcoreaddons-${KF5VER}
+PKGREVISION=   1
 CATEGORIES=    devel
 
 HOMEPAGE=      https://community.kde.org/Frameworks
 COMMENT=       Addons to QtCore
 LICENSE=       gnu-lgpl-v2 AND gnu-lgpl-v2.1 AND modified-bsd
 
-CONF_FILES+=   ${PREFIX}/share/examples/kde/kcoreaddons.categories \
-               ${PKG_SYSCONFDIR}/kcoreaddons.categories
-
 .include "../../meta-pkgs/kde/kf5.mk"
 
+SUBST_CLASSES+=                xdg
+SUBST_STAGE.xdg=       pre-configure
+SUBST_MESSAGE.xdg=     Install via examples dir.
+SUBST_FILES.xdg=       CMakeLists.txt
+SUBST_SED.xdg=         -e 's:{KDE_INSTALL_CONFDIR}:{KDE_INSTALL_XDG_EX_DIR}:'
+
+MAKE_DIRS+=    ${PKG_SYSCONFDIR}/xdg
+CONF_FILES+=   ${PREFIX}/share/examples/kde-xdg/kcoreaddons.categories \
+               ${PKG_SYSCONFDIR}/xdg/kcoreaddons.categories
+
 .if ${OPSYS} != "SunOS"
 .include "../../devel/libinotify/buildlink3.mk"
 .endif

Index: pkgsrc/devel/kcoreaddons/PLIST
diff -u pkgsrc/devel/kcoreaddons/PLIST:1.5 pkgsrc/devel/kcoreaddons/PLIST:1.6
--- pkgsrc/devel/kcoreaddons/PLIST:1.5  Sat Apr 27 14:09:23 2019
+++ pkgsrc/devel/kcoreaddons/PLIST      Sat Apr 27 21:42:50 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2019/04/27 14:09:23 maya Exp $
+@comment $NetBSD: PLIST,v 1.6 2019/04/27 21:42:50 markd Exp $
 bin/desktoptojson
 include/KF5/KCoreAddons/KAboutData
 include/KF5/KCoreAddons/KAutoSaveFile
@@ -71,7 +71,7 @@ lib/libKF5CoreAddons.so
 lib/libKF5CoreAddons.so.5
 lib/libKF5CoreAddons.so.${PKGVERSION}
 qt5/mkspecs/modules/qt_KCoreAddons.pri
-share/examples/kde/kcoreaddons.categories
+share/examples/kde-xdg/kcoreaddons.categories
 share/kf5/licenses/ARTISTIC
 share/kf5/licenses/BSD
 share/kf5/licenses/GPL_V2



Home | Main Index | Thread Index | Old Index