summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-04-13 19:48:09 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-04-13 19:48:09 +0000
commitb991f046ce973310edaaeef699ef8a944b001bff (patch)
treea2445e6ca3b62207cc6405b21ac43c2c74277bee
parent- Fix shebangs (diff)
- Fix shebangs
- Switch to options helpers
-rw-r--r--games/funnyboat/Makefile10
-rw-r--r--games/funnyboat/files/funnyboat_.in2
2 files changed, 7 insertions, 5 deletions
diff --git a/games/funnyboat/Makefile b/games/funnyboat/Makefile
index 2bf073061774..10f27de7247a 100644
--- a/games/funnyboat/Makefile
+++ b/games/funnyboat/Makefile
@@ -3,7 +3,7 @@
PORTNAME= funnyboat
PORTVERSION= 1.5
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= games
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
@@ -25,16 +25,18 @@ NO_BUILD= yes
NO_ARCH= yes
SUB_FILES= funnyboat_
-SUB_LIST= PROGRAM_DIR="${PREFIX}/lib/${PORTNAME}"
+SUB_LIST= PROGRAM_DIR="${PREFIX}/lib/${PORTNAME}" PYTHON_CMD="${PYTHON_CMD}"
PORTDOCS= *
OPTIONS_DEFINE= DOCS
do-install:
- cd ${WRKSRC} && ${COPYTREE_SHARE} "*.py data" ${STAGEDIR}${PREFIX}/lib/${PORTNAME}
+ @cd ${WRKSRC} && ${COPYTREE_SHARE} "*.py data" ${STAGEDIR}${PREFIX}/lib/${PORTNAME}
${INSTALL_SCRIPT} ${WRKDIR}/funnyboat_ ${STAGEDIR}${PREFIX}/bin/funnyboat
- ${MKDIR} ${STAGEDIR}${DOCSDIR}/
+
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
diff --git a/games/funnyboat/files/funnyboat_.in b/games/funnyboat/files/funnyboat_.in
index 647c03a8c75e..05d19341b969 100644
--- a/games/funnyboat/files/funnyboat_.in
+++ b/games/funnyboat/files/funnyboat_.in
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!%%PYTHON_CMD%%
import sys
import os.path