Index: dopewars/Makefile =================================================================== RCS file: /home/pcvs/ports/games/dopewars/Makefile,v retrieving revision 1.30 diff -u -r1.30 Makefile --- dopewars/Makefile 14 Apr 2006 20:45:36 -0000 1.30 +++ dopewars/Makefile 7 May 2006 23:36:10 -0000 @@ -6,14 +6,13 @@ # PORTNAME= dopewars -PORTVERSION= 1.5.9 -PORTREVISION= 2 +PORTVERSION= 1.5.12 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://bellatrix.pcl.ox.ac.uk/~ben/dopewars/ MASTER_SITE_SUBDIR= dopewars -MAINTAINER= ports@FreeBSD.org +MAINTAINER= infofarmer@FreeBSD.org COMMENT= A UNIX rewrite of a game originally based on "Drug Wars" USE_GETTEXT= yes @@ -21,25 +20,29 @@ GNU_CONFIGURE= yes USE_GNOME= gtk12 USE_X_PREFIX= yes -USE_REINPLACE= yes -CONFIGURE_ARGS= --enable-networking --disable-plugins +CONFIGURE_ARGS= --enable-networking --disable-plugins --localstatedir=${DATADIR} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -.if defined(NOPORTDOCS) -MAKE_ENV+= NOPORTDOCS=yes -.endif - +PORTDOCS= ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL LICENCE NEWS README TODO MAN6= dopewars.6 post-patch: @${REINPLACE_CMD} -e 's!/pixmaps!/dopewars/pixmaps!' \ ${WRKSRC}/src/Makefile.in - @${REINPLACE_CMD} -e 's!dopewars.sco!dopewars/dopewars.sco!g' \ - ${WRKSRC}/src/dopewars.c ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's!^CFLAGS =!CFLAGS = \@GLIB_CFLAGS\@!' \ ${WRKSRC}/src/gui_client/Makefile.in \ ${WRKSRC}/src/curses_client/Makefile.in + @${REINPLACE_CMD} -e 's!install-recursive!!g' ${WRKSRC}/doc/Makefile.in + +post-install: +.ifndef NOPORTDOCS + @${INSTALL} -d ${DOCSDIR}/help + @${INSTALL_DATA} ${WRKSRC}/doc/*html ${WRKSRC}/doc/example* ${DOCSDIR}/ + @${INSTALL_DATA} ${WRKSRC}/doc/help/*html ${DOCSDIR}/help/ + @${INSTALL_DATA} ${PORTDOCS:S.^.${WRKSRC}/.} ${DOCSDIR}/ + @${INSTALL_MAN} ${WRKSRC}/doc/dopewars.6 ${MAN6PREFIX}/man/man6/ +.endif .include Index: dopewars/distinfo =================================================================== RCS file: /home/pcvs/ports/games/dopewars/distinfo,v retrieving revision 1.18 diff -u -r1.18 distinfo --- dopewars/distinfo 22 Jan 2006 11:18:05 -0000 1.18 +++ dopewars/distinfo 7 May 2006 23:36:10 -0000 @@ -1,3 +1,3 @@ -MD5 (dopewars-1.5.9.tar.gz) = 77cdbc59e7550cfda7dfb7f6b7a01050 -SHA256 (dopewars-1.5.9.tar.gz) = 5ef6a8192befaa742f2bae8f622d74d814850642eb62e5b4fcd635be98630444 -SIZE (dopewars-1.5.9.tar.gz) = 1181836 +MD5 (dopewars-1.5.12.tar.gz) = debf749de9053dc2fb2e74c37ae06206 +SHA256 (dopewars-1.5.12.tar.gz) = 23059dcdea96c6072b148ee21d76237ef3535e5be90b3b2d8239d150feee0c19 +SIZE (dopewars-1.5.12.tar.gz) = 1419725 Index: dopewars/pkg-descr =================================================================== RCS file: /home/pcvs/ports/games/dopewars/pkg-descr,v retrieving revision 1.3 diff -u -r1.3 pkg-descr --- dopewars/pkg-descr 19 Feb 2002 05:46:19 -0000 1.3 +++ dopewars/pkg-descr 7 May 2006 23:36:10 -0000 @@ -5,7 +5,7 @@ introduces new features such as the ability to take part in multi-player games. -WWW: http://bellatrix.pcl.ox.ac.uk/~ben/dopewars/ +WWW: http://dopewars.sourceforge.net/ - Pete petef@FreeBSD.org Index: dopewars/pkg-plist =================================================================== RCS file: /home/pcvs/ports/games/dopewars/pkg-plist,v retrieving revision 1.16 diff -u -r1.16 pkg-plist --- dopewars/pkg-plist 22 Jan 2006 02:10:59 -0000 1.16 +++ dopewars/pkg-plist 7 May 2006 23:36:10 -0000 @@ -1,46 +1,45 @@ -@comment $FreeBSD: ports/games/dopewars/pkg-plist,v 1.16 2006/01/22 02:10:59 edwin Exp $ bin/dopewars -%%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 -share/dopewars/die.wav -share/dopewars/gun.wav -share/dopewars/jet.wav -share/dopewars/losebitch.wav -share/dopewars/message.wav -share/dopewars/murmur.wav -share/dopewars/punch.wav -share/dopewars/run.wav -share/dopewars/shotdown.wav -share/dopewars/train.wav -@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 +%%PORTDOCS%%%%DOCSDIR%%/aiplayer.html +%%PORTDOCS%%%%DOCSDIR%%/clientplay.html +%%PORTDOCS%%%%DOCSDIR%%/commandline.html +%%PORTDOCS%%%%DOCSDIR%%/configfile.html +%%PORTDOCS%%%%DOCSDIR%%/contribute.html +%%PORTDOCS%%%%DOCSDIR%%/credits.html +%%PORTDOCS%%%%DOCSDIR%%/developer.html +%%PORTDOCS%%%%DOCSDIR%%/example-cfg +%%PORTDOCS%%%%DOCSDIR%%/example-igneous +%%PORTDOCS%%%%DOCSDIR%%/help/cops.html +%%PORTDOCS%%%%DOCSDIR%%/help/drugs.html +%%PORTDOCS%%%%DOCSDIR%%/help/general.html +%%PORTDOCS%%%%DOCSDIR%%/help/guns.html +%%PORTDOCS%%%%DOCSDIR%%/help/locations.html +%%PORTDOCS%%%%DOCSDIR%%/help/server.html +%%PORTDOCS%%%%DOCSDIR%%/help/sounds.html +%%PORTDOCS%%%%DOCSDIR%%/i18n.html +%%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/installation.html +%%PORTDOCS%%%%DOCSDIR%%/metaserver.html +%%PORTDOCS%%%%DOCSDIR%%/protocol.html +%%PORTDOCS%%%%DOCSDIR%%/server.html +%%PORTDOCS%%%%DOCSDIR%%/servercommands.html +%%PORTDOCS%%%%DOCSDIR%%/windows.html +%%DATADIR%%/dopewars.sco +%%DATADIR%%/bye.wav +%%DATADIR%%/colt.wav +%%DATADIR%%/die.wav +%%DATADIR%%/gun.wav +%%DATADIR%%/jet.wav +%%DATADIR%%/losebitch.wav +%%DATADIR%%/message.wav +%%DATADIR%%/murmur.wav +%%DATADIR%%/punch.wav +%%DATADIR%%/run.wav +%%DATADIR%%/shotdown.wav +%%DATADIR%%/train.wav +@unexec if [ ! -s %D/%%DATADIR%%/dopewars.sco.bak ]; then rm -f %D/%%DATADIR%%/dopewars.sco.bak; fi +%%DATADIR%%/pixmaps/dopewars-pill.png +%%DATADIR%%/pixmaps/dopewars-shot.png +%%DATADIR%%/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 @@ -51,7 +50,6 @@ @dirrmtry share/gnome/apps/Games @dirrmtry share/gnome/apps @dirrmtry share/gnome -@dirrm share/dopewars/pixmaps -@dirrm share/dopewars -%%PORTDOCS%%@dirrm share/doc/dopewars/help -%%PORTDOCS%%@dirrm share/doc/dopewars +@dirrm %%DATADIR%%/pixmaps +@dirrm %%DATADIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%%/help Index: dopewars/files/patch-doc::Makefile.in =================================================================== RCS file: dopewars/files/patch-doc::Makefile.in diff -N dopewars/files/patch-doc::Makefile.in --- dopewars/files/patch-doc::Makefile.in 4 Mar 2003 21:44:27 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,27 +0,0 @@ - -$FreeBSD: ports/games/dopewars/files/patch-doc::Makefile.in,v 1.5 2003/03/04 21:44:27 naddy Exp $ - ---- 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: -+ifndef NOPORTDOCS - ${INSTALL} -d -m 0755 ${DOCPATH} - for doc in ${DOCS}; do \ - ${INSTALL} -m 0644 ${srcdir}/$${doc} ${DOCPATH}; \ - done -+endif - - uninstall-local: - for doc in ${DOCS}; do \ Index: dopewars/files/patch-doc::help::Makefile.in =================================================================== RCS file: dopewars/files/patch-doc::help::Makefile.in diff -N dopewars/files/patch-doc::help::Makefile.in --- dopewars/files/patch-doc::help::Makefile.in 4 Mar 2003 21:44:27 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,14 +0,0 @@ - -$FreeBSD: ports/games/dopewars/files/patch-doc::help::Makefile.in,v 1.1 2003/03/04 21:44:27 naddy Exp $ - ---- 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 -