diff options
author | petef <petef@FreeBSD.org> | 2001-12-23 22:30:21 +0000 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2001-12-23 22:30:21 +0000 |
commit | e9d498482ddacda31825ecc208ef1fd7610d1c4a (patch) | |
tree | 36ce43f1028f37ba13bc610d63615abcc7f76d2a /games/dopewars | |
parent | 8efc4138cd3a1780853499e9abbbfb454e99c512 (diff) | |
download | FreeBSD-ports-e9d498482ddacda31825ecc208ef1fd7610d1c4a.zip FreeBSD-ports-e9d498482ddacda31825ecc208ef1fd7610d1c4a.tar.gz |
Add a patch to fix the default score file generation and adjust pkg-plist to
remove the backup score file (if it is empty).
Reported by: many
Obtained from: dopewars cvs
Diffstat (limited to 'games/dopewars')
-rw-r--r-- | games/dopewars/files/patch-Makefile.in | 12 | ||||
-rw-r--r-- | games/dopewars/pkg-plist | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/games/dopewars/files/patch-Makefile.in b/games/dopewars/files/patch-Makefile.in new file mode 100644 index 0000000..0cddc21 --- /dev/null +++ b/games/dopewars/files/patch-Makefile.in @@ -0,0 +1,12 @@ +$FreeBSD$ + +--- Makefile.in 2001/10/30 18:46:00 1.14 ++++ Makefile.in 2001/10/30 20:44:26 1.15 +@@ -391,6 +391,7 @@ + @chgrp games ${SCORE} || chgrp wheel ${SCORE} || \ + echo "Unable to change group ownership of the high score file" + chmod 0660 ${SCORE} ++ src/dopewars -C ${SCORE} + ${mkinstalldirs} ${DESKTOPDIR} + ${INSTALL} -m 0644 ${DESKTOP} ${DESKTOPDIR} + diff --git a/games/dopewars/pkg-plist b/games/dopewars/pkg-plist index 70c5c41..0549f30 100644 --- a/games/dopewars/pkg-plist +++ b/games/dopewars/pkg-plist @@ -13,6 +13,7 @@ bin/dopewars %%PORTDOCS%%share/doc/%%DOPEWARS%%/servercommands.html %%PORTDOCS%%share/doc/%%DOPEWARS%%/windows.html share/dopewars/dopewars.sco +@unexec if [ ! -s %D/share/dopewars/dopewars.sco.bak ]; then rm -f %D/share/dopewars/dopewars.sco.bak; fi share/dopewars/pixmaps/dopewars-pill.png share/dopewars/pixmaps/dopewars-shot.png share/dopewars/pixmaps/dopewars-weed.png |