aboutsummaryrefslogtreecommitdiff
path: root/games/dodgindiamond2
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-03 23:27:49 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-03 23:27:49 +0000
commit0d763781ed7e3dd126be0004e12abe5198336d91 (patch)
treee7d95d834917f67398c73adb4e273ae1fb7c5187 /games/dodgindiamond2
parente881a1cd749081172267ebf8af3197378b247ccf (diff)
downloadports-0d763781ed7e3dd126be0004e12abe5198336d91.tar.gz
ports-0d763781ed7e3dd126be0004e12abe5198336d91.zip
Notes
Diffstat (limited to 'games/dodgindiamond2')
-rw-r--r--games/dodgindiamond2/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/dodgindiamond2/Makefile b/games/dodgindiamond2/Makefile
index 8b147c1e093a..3b7a25513a7d 100644
--- a/games/dodgindiamond2/Makefile
+++ b/games/dodgindiamond2/Makefile
@@ -15,9 +15,13 @@ USE_SDL= sdl image mixer
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var/games
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|COPYING||g' ${WRKSRC}/Makefile.in
-.if defined(NOPORTDOCS)
+.if empty(PORT_OPTIONS:MDOCS)
@${REINPLACE_CMD} '/install-data-am:/s/install-docsDATA//' \
${WRKSRC}/Makefile.in
.endif