svn commit: r444900 - head/devel/phpbt
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Jul 2 20:50:09 UTC 2017
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 <bsd.port.mk>
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
More information about the svn-ports-all
mailing list