aboutsummaryrefslogtreecommitdiffstats
path: root/games/rezerwar/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/rezerwar/Makefile')
-rw-r--r--games/rezerwar/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/games/rezerwar/Makefile b/games/rezerwar/Makefile
index 0fe68ce9f798..d06dc78503c4 100644
--- a/games/rezerwar/Makefile
+++ b/games/rezerwar/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: rezerwar
-# Date created: 09 Jul 2009
-# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
-#
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= rezerwar
PORTVERSION= 0.4.2
@@ -26,7 +22,9 @@ CONFIGURE_ENV= TARGET_BIN=${PREFIX}/bin \
PORTDOCS= *
-.if defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ! ${PORT_OPTIONS:MDOCS}
post-patch:
@${REINPLACE_CMD} -e '/TARGET_DOC/ d' ${WRKSRC}/mkfiles/Makefile.main
.endif