Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Apr 2017 19:48:09 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r438477 - in head/games/funnyboat: . files
Message-ID:  <201704131948.v3DJm9uT005284@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704131948.v3DJm9uT005284>