diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2006-05-08 07:53:48 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2006-05-08 07:53:48 +0000 |
commit | 0158f69d3dea3413b17826b2a8e3506ccf982fdb (patch) | |
tree | 2a305525c2051cf2b0693e7d47e2ccccefe77ac1 /games/dopewars/Makefile | |
parent | e120b50c21c229bfbf8202ce6b6f1065f990d3e0 (diff) | |
download | ports-0158f69d3dea3413b17826b2a8e3506ccf982fdb.tar.gz ports-0158f69d3dea3413b17826b2a8e3506ccf982fdb.zip |
Notes
Diffstat (limited to 'games/dopewars/Makefile')
-rw-r--r-- | games/dopewars/Makefile | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/games/dopewars/Makefile b/games/dopewars/Makefile index b591ef3b96e5..9ce9ff9b37f9 100644 --- a/games/dopewars/Makefile +++ b/games/dopewars/Makefile @@ -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 @@ -22,23 +21,28 @@ GNU_CONFIGURE= yes USE_GNOME= gtk12 USE_X_PREFIX= 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 <bsd.port.mk> |