From owner-svn-ports-all@freebsd.org Thu Apr 13 19:48:10 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 95CD2D3C4E0; Thu, 13 Apr 2017 19:48:10 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 677A1A00; Thu, 13 Apr 2017 19:48:10 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v3DJm9ln005286; Thu, 13 Apr 2017 19:48:09 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3DJm9uT005284; Thu, 13 Apr 2017 19:48:09 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201704131948.v3DJm9uT005284@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 13 Apr 2017 19:48:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r438477 - in head/games/funnyboat: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Apr 2017 19:48:10 -0000 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 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