pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/kfilemetadata5 kfilemetadata5: correctly inst...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e9af090f667d
branches:  trunk
changeset: 374833:e9af090f667d
user:      markd <markd%pkgsrc.org@localhost>
date:      Tue Jan 30 07:03:48 2018 +0000

description:
kfilemetadata5: correctly install kfilemetadata.categories

diffstat:

 sysutils/kfilemetadata5/Makefile |  14 ++++++++++++--
 sysutils/kfilemetadata5/PLIST    |   3 ++-
 2 files changed, 14 insertions(+), 3 deletions(-)

diffs (48 lines):

diff -r 72150629ea7a -r e9af090f667d sysutils/kfilemetadata5/Makefile
--- a/sysutils/kfilemetadata5/Makefile  Tue Jan 30 06:47:01 2018 +0000
+++ b/sysutils/kfilemetadata5/Makefile  Tue Jan 30 07:03:48 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.23 2018/01/24 19:06:10 markd Exp $
+# $NetBSD: Makefile,v 1.24 2018/01/30 07:03:48 markd Exp $
 
 DISTNAME=      kfilemetadata-${KF5VER}
 PKGNAME=       ${DISTNAME:S/-/5-/}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    sysutils
 
 HOMEPAGE=      https://community.kde.org/Frameworks
@@ -15,6 +15,16 @@
 
 DEPENDS+=      catdoc-[0-9]*:../../textproc/catdoc
 
+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/kfilemetadata.categories \
+               ${PKG_SYSCONFDIR}/xdg/kfilemetadata.categories
+
 .include "../../lang/python/tool.mk"
 .include "../../archivers/karchive/buildlink3.mk"
 .include "../../audio/taglib/buildlink3.mk"
diff -r 72150629ea7a -r e9af090f667d sysutils/kfilemetadata5/PLIST
--- a/sysutils/kfilemetadata5/PLIST     Tue Jan 30 06:47:01 2018 +0000
+++ b/sysutils/kfilemetadata5/PLIST     Tue Jan 30 07:03:48 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2018/01/17 20:09:33 markd Exp $
+@comment $NetBSD: PLIST,v 1.4 2018/01/30 07:03:48 markd Exp $
 include/KF5/KFileMetaData/KFileMetaData/ExtractionResult
 include/KF5/KFileMetaData/KFileMetaData/Extractor
 include/KF5/KFileMetaData/KFileMetaData/ExtractorCollection
@@ -46,6 +46,7 @@
 qt5/plugins/kf5/kfilemetadata/kfilemetadata_popplerextractor.so
 qt5/plugins/kf5/kfilemetadata/kfilemetadata_taglibextractor.so
 qt5/plugins/kf5/kfilemetadata/writers/kfilemetadata_taglibwriter.so
+share/examples/kde-xdg/kfilemetadata.categories
 share/locale/ar/LC_MESSAGES/kfilemetadata5.mo
 share/locale/ast/LC_MESSAGES/kfilemetadata5.mo
 share/locale/bg/LC_MESSAGES/kfilemetadata5.mo



Home | Main Index | Thread Index | Old Index