aboutsummaryrefslogtreecommitdiff
path: root/games/pipewalker/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/pipewalker/Makefile')
-rw-r--r--games/pipewalker/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/games/pipewalker/Makefile b/games/pipewalker/Makefile
index ba6975fad8e1..2539aaae8faa 100644
--- a/games/pipewalker/Makefile
+++ b/games/pipewalker/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: pipewalker
-# Date created: 11 Aug 2009
-# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
-#
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= pipewalker
PORTVERSION= 0.8.3
@@ -25,13 +21,15 @@ LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
PORTDOCS= *
+.include <bsd.port.options.mk>
+
post-patch:
@${CHMOD} a+x ${WRKSRC}/install-sh
@${REINPLACE_CMD} -e 's|(datadir)/games|(datadir)|' \
${WRKSRC}/data/Makefile.in ${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e '/^install-data-am/ s|install-pkgmenudataDATA||' \
${WRKSRC}/extra/Makefile.in
-.if defined(NOPORTDOCS)
+.if ! ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e '/^install-data-am/ s|install-pkgdocdataDATA||' \
${WRKSRC}/Makefile.in
.endif