diff options
author | lioux <lioux@FreeBSD.org> | 2001-08-03 11:19:25 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2001-08-03 11:19:25 +0800 |
commit | 7e6cc56c9a7cca634ee483ed6bfcc37391720322 (patch) | |
tree | 38bca715d3a9a3f34ace134ba27116c39b7d2b78 /games/dopewars/Makefile | |
parent | dfe89397b025b82d05e304dc47691640d565bfda (diff) | |
download | freebsd-ports-gnome-7e6cc56c9a7cca634ee483ed6bfcc37391720322.tar.gz freebsd-ports-gnome-7e6cc56c9a7cca634ee483ed6bfcc37391720322.tar.zst freebsd-ports-gnome-7e6cc56c9a7cca634ee483ed6bfcc37391720322.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
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> |