From owner-svn-ports-all@freebsd.org Sun Jul 2 20:50:09 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 B67C8DACC34; Sun, 2 Jul 2017 20:50:09 +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 8574976044; Sun, 2 Jul 2017 20:50:09 +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 v62Ko8fv096804; Sun, 2 Jul 2017 20:50:08 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v62Ko8OI096802; Sun, 2 Jul 2017 20:50:08 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201707022050.v62Ko8OI096802@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sun, 2 Jul 2017 20:50:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r444900 - head/devel/phpbt X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/devel/phpbt X-SVN-Commit-Revision: 444900 X-SVN-Commit-Repository: ports 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: Sun, 02 Jul 2017 20:50:09 -0000 Author: amdmi3 Date: Sun Jul 2 20:50:08 2017 New Revision: 444900 URL: https://svnweb.freebsd.org/changeset/ports/444900 Log: - Optionize gnats support (and python requirement) Modified: head/devel/phpbt/Makefile head/devel/phpbt/pkg-plist Modified: head/devel/phpbt/Makefile ============================================================================== --- head/devel/phpbt/Makefile Sun Jul 2 17:36:15 2017 (r444899) +++ head/devel/phpbt/Makefile Sun Jul 2 20:50:08 2017 (r444900) @@ -3,7 +3,7 @@ PORTNAME= phpbt PORTVERSION= 1.0.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel MASTER_SITES= SF @@ -19,7 +19,6 @@ RUN_DEPENDS= ${LOCALBASE}/share/pear/DB.php:databases/ USE_PHP= ctype pcre posix session tokenizer xml zlib .endif -USES= shebangfix SHEBANG_FILES= contrib/gnats-to-phpbt.py NO_BUILD= yes NO_ARCH= yes @@ -28,8 +27,18 @@ PLIST_SUB= PHPBT=${PHPBT} WWWOWN="${WWWOWN}" WWWGRP="$ SUB_FILES= pkg-message SUB_LIST= PHPBT=${PHPBT} +OPTIONS_DEFINE= GNATS +OPTIONS_DEFAULT=GNATS +OPTIONS_SUB= yes + +GNATS_DESC= Install script to convert entries from GNATS +GNATS_USES= python:run shebangfix + +post-extract-GNATS-off: + @${RM} ${WRKSRC}/contrib/gnats-to-phpbt.py + do-install: - -${MKDIR} ${STAGEDIR}${PREFIX}/${PHPBT} + @${MKDIR} ${STAGEDIR}${PREFIX}/${PHPBT} @(cd ${WRKSRC} && ${CP} -R * ${STAGEDIR}${PREFIX}/${PHPBT}) .include Modified: head/devel/phpbt/pkg-plist ============================================================================== --- head/devel/phpbt/pkg-plist Sun Jul 2 17:36:15 2017 (r444899) +++ head/devel/phpbt/pkg-plist Sun Jul 2 20:50:08 2017 (r444900) @@ -22,7 +22,7 @@ %%PHPBT%%/config-dist.php %%PHPBT%%/config.php %%PHPBT%%/contrib/.htaccess -%%PHPBT%%/contrib/gnats-to-phpbt.py +%%GNATS%%%%PHPBT%%/contrib/gnats-to-phpbt.py %%PHPBT%%/docs/html/adminguide.html %%PHPBT%%/docs/html/bugdetail.html %%PHPBT%%/docs/html/bugsearch.html