diff options
author | pav <pav@FreeBSD.org> | 2008-02-20 05:24:19 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2008-02-20 05:24:19 +0800 |
commit | 0f8de76de6d03ae62ce7e9fe48e4eb9238070cd0 (patch) | |
tree | b4eb50e04fe35e8e16c02d432de1c5ffededf967 /games/ggz-gtk-games | |
parent | ca570789466418342b1e40ea4a76dfc36af8dd8f (diff) | |
download | freebsd-ports-gnome-0f8de76de6d03ae62ce7e9fe48e4eb9238070cd0.tar.gz freebsd-ports-gnome-0f8de76de6d03ae62ce7e9fe48e4eb9238070cd0.tar.zst freebsd-ports-gnome-0f8de76de6d03ae62ce7e9fe48e4eb9238070cd0.zip |
- 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-gtk-games')
-rw-r--r-- | games/ggz-gtk-games/Makefile | 13 | ||||
-rw-r--r-- | games/ggz-gtk-games/pkg-plist | 28 |
2 files changed, 39 insertions, 2 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 |