summaryrefslogtreecommitdiff
path: root/games/kanagram/Makefile
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2019-11-21 06:05:12 +0000
committermarkd <markd@pkgsrc.org>2019-11-21 06:05:12 +0000
commit4113b66b124991cdc2f0ce1da7f4f9b940e2c58b (patch)
tree39cc551ee308d565596207d84ca5e7ba93a5276d /games/kanagram/Makefile
parentd5336a9abdac8a07a5924b3f76a18a2c07ce62a1 (diff)
downloadpkgsrc-4113b66b124991cdc2f0ce1da7f4f9b940e2c58b.tar.gz
kanagram: update to 19.08.3 qt5/kf5 version
Diffstat (limited to 'games/kanagram/Makefile')
-rw-r--r--games/kanagram/Makefile31
1 files changed, 23 insertions, 8 deletions
diff --git a/games/kanagram/Makefile b/games/kanagram/Makefile
index dd4ecaef2b9..6c7b8bb7227 100644
--- a/games/kanagram/Makefile
+++ b/games/kanagram/Makefile
@@ -1,17 +1,32 @@
-# $NetBSD: Makefile,v 1.40 2019/08/22 12:23:09 ryoon Exp $
+# $NetBSD: Makefile,v 1.41 2019/11/21 06:05:12 markd Exp $
-DISTNAME= kanagram-${_KDE_VERSION}
-PKGREVISION= 14
+DISTNAME= kanagram-${KAPPSVER}
CATEGORIES= games
+
+HOMEPAGE= https://kde.org/applications/education/kanagram/
COMMENT= KDE letter order game
+LICENSE= gnu-gpl-v2 AND gnu-fdl-v1.2
+
+.include "../../meta-pkgs/kde/applications.mk"
+
+BUILD_DEPENDS+= kdoctools>=${KF5VER}:../../devel/kdoctools
-.include "../../meta-pkgs/kde4/Makefile.kde4"
+USE_TOOLS+= msgmerge
-.include "../../meta-pkgs/kde4/kde4.mk"
+SUBST_CLASSES+= xdg
+SUBST_STAGE.xdg= pre-configure
+SUBST_MESSAGE.xdg= Install via examples dir.
+SUBST_FILES.xdg= src/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/kanagram.knsrc \
+ ${PKG_SYSCONFDIR}/xdg/kanagram.knsrc
+
+.include "../../devel/kdeclarative/buildlink3.mk"
+.include "../../misc/libkeduvocdocument/buildlink3.mk"
+.include "../../net/knewstuff/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
-.include "../../misc/libkdeedu/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
-.include "../../x11/kdelibs4/buildlink3.mk"
-
+.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"