aboutsummaryrefslogtreecommitdiff
path: root/games/ggz-txt-client
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2008-02-19 21:24:19 +0000
committerPav Lucistnik <pav@FreeBSD.org>2008-02-19 21:24:19 +0000
commita4d010012db21ac752be93c07fa83a91591c19c0 (patch)
tree50eb2338c15276a571085b10e42547b2846fc488 /games/ggz-txt-client
parent9a6cf21a26d70e91951c25261a7f6a1fcf6c3da6 (diff)
downloadports-a4d010012db21ac752be93c07fa83a91591c19c0.tar.gz
ports-a4d010012db21ac752be93c07fa83a91591c19c0.zip
Notes
Diffstat (limited to 'games/ggz-txt-client')
-rw-r--r--games/ggz-txt-client/Makefile5
-rw-r--r--games/ggz-txt-client/pkg-plist5
2 files changed, 9 insertions, 1 deletions
diff --git a/games/ggz-txt-client/Makefile b/games/ggz-txt-client/Makefile
index 612a271122c4..1098c60cde59 100644
--- a/games/ggz-txt-client/Makefile
+++ b/games/ggz-txt-client/Makefile
@@ -8,6 +8,7 @@
PORTNAME= ggz-txt-client
PORTVERSION= ${GGZ_VERSION}
+PORTREVISION= 1
CATEGORIES= games
MAINTAINER= yinjieh@csie.nctu.edu.tw
@@ -33,6 +34,10 @@ USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
+post-install:
+ ${MKDIR} ${PREFIX}/share/ggz
+ @${INSTALL_DATA} ${WRKSRC}/tttxt/module.dsc ${PREFIX}/share/ggz/tttxt.dsc
+
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/games/libggz/bsd.ggz.mk"
.include <bsd.port.post.mk>
diff --git a/games/ggz-txt-client/pkg-plist b/games/ggz-txt-client/pkg-plist
index 7df4a4fd46d8..715e94be0aac 100644
--- a/games/ggz-txt-client/pkg-plist
+++ b/games/ggz-txt-client/pkg-plist
@@ -1,7 +1,10 @@
bin/ggz-txt
-etc/ggz.modules
lib/ggz/tttxt
share/applications/ggz-txt.desktop
+@unexec ggz-config -D --remove --modfile=%D/share/ggz/tttxt.dsc --force
+share/ggz/tttxt.dsc
+@exec ggz-config -D --install --modfile=%D/share/ggz/tttxt.dsc --force
%%NLS%%share/locale/de/LC_MESSAGES/ggz-txt.mo
+@dirrmtry share/ggz
@dirrmtry share/applications
@dirrmtry lib/ggz