diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-08-03 03:19:25 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-08-03 03:19:25 +0000 |
commit | ee370c82bee3770fff90d93c3e98439c0d80b66d (patch) | |
tree | 50b42a4e99bcf063c7ea50c79365e630fc8d719b /games/dopewars/Makefile | |
parent | 5be56581a4daba56bcf667bf52e5bcc2cd9d1a97 (diff) | |
download | ports-ee370c82bee3770fff90d93c3e98439c0d80b66d.tar.gz ports-ee370c82bee3770fff90d93c3e98439c0d80b66d.zip |
o support NOPORTDOCS
o add missing manpage
o fix PLIST
o remove files/patch-aa
o add files/patch-doc::Makefile.in
PR: 29402
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=45755
Diffstat (limited to 'games/dopewars/Makefile')
-rw-r--r-- | games/dopewars/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/games/dopewars/Makefile b/games/dopewars/Makefile index 97e33309a885..1e72801cab66 100644 --- a/games/dopewars/Makefile +++ b/games/dopewars/Makefile @@ -20,7 +20,18 @@ USE_X_PREFIX= yes CONFIGURE_ARGS= --enable-nls -DOPEWARS= ${PKGNAME} -PLIST_SUB= DOPEWARS=${DOPEWARS} +.if defined(NOPORTDOCS) +MAKE_ENV+= NOPORTDOCS=yes +.endif + +PLIST_SUB= DOPEWARS=${PKGNAME} + +MAN6= dopewars.6 + +post-patch: + @${PERL} -pi -e 's!/pixmaps!/dopewars/pixmaps!' \ + ${WRKSRC}/src/Makefile.in + @${PERL} -pi -e 's!dopewars.sco!dopewars/dopewars.sco!g' \ + ${WRKSRC}/src/dopewars.c ${WRKSRC}/Makefile.in .include <bsd.port.mk> |