aboutsummaryrefslogtreecommitdiff
path: root/games/powder
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-07-12 15:01:45 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-07-12 15:01:45 +0000
commitdaffe00d4a57c0ef6a21947a8121b8d233d8d3a5 (patch)
tree713942325bda393305edb21d46cd7f38d213aebc /games/powder
parent51498efaebaad1106dcf0d3f70c8feaa14c411ee (diff)
downloadports-daffe00d4a57c0ef6a21947a8121b8d233d8d3a5.tar.gz
ports-daffe00d4a57c0ef6a21947a8121b8d233d8d3a5.zip
Notes
Diffstat (limited to 'games/powder')
-rw-r--r--games/powder/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/games/powder/Makefile b/games/powder/Makefile
index 8f93e5a12f6f..db2731695d8b 100644
--- a/games/powder/Makefile
+++ b/games/powder/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: powder
-# Date created: 29 Dec 2008
-# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
-#
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= powder
PORTVERSION= 115
@@ -26,6 +22,8 @@ PLIST_FILES= bin/powder
PORTDOCS= README.TXT LICENSE.TXT CREDITS.TXT
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|bin/bash|bin/sh|' \
${WRKSRC}/rooms/buildrooms.bash \
@@ -35,7 +33,7 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/powder ${PREFIX}/bin/
-.if !defined(NOPORTDOCS)
+if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}