svn commit: r438477 - in head/games/funnyboat: . files

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Apr 13 19:48:10 UTC 2017


Author: amdmi3
Date: Thu Apr 13 19:48:09 2017
New Revision: 438477
URL: https://svnweb.freebsd.org/changeset/ports/438477

Log:
  - Fix shebangs
  - Switch to options helpers

Modified:
  head/games/funnyboat/Makefile
  head/games/funnyboat/files/funnyboat_.in

Modified: head/games/funnyboat/Makefile
==============================================================================
--- head/games/funnyboat/Makefile	Thu Apr 13 19:47:41 2017	(r438476)
+++ head/games/funnyboat/Makefile	Thu Apr 13 19:48:09 2017	(r438477)
@@ -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>

Modified: head/games/funnyboat/files/funnyboat_.in
==============================================================================
--- head/games/funnyboat/files/funnyboat_.in	Thu Apr 13 19:47:41 2017	(r438476)
+++ head/games/funnyboat/files/funnyboat_.in	Thu Apr 13 19:48:09 2017	(r438477)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!%%PYTHON_CMD%%
 
 import sys
 import os.path


More information about the svn-ports-head mailing list