pkgsrc/archivers/karchive/Makefile

28 lines
901 B
Makefile
Raw Normal View History

2018-01-30 08:29:55 +01:00
# $NetBSD: Makefile,v 1.11 2018/01/30 07:29:55 markd Exp $
DISTNAME= karchive-${KF5VER}
PKGREVISION= 2
CATEGORIES= archivers
HOMEPAGE= https://community.kde.org/Frameworks
COMMENT= Qt 5 addon providing access to numerous types of archives
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
.include "../../meta-pkgs/kf5/Makefile.common"
2018-01-30 08:29:55 +01:00
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/karchive.categories \
${PKG_SYSCONFDIR}/xdg/karchive.categories
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../archivers/xz/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"