summaryrefslogtreecommitdiff
path: root/misc/attica-qt5/Makefile
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2018-01-30 07:52:36 +0000
committermarkd <markd@pkgsrc.org>2018-01-30 07:52:36 +0000
commitb63c747aaaa4da389d5798d270f275b50d7b49f5 (patch)
tree4f19ba4d7ae9d6f0ede000a96c63bcb8ee52aa43 /misc/attica-qt5/Makefile
parent1be5c55033eb9c1de1606dc455fdfe72c0fc3abf (diff)
downloadpkgsrc-b63c747aaaa4da389d5798d270f275b50d7b49f5.tar.gz
attica-qt5: SUBST rather than patch
Diffstat (limited to 'misc/attica-qt5/Makefile')
-rw-r--r--misc/attica-qt5/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/misc/attica-qt5/Makefile b/misc/attica-qt5/Makefile
index facf396a253..0a9294f44a4 100644
--- a/misc/attica-qt5/Makefile
+++ b/misc/attica-qt5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2018/01/27 03:32:16 markd Exp $
+# $NetBSD: Makefile,v 1.11 2018/01/30 07:52:36 markd Exp $
DISTNAME= attica-${KF5VER}
PKGNAME= ${DISTNAME:S/-/-qt5-/}
@@ -13,6 +13,12 @@ LICENSE= gnu-lgpl-v2.1
PKGCONFIG_OVERRIDE+= src/cmake/libKF5Attica.pc.cmake
+SUBST_CLASSES+= xdg
+SUBST_STAGE.xdg= post-patch
+SUBST_MESSAGE.xdg= Install via examples dir.
+SUBST_FILES.xdg= CMakeLists.txt
+SUBST_SED.xdg= -e 's:{KDE_INSTALL_CONFDIR}:{KDE_INSTALL_DATAROOTDIR}/examples/kde-xdg:'
+
MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg
CONF_FILES+= ${PREFIX}/share/examples/kde-xdg/attica.categories \
${PKG_SYSCONFDIR}/xdg/attica.categories