diff options
-rw-r--r-- | misc/attica-qt5/Makefile | 8 | ||||
-rw-r--r-- | misc/attica-qt5/distinfo | 3 | ||||
-rw-r--r-- | misc/attica-qt5/patches/patch-CMakeLists.txt | 15 |
3 files changed, 8 insertions, 18 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 diff --git a/misc/attica-qt5/distinfo b/misc/attica-qt5/distinfo index 1ffae2460a1..48a6b6c627e 100644 --- a/misc/attica-qt5/distinfo +++ b/misc/attica-qt5/distinfo @@ -1,7 +1,6 @@ -$NetBSD: distinfo,v 1.4 2018/01/27 03:32:16 markd Exp $ +$NetBSD: distinfo,v 1.5 2018/01/30 07:52:36 markd Exp $ SHA1 (attica-5.41.0.tar.xz) = ceaaac505ad122d364c04ec53969d83d914b2f7e RMD160 (attica-5.41.0.tar.xz) = 032930e755ac57cee71515b98ae6c3581332b150 SHA512 (attica-5.41.0.tar.xz) = 9e9fc456bd1e7853140c71fead1ac6205e4f572d1d69d485d95188355e3b2fc775fa85c6d115564bd444f9925526a77da1decf990226ef46302fa5f605d73b09 Size (attica-5.41.0.tar.xz) = 60588 bytes -SHA1 (patch-CMakeLists.txt) = 4359602d2558b7f0ae1c5d621e469b1d59f0452a diff --git a/misc/attica-qt5/patches/patch-CMakeLists.txt b/misc/attica-qt5/patches/patch-CMakeLists.txt deleted file mode 100644 index 31bde8876fe..00000000000 --- a/misc/attica-qt5/patches/patch-CMakeLists.txt +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-CMakeLists.txt,v 1.1 2018/01/27 03:32:16 markd Exp $ - -Install via examples dir - ---- CMakeLists.txt.orig 2017-12-02 09:52:08.000000000 +0000 -+++ CMakeLists.txt -@@ -88,7 +88,7 @@ install(FILES "${CMAKE_CURRENT_BINARY_DI - DESTINATION "${KDE_INSTALL_INCLUDEDIR_KF5}" - COMPONENT Devel) - --install( FILES attica.categories DESTINATION ${KDE_INSTALL_CONFDIR}) -+install( FILES attica.categories DESTINATION ${KDE_INSTALL_DATAROOTDIR}/examples/kde-xdg) - - feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) - |