aboutsummaryrefslogtreecommitdiff
path: root/games
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
parent9a6cf21a26d70e91951c25261a7f6a1fcf6c3da6 (diff)
downloadports-a4d010012db21ac752be93c07fa83a91591c19c0.tar.gz
ports-a4d010012db21ac752be93c07fa83a91591c19c0.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/ggz-gtk-games/Makefile13
-rw-r--r--games/ggz-gtk-games/pkg-plist28
-rw-r--r--games/ggz-sdl-games/Makefile6
-rw-r--r--games/ggz-sdl-games/pkg-plist7
-rw-r--r--games/ggz-txt-client/Makefile5
-rw-r--r--games/ggz-txt-client/pkg-plist5
6 files changed, 59 insertions, 5 deletions
diff --git a/games/ggz-gtk-games/Makefile b/games/ggz-gtk-games/Makefile
index 265acc7000b6..d6f8fa2af566 100644
--- a/games/ggz-gtk-games/Makefile
+++ b/games/ggz-gtk-games/Makefile
@@ -8,7 +8,7 @@
PORTNAME= ggz-gtk-games
PORTVERSION= ${GGZ_VERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MAINTAINER= yinjieh@csie.nctu.edu.tw
@@ -34,6 +34,17 @@ USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/chess/module.dsc ${PREFIX}/share/ggz/chess.dsc
+ ${INSTALL_DATA} ${WRKSRC}/chinese-checkers/module.dsc ${PREFIX}/share/ggz/chinese-checkers.dsc
+ ${INSTALL_DATA} ${WRKSRC}/combat/module.dsc ${PREFIX}/share/ggz/combat.dsc
+ ${INSTALL_DATA} ${WRKSRC}/dots/module.dsc ${PREFIX}/share/ggz/dots.dsc
+ ${INSTALL_DATA} ${WRKSRC}/ggzcards/module.dsc ${PREFIX}/share/ggz/ggzcards.dsc
+ ${INSTALL_DATA} ${WRKSRC}/hastings/module.dsc ${PREFIX}/share/ggz/hastings.dsc
+ ${INSTALL_DATA} ${WRKSRC}/reversi/module.dsc ${PREFIX}/share/ggz/reversi.dsc
+ ${INSTALL_DATA} ${WRKSRC}/spades/module.dsc ${PREFIX}/share/ggz/spades.dsc
+ ${INSTALL_DATA} ${WRKSRC}/tictactoe/module.dsc ${PREFIX}/share/ggz/tictactoe.dsc
+
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/games/libggz/bsd.ggz.mk"
.include <bsd.port.post.mk>
diff --git a/games/ggz-gtk-games/pkg-plist b/games/ggz-gtk-games/pkg-plist
index 5bd62e1df6b0..8930d47ee379 100644
--- a/games/ggz-gtk-games/pkg-plist
+++ b/games/ggz-gtk-games/pkg-plist
@@ -1,4 +1,3 @@
-etc/ggz.modules
lib/ggz/ggz.ccheckers
lib/ggz/ggz.chess
lib/ggz/ggz.combat
@@ -99,6 +98,33 @@ share/ggz/reversi/pixmaps/enemydot.svg
share/ggz/reversi/pixmaps/white.svg
share/ggz/tictactoe/pixmaps/o.svg
share/ggz/tictactoe/pixmaps/x.svg
+@unexec ggz-config -D --remove --modfile=%D/share/ggz/chess.dsc --force
+share/ggz/chess.dsc
+@exec ggz-config -D --install --modfile=%D/share/ggz/chess.dsc --force
+@unexec ggz-config -D --remove --modfile=%D/share/ggz/chinese-checkers.dsc --force
+share/ggz/chinese-checkers.dsc
+@exec ggz-config -D --install --modfile=%D/share/ggz/chinese-checkers.dsc --force
+@unexec ggz-config -D --remove --modfile=%D/share/ggz/combat.dsc --force
+share/ggz/combat.dsc
+@exec ggz-config -D --install --modfile=%D/share/ggz/combat.dsc --force
+@unexec ggz-config -D --remove --modfile=%D/share/ggz/dots.dsc --force
+share/ggz/dots.dsc
+@exec ggz-config -D --install --modfile=%D/share/ggz/dots.dsc --force
+@unexec ggz-config -D --remove --modfile=%D/share/ggz/ggzcards.dsc --force
+share/ggz/ggzcards.dsc
+@exec ggz-config -D --install --modfile=%D/share/ggz/ggzcards.dsc --force
+@unexec ggz-config -D --remove --modfile=%D/share/ggz/hastings.dsc --force
+share/ggz/hastings.dsc
+@exec ggz-config -D --install --modfile=%D/share/ggz/hastings.dsc --force
+@unexec ggz-config -D --remove --modfile=%D/share/ggz/reversi.dsc --force
+share/ggz/reversi.dsc
+@exec ggz-config -D --install --modfile=%D/share/ggz/reversi.dsc --force
+@unexec ggz-config -D --remove --modfile=%D/share/ggz/spades.dsc --force
+share/ggz/spades.dsc
+@exec ggz-config -D --install --modfile=%D/share/ggz/spades.dsc --force
+@unexec ggz-config -D --remove --modfile=%D/share/ggz/tictactoe.dsc --force
+share/ggz/tictactoe.dsc
+@exec ggz-config -D --install --modfile=%D/share/ggz/tictactoe.dsc --force
%%NLS%%share/locale/de/LC_MESSAGES/chess.mo
%%NLS%%share/locale/de/LC_MESSAGES/chinese-checkers.mo
%%NLS%%share/locale/de/LC_MESSAGES/combat.mo
diff --git a/games/ggz-sdl-games/Makefile b/games/ggz-sdl-games/Makefile
index 9b9b7f212a48..4f675762537c 100644
--- a/games/ggz-sdl-games/Makefile
+++ b/games/ggz-sdl-games/Makefile
@@ -8,7 +8,7 @@
PORTNAME= ggz-sdl-games
PORTVERSION= ${GGZ_VERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MAINTAINER= yinjieh@csie.nctu.edu.tw
@@ -25,6 +25,10 @@ USE_GGZ= client
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/geekgame/module.dsc ${PREFIX}/share/ggz/geekgame.dsc
+ ${INSTALL_DATA} ${WRKSRC}/ttt3d/module.dsc ${PREFIX}/share/ggz/ttt3d.dsc
+
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/games/libggz/bsd.ggz.mk"
.include <bsd.port.post.mk>
diff --git a/games/ggz-sdl-games/pkg-plist b/games/ggz-sdl-games/pkg-plist
index 4d82ac2d6003..95a8ca633e7e 100644
--- a/games/ggz-sdl-games/pkg-plist
+++ b/games/ggz-sdl-games/pkg-plist
@@ -1,4 +1,3 @@
-etc/ggz.modules
lib/ggz/ggz.ttt3d
lib/ggz/geekgame
share/ggz/geekgame/bot.png
@@ -13,6 +12,12 @@ share/ggz/ttt3d/board.bmp
share/ggz/ttt3d/cursor.bmp
share/ggz/ttt3d/figure.bmp
share/ggz/ttt3d/lines.bmp
+@unexec ggz-config -D --remove --modfile=%D/share/ggz/geekgame.dsc --force
+share/ggz/geekgame.dsc
+@exec ggz-config -D --install --modfile=%D/share/ggz/geekgame.dsc --force
+@unexec ggz-config -D --remove --modfile=%D/share/ggz/ttt3d.dsc --force
+share/ggz/ttt3d.dsc
+@exec ggz-config -D --install --modfile=%D/share/ggz/ttt3d.dsc --force
@dirrm share/ggz/geekgame
@dirrm share/ggz/ttt3d
@dirrmtry lib/ggz
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