aboutsummaryrefslogtreecommitdiff
path: root/games/dopewars/Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-08-03 03:19:25 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-08-03 03:19:25 +0000
commitee370c82bee3770fff90d93c3e98439c0d80b66d (patch)
tree50b42a4e99bcf063c7ea50c79365e630fc8d719b /games/dopewars/Makefile
parent5be56581a4daba56bcf667bf52e5bcc2cd9d1a97 (diff)
downloadports-ee370c82bee3770fff90d93c3e98439c0d80b66d.tar.gz
ports-ee370c82bee3770fff90d93c3e98439c0d80b66d.zip
Notes
Diffstat (limited to 'games/dopewars/Makefile')
-rw-r--r--games/dopewars/Makefile15
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>