aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2009-04-25 02:53:16 +0800
committermakc <makc@FreeBSD.org>2009-04-25 02:53:16 +0800
commitfefbb4e0d8bf4c4b114988c45a2ef3cdbfc7419c (patch)
tree6c2bbde777fe60c19cd86e0f8474a11d8a1c43e3 /games
parentdbad5698d59a7e14a3adeeed84ae47eede197819 (diff)
downloadfreebsd-ports-gnome-fefbb4e0d8bf4c4b114988c45a2ef3cdbfc7419c.tar.gz
freebsd-ports-gnome-fefbb4e0d8bf4c4b114988c45a2ef3cdbfc7419c.tar.zst
freebsd-ports-gnome-fefbb4e0d8bf4c4b114988c45a2ef3cdbfc7419c.zip
Add optional dependency on games/freebsd-carddeck-kde4.
Diffstat (limited to 'games')
-rw-r--r--games/kdegames4/Makefile10
-rw-r--r--games/kdegames4/pkg-plist2
2 files changed, 10 insertions, 2 deletions
diff --git a/games/kdegames4/Makefile b/games/kdegames4/Makefile
index 7bb44b90c16b..c14d5633146b 100644
--- a/games/kdegames4/Makefile
+++ b/games/kdegames4/Makefile
@@ -27,7 +27,15 @@ QT_COMPONENTS= opengl gui svg iconengines pixeltool \
qmake_build moc_build rcc_build uic_build
MAKE_JOBS_UNSAFE= yes
+OPTIONS= FREEBSD "Install FreeBSD card desk" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_FREEBSD)
+RUN_DEPENDS= kde4-freebsd-carddeck>=1.0:${PORTSDIR}/games/freebsd-carddeck-kde4
+.endif
+
post-extract:
${MKDIR} ${WRKSRC}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/kdegames4/pkg-plist b/games/kdegames4/pkg-plist
index 3d40075bbaae..d56d19396097 100644
--- a/games/kdegames4/pkg-plist
+++ b/games/kdegames4/pkg-plist
@@ -1808,7 +1808,7 @@ share/sounds/kapman/pill.ogg
@dirrm share/apps/carddecks/svg-jolly-royal
@dirrm share/apps/carddecks/svg-gm-paris
@dirrm share/apps/carddecks/svg-dondorf
-@dirrm share/apps/carddecks/decks
+@dirrmtry share/apps/carddecks/decks
@dirrm share/apps/carddecks/cards-xskat-german
@dirrm share/apps/carddecks/cards-xskat-french
@dirrm share/apps/carddecks/cards-penguins