summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2003-03-04 21:44:27 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2003-03-04 21:44:27 +0000
commit8861f64b57880230c92e9ece99e8c997d496b951 (patch)
tree86df235c90b67b4b2ed56bf4bb8ba7efcdb4ae3b /games
parent - Increase PORTREVISION (knews now realy uses libcompface as stated in the (diff)
* Use external libintl, don't build included one.
* Remove version number from docs directory. Approved by: petef
Notes
Notes: svn path=/head/; revision=76877
Diffstat (limited to 'games')
-rw-r--r--games/dopewars/Makefile8
-rw-r--r--games/dopewars/files/patch-doc::Makefile.in22
-rw-r--r--games/dopewars/files/patch-doc::help::Makefile.in14
-rw-r--r--games/dopewars/pkg-comment1
-rw-r--r--games/dopewars/pkg-plist55
5 files changed, 63 insertions, 37 deletions
diff --git a/games/dopewars/Makefile b/games/dopewars/Makefile
index f5c9cf5554d8..d88cbf014737 100644
--- a/games/dopewars/Makefile
+++ b/games/dopewars/Makefile
@@ -7,12 +7,14 @@
PORTNAME= dopewars
PORTVERSION= 1.5.8
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://bellatrix.pcl.ox.ac.uk/~ben/dopewars/
MASTER_SITE_SUBDIR= dopewars
MAINTAINER= petef@FreeBSD.org
+COMMENT= A UNIX rewrite of a game originally based on "Drug Wars"
USE_GMAKE= yes
GNU_CONFIGURE= yes
@@ -21,14 +23,14 @@ USE_GNOME= gtk12
USE_X_PREFIX= yes
USE_REINPLACE= yes
-CONFIGURE_ARGS+= --enable-nls --enable-networking --disable-plugins
+CONFIGURE_ARGS= --enable-networking --disable-plugins
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
.if defined(NOPORTDOCS)
MAKE_ENV+= NOPORTDOCS=yes
.endif
-PLIST_SUB= DOPEWARS=${PKGNAME}
-
MAN6= dopewars.6
post-patch:
diff --git a/games/dopewars/files/patch-doc::Makefile.in b/games/dopewars/files/patch-doc::Makefile.in
index 8679fcf9df37..8908afc049f5 100644
--- a/games/dopewars/files/patch-doc::Makefile.in
+++ b/games/dopewars/files/patch-doc::Makefile.in
@@ -1,6 +1,18 @@
---- doc/Makefile.in.orig Sat Mar 2 15:25:02 2002
-+++ doc/Makefile.in Mon Mar 25 09:33:45 2002
-@@ -246,10 +246,12 @@
+
+$FreeBSD$
+
+--- doc/Makefile.in.orig Mon Oct 21 13:09:21 2002
++++ doc/Makefile.in Tue Mar 4 19:35:58 2003
+@@ -132,7 +132,7 @@
+ install_sh = @install_sh@
+ localedir = @localedir@
+ plugindir = @plugindir@
+-DOCPATH = ${DESTDIR}${datadir}/doc/${PACKAGE}-${VERSION}/
++DOCPATH = ${DESTDIR}${datadir}/doc/${PACKAGE}/
+ DOCS = aiplayer.html configfile.html index.html i18n.html \
+ server.html clientplay.html credits.html example-cfg \
+ installation.html servercommands.html commandline.html \
+@@ -449,10 +449,12 @@
install-data-local:
@@ -11,5 +23,5 @@
done
+endif
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
- # Otherwise a system limit (for SysV at least) may be exceeded.
+ uninstall-local:
+ for doc in ${DOCS}; do \
diff --git a/games/dopewars/files/patch-doc::help::Makefile.in b/games/dopewars/files/patch-doc::help::Makefile.in
new file mode 100644
index 000000000000..b9a1ea824408
--- /dev/null
+++ b/games/dopewars/files/patch-doc::help::Makefile.in
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- doc/help/Makefile.in.orig Tue Mar 4 19:36:07 2003
++++ doc/help/Makefile.in Tue Mar 4 19:36:19 2003
+@@ -132,7 +132,7 @@
+ install_sh = @install_sh@
+ localedir = @localedir@
+ plugindir = @plugindir@
+-DOCPATH = ${DESTDIR}${datadir}/doc/${PACKAGE}-${VERSION}/help
++DOCPATH = ${DESTDIR}${datadir}/doc/${PACKAGE}/help
+ DOCS = cops.html general.html locations.html sounds.html \
+ drugs.html guns.html server.html
+
diff --git a/games/dopewars/pkg-comment b/games/dopewars/pkg-comment
deleted file mode 100644
index 7db29b57bfe0..000000000000
--- a/games/dopewars/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-A UNIX rewrite of a game originally based on "Drug Wars"
diff --git a/games/dopewars/pkg-plist b/games/dopewars/pkg-plist
index b75d7cedd903..05aeb2e359cf 100644
--- a/games/dopewars/pkg-plist
+++ b/games/dopewars/pkg-plist
@@ -1,29 +1,29 @@
+@comment $FreeBSD$
bin/dopewars
-lib/charset.alias
-%%PORTDOCS%%share/doc/%%DOPEWARS%%/LICENCE
-%%PORTDOCS%%share/doc/%%DOPEWARS%%/aiplayer.html
-%%PORTDOCS%%share/doc/%%DOPEWARS%%/clientplay.html
-%%PORTDOCS%%share/doc/%%DOPEWARS%%/commandline.html
-%%PORTDOCS%%share/doc/%%DOPEWARS%%/configfile.html
-%%PORTDOCS%%share/doc/%%DOPEWARS%%/contribute.html
-%%PORTDOCS%%share/doc/%%DOPEWARS%%/credits.html
-%%PORTDOCS%%share/doc/%%DOPEWARS%%/developer.html
-%%PORTDOCS%%share/doc/%%DOPEWARS%%/example-cfg
-%%PORTDOCS%%share/doc/%%DOPEWARS%%/help/cops.html
-%%PORTDOCS%%share/doc/%%DOPEWARS%%/help/drugs.html
-%%PORTDOCS%%share/doc/%%DOPEWARS%%/help/general.html
-%%PORTDOCS%%share/doc/%%DOPEWARS%%/help/guns.html
-%%PORTDOCS%%share/doc/%%DOPEWARS%%/help/locations.html
-%%PORTDOCS%%share/doc/%%DOPEWARS%%/help/server.html
-%%PORTDOCS%%share/doc/%%DOPEWARS%%/help/sounds.html
-%%PORTDOCS%%share/doc/%%DOPEWARS%%/i18n.html
-%%PORTDOCS%%share/doc/%%DOPEWARS%%/index.html
-%%PORTDOCS%%share/doc/%%DOPEWARS%%/installation.html
-%%PORTDOCS%%share/doc/%%DOPEWARS%%/metaserver.html
-%%PORTDOCS%%share/doc/%%DOPEWARS%%/protocol.html
-%%PORTDOCS%%share/doc/%%DOPEWARS%%/server.html
-%%PORTDOCS%%share/doc/%%DOPEWARS%%/servercommands.html
-%%PORTDOCS%%share/doc/%%DOPEWARS%%/windows.html
+%%PORTDOCS%%share/doc/dopewars/LICENCE
+%%PORTDOCS%%share/doc/dopewars/aiplayer.html
+%%PORTDOCS%%share/doc/dopewars/clientplay.html
+%%PORTDOCS%%share/doc/dopewars/commandline.html
+%%PORTDOCS%%share/doc/dopewars/configfile.html
+%%PORTDOCS%%share/doc/dopewars/contribute.html
+%%PORTDOCS%%share/doc/dopewars/credits.html
+%%PORTDOCS%%share/doc/dopewars/developer.html
+%%PORTDOCS%%share/doc/dopewars/example-cfg
+%%PORTDOCS%%share/doc/dopewars/help/cops.html
+%%PORTDOCS%%share/doc/dopewars/help/drugs.html
+%%PORTDOCS%%share/doc/dopewars/help/general.html
+%%PORTDOCS%%share/doc/dopewars/help/guns.html
+%%PORTDOCS%%share/doc/dopewars/help/locations.html
+%%PORTDOCS%%share/doc/dopewars/help/server.html
+%%PORTDOCS%%share/doc/dopewars/help/sounds.html
+%%PORTDOCS%%share/doc/dopewars/i18n.html
+%%PORTDOCS%%share/doc/dopewars/index.html
+%%PORTDOCS%%share/doc/dopewars/installation.html
+%%PORTDOCS%%share/doc/dopewars/metaserver.html
+%%PORTDOCS%%share/doc/dopewars/protocol.html
+%%PORTDOCS%%share/doc/dopewars/server.html
+%%PORTDOCS%%share/doc/dopewars/servercommands.html
+%%PORTDOCS%%share/doc/dopewars/windows.html
share/dopewars/dopewars.sco
share/dopewars/bye.wav
share/dopewars/colt.wav
@@ -44,7 +44,6 @@ share/dopewars/pixmaps/dopewars-weed.png
share/locale/de/LC_MESSAGES/dopewars.mo
share/locale/es/LC_MESSAGES/dopewars.mo
share/locale/fr/LC_MESSAGES/dopewars.mo
-share/locale/locale.alias
share/locale/nn/LC_MESSAGES/dopewars.mo
share/locale/pl/LC_MESSAGES/dopewars.mo
share/locale/pt_BR/LC_MESSAGES/dopewars.mo
@@ -54,5 +53,5 @@ share/gnome/apps/Games/dopewars.desktop
@unexec rmdir %D/share/gnome 2>/dev/null || true
@dirrm share/dopewars/pixmaps
@dirrm share/dopewars
-%%PORTDOCS%%@dirrm share/doc/%%DOPEWARS%%/help
-%%PORTDOCS%%@dirrm share/doc/%%DOPEWARS%%
+%%PORTDOCS%%@dirrm share/doc/dopewars/help
+%%PORTDOCS%%@dirrm share/doc/dopewars