aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2008-01-18 12:42:11 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2008-01-18 12:42:11 +0000
commit05fbf5da122c2bd2be85206181461f8b984abc6e (patch)
tree951465aba7646c8c3f7eed9c91ff0e70f9399a3e /games
parent86dc27fd0809b8283d18371cf4051a63f833b2a6 (diff)
downloadports-05fbf5da122c2bd2be85206181461f8b984abc6e.tar.gz
ports-05fbf5da122c2bd2be85206181461f8b984abc6e.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/ggz-client-libs/Makefile4
-rw-r--r--games/ggz-client-libs/pkg-plist2
2 files changed, 6 insertions, 0 deletions
diff --git a/games/ggz-client-libs/Makefile b/games/ggz-client-libs/Makefile
index 53f284be4968..d50faf51e79f 100644
--- a/games/ggz-client-libs/Makefile
+++ b/games/ggz-client-libs/Makefile
@@ -8,6 +8,7 @@
PORTNAME= ggz-client-libs
PORTVERSION= ${GGZ_VERSION}
+PORTREVISION= 1
CATEGORIES= games
MAINTAINER= yinjieh@csie.nctu.edu.tw
@@ -45,6 +46,9 @@ post-patch:
@${REINPLACE_CMD} -e 's|libggz.la|libggz.so|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|#!/bin/bash|#!/bin/sh|' ${WRKSRC}/ggz-wrapper/ggz
+post-install:
+ @${TOUCH} ${PREFIX}/etc/ggz.modules
+
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/games/libggz/bsd.ggz.mk"
.include <bsd.port.post.mk>
diff --git a/games/ggz-client-libs/pkg-plist b/games/ggz-client-libs/pkg-plist
index e85e5d81b2c9..12926aaf01ca 100644
--- a/games/ggz-client-libs/pkg-plist
+++ b/games/ggz-client-libs/pkg-plist
@@ -23,3 +23,5 @@ share/desktop-directories/ggz.directory
@dirrmtry etc/xdg/menus/applications-merged
@dirrmtry etc/xdg/menus
@dirrmtry etc/xdg
+@exec touch %D/etc/ggz.modules
+@unexec [ "`wc -l<%D/etc/ggz.modules`" -gt 1 ]||rm -f %D/etc/ggz.modules