summaryrefslogtreecommitdiffstats
path: root/games/ggz-txt-client
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2008-02-19 21:24:19 +0000
committerpav <pav@FreeBSD.org>2008-02-19 21:24:19 +0000
commit0f8de76de6d03ae62ce7e9fe48e4eb9238070cd0 (patch)
treeb4eb50e04fe35e8e16c02d432de1c5ffededf967 /games/ggz-txt-client
parentca570789466418342b1e40ea4a76dfc36af8dd8f (diff)
downloadFreeBSD-ports-0f8de76de6d03ae62ce7e9fe48e4eb9238070cd0.zip
FreeBSD-ports-0f8de76de6d03ae62ce7e9fe48e4eb9238070cd0.tar.gz
- Don't try to package ggz.modules, it clases with ggz-client-libs port.
Instead, move the registration and deregistration of games into the plist's install and deinstall scripts Silence from: sat
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 612a271..1098c60 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 7df4a4f..715e94b 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
OpenPOWER on IntegriCloud