summaryrefslogtreecommitdiffstats
path: root/games/dopewars
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2003-03-04 21:44:27 +0000
committernaddy <naddy@FreeBSD.org>2003-03-04 21:44:27 +0000
commit6f2b0033ed64457f1480384b8e6a75fed704f6fc (patch)
treebfcef4946b9fd9cbf3484f9e9f426b7f65581361 /games/dopewars
parentd626c3b14655185fbc9cd1bfefee950b869c0f57 (diff)
downloadFreeBSD-ports-6f2b0033ed64457f1480384b8e6a75fed704f6fc.zip
FreeBSD-ports-6f2b0033ed64457f1480384b8e6a75fed704f6fc.tar.gz
* Use external libintl, don't build included one.
* Remove version number from docs directory. Approved by: petef
Diffstat (limited to 'games/dopewars')
-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 f5c9cf5..d88cbf0 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 8679fcf..8908afc 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 0000000..b9a1ea8
--- /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 7db29b5..0000000
--- 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 b75d7ce..05aeb2e 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
OpenPOWER on IntegriCloud