pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/kcoreaddons kcoreaddons: fix installation of kco...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e30898554528
branches: trunk
changeset: 322772:e30898554528
user: markd <markd%pkgsrc.org@localhost>
date: Sat Apr 27 21:42:50 2019 +0000
description:
kcoreaddons: fix installation of kcoreaddons.categories
diffstat:
devel/kcoreaddons/Makefile | 16 ++++++++++++----
devel/kcoreaddons/PLIST | 4 ++--
2 files changed, 14 insertions(+), 6 deletions(-)
diffs (50 lines):
diff -r be644767f493 -r e30898554528 devel/kcoreaddons/Makefile
--- a/devel/kcoreaddons/Makefile Sat Apr 27 21:34:59 2019 +0000
+++ b/devel/kcoreaddons/Makefile Sat Apr 27 21:42:50 2019 +0000
@@ -1,16 +1,24 @@
-# $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"
-.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"
diff -r be644767f493 -r e30898554528 devel/kcoreaddons/PLIST
--- a/devel/kcoreaddons/PLIST Sat Apr 27 21:34:59 2019 +0000
+++ b/devel/kcoreaddons/PLIST Sat Apr 27 21:42:50 2019 +0000
@@ -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.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