Phabricator doesn't support PHP-7.0. Works fine with other versions in tree.diff -r1.9 -r1.10 pkgsrc/devel/arcanist/Makefile
(roy)
@@ -1,27 +1,29 @@ | @@ -1,27 +1,29 @@ | |||
1 | # $NetBSD: Makefile,v 1.9 2017/06/23 14:05:19 roy Exp $ | 1 | # $NetBSD: Makefile,v 1.10 2017/06/27 10:35:46 roy Exp $ | |
2 | 2 | |||
3 | DISTNAME= arcanist-20170609 | 3 | DISTNAME= arcanist-20170609 | |
4 | CATEGORIES= devel | 4 | CATEGORIES= devel | |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=phacility/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=phacility/} | |
6 | # Track the stable branch | 6 | # Track the stable branch | |
7 | GITHUB_PROJECT= arcanist | 7 | GITHUB_PROJECT= arcanist | |
8 | GITHUB_TAG= 0c53a35d30e924f902510eb2e497ae5934209304 | 8 | GITHUB_TAG= 0c53a35d30e924f902510eb2e497ae5934209304 | |
9 | 9 | |||
10 | MAINTAINER= roy@NetBSD.org | 10 | MAINTAINER= roy@NetBSD.org | |
11 | HOMEPAGE= https://github.com/phacility/arcanist/ | 11 | HOMEPAGE= https://github.com/phacility/arcanist/ | |
12 | COMMENT= Command line interface for Phabricator | 12 | COMMENT= Command line interface for Phabricator | |
13 | LICENSE= apache-2.0 | 13 | LICENSE= apache-2.0 | |
14 | 14 | |||
15 | PHP_VERSIONS_INCOMPATIBLE= 70 | |||
16 | ||||
15 | EXTRACT_USING= bsdtar | 17 | EXTRACT_USING= bsdtar | |
16 | USE_TOOLS+= bsdtar pax | 18 | USE_TOOLS+= bsdtar pax | |
17 | 19 | |||
18 | DEPENDS+= ${PHP_PKG_PREFIX}-curl-[0-9]*:../../www/php-curl | 20 | DEPENDS+= ${PHP_PKG_PREFIX}-curl-[0-9]*:../../www/php-curl | |
19 | DEPENDS+= ${PHP_PKG_PREFIX}-json-[0-9]*:../../textproc/php-json | 21 | DEPENDS+= ${PHP_PKG_PREFIX}-json-[0-9]*:../../textproc/php-json | |
20 | DEPENDS+= libphutil-[0-9]*:../../devel/libphutil | 22 | DEPENDS+= libphutil-[0-9]*:../../devel/libphutil | |
21 | 23 | |||
22 | CONFLICTS+= arc-[0-9]*:../../archivers/arc | 24 | CONFLICTS+= arc-[0-9]*:../../archivers/arc | |
23 | 25 | |||
24 | SUBST_CLASSES+= php | 26 | SUBST_CLASSES+= php | |
25 | SUBST_MESSAGE.php= Fixing PHP path | 27 | SUBST_MESSAGE.php= Fixing PHP path | |
26 | SUBST_STAGE.php= post-configure | 28 | SUBST_STAGE.php= post-configure | |
27 | SUBST_FILES.php= scripts/arcanist.php | 29 | SUBST_FILES.php= scripts/arcanist.php |
@@ -1,27 +1,29 @@ | @@ -1,27 +1,29 @@ | |||
1 | # $NetBSD: Makefile,v 1.5 2017/06/23 14:05:19 roy Exp $ | 1 | # $NetBSD: Makefile,v 1.6 2017/06/27 10:35:46 roy Exp $ | |
2 | 2 | |||
3 | DISTNAME= libphutil-20170609 | 3 | DISTNAME= libphutil-20170609 | |
4 | CATEGORIES= devel | 4 | CATEGORIES= devel | |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=phacility/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=phacility/} | |
6 | # Track the stable branch | 6 | # Track the stable branch | |
7 | GITHUB_PROJECT= libphutil | 7 | GITHUB_PROJECT= libphutil | |
8 | GITHUB_TAG= 612619d0040b5e13c4e068dce443217abbc10a00 | 8 | GITHUB_TAG= 612619d0040b5e13c4e068dce443217abbc10a00 | |
9 | 9 | |||
10 | MAINTAINER= roy@NetBSD.org | 10 | MAINTAINER= roy@NetBSD.org | |
11 | HOMEPAGE= https://github.com/phacility/libphutil/ | 11 | HOMEPAGE= https://github.com/phacility/libphutil/ | |
12 | COMMENT= Collection of utility classes and functions for PHP | 12 | COMMENT= Collection of utility classes and functions for PHP | |
13 | LICENSE= apache-2.0 | 13 | LICENSE= apache-2.0 | |
14 | 14 | |||
15 | PHP_VERSIONS_INCOMPATIBLE= 70 | |||
16 | ||||
15 | EXTRACT_USING= bsdtar | 17 | EXTRACT_USING= bsdtar | |
16 | USE_TOOLS+= bsdtar pax | 18 | USE_TOOLS+= bsdtar pax | |
17 | 19 | |||
18 | SUBST_CLASSES+= php | 20 | SUBST_CLASSES+= php | |
19 | SUBST_MESSAGE.php= Fixing PHP path | 21 | SUBST_MESSAGE.php= Fixing PHP path | |
20 | SUBST_STAGE.php= post-configure | 22 | SUBST_STAGE.php= post-configure | |
21 | SUBST_FILES.php= scripts/build_xhpast.php | 23 | SUBST_FILES.php= scripts/build_xhpast.php | |
22 | SUBST_FILES.php+= scripts/daemon/exec/exec_daemon.php | 24 | SUBST_FILES.php+= scripts/daemon/exec/exec_daemon.php | |
23 | SUBST_FILES.php+= scripts/daemon/launch_daemon.php | 25 | SUBST_FILES.php+= scripts/daemon/launch_daemon.php | |
24 | SUBST_FILES.php+= scripts/daemon/torture/resist-death.php | 26 | SUBST_FILES.php+= scripts/daemon/torture/resist-death.php | |
25 | SUBST_FILES.php+= scripts/example/calculator.php | 27 | SUBST_FILES.php+= scripts/example/calculator.php | |
26 | SUBST_FILES.php+= scripts/example/subworkflow.php | 28 | SUBST_FILES.php+= scripts/example/subworkflow.php | |
27 | SUBST_FILES.php+= scripts/format_log.php | 29 | SUBST_FILES.php+= scripts/format_log.php |
@@ -1,27 +1,29 @@ | @@ -1,27 +1,29 @@ | |||
1 | # $NetBSD: Makefile,v 1.9 2017/06/23 14:05:19 roy Exp $ | 1 | # $NetBSD: Makefile,v 1.10 2017/06/27 10:35:46 roy Exp $ | |
2 | 2 | |||
3 | DISTNAME= phabricator-20170609 | 3 | DISTNAME= phabricator-20170609 | |
4 | CATEGORIES= devel | 4 | CATEGORIES= devel | |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=phacility/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=phacility/} | |
6 | # Track the stable branch | 6 | # Track the stable branch | |
7 | GITHUB_PROJECT= phabricator | 7 | GITHUB_PROJECT= phabricator | |
8 | GITHUB_TAG= 5885704800a97aadf47aee5654ff2647b40fb4ad | 8 | GITHUB_TAG= 5885704800a97aadf47aee5654ff2647b40fb4ad | |
9 | 9 | |||
10 | MAINTAINER= roy@NetBSD.org | 10 | MAINTAINER= roy@NetBSD.org | |
11 | HOMEPAGE= http://phabricator.com/ | 11 | HOMEPAGE= http://phabricator.com/ | |
12 | COMMENT= Open software engineering platform | 12 | COMMENT= Open software engineering platform | |
13 | LICENSE= apache-2.0 | 13 | LICENSE= apache-2.0 | |
14 | 14 | |||
15 | PHP_VERSIONS_INCOMPATIBLE= 70 | |||
16 | ||||
15 | USE_TOOLS+= pax bash:run | 17 | USE_TOOLS+= pax bash:run | |
16 | EXTRACT_USING= bsdtar | 18 | EXTRACT_USING= bsdtar | |
17 | 19 | |||
18 | DEPENDS+= ${PHP_PKG_PREFIX}-curl-[0-9]*:../../www/php-curl | 20 | DEPENDS+= ${PHP_PKG_PREFIX}-curl-[0-9]*:../../www/php-curl | |
19 | DEPENDS+= ${PHP_PKG_PREFIX}-mbstring-[0-9]*:../../converters/php-mbstring | 21 | DEPENDS+= ${PHP_PKG_PREFIX}-mbstring-[0-9]*:../../converters/php-mbstring | |
20 | DEPENDS+= ${PHP_PKG_PREFIX}-iconv-[0-9]*:../../converters/php-iconv | 22 | DEPENDS+= ${PHP_PKG_PREFIX}-iconv-[0-9]*:../../converters/php-iconv | |
21 | DEPENDS+= ${PHP_PKG_PREFIX}-mysqli-[0-9]*:../../databases/php-mysqli | 23 | DEPENDS+= ${PHP_PKG_PREFIX}-mysqli-[0-9]*:../../databases/php-mysqli | |
22 | DEPENDS+= ${PHP_PKG_PREFIX}-pcntl-[0-9]*:../../devel/php-pcntl | 24 | DEPENDS+= ${PHP_PKG_PREFIX}-pcntl-[0-9]*:../../devel/php-pcntl | |
23 | DEPENDS+= ${PHP_PKG_PREFIX}-posix-[0-9]*:../../devel/php-posix | 25 | DEPENDS+= ${PHP_PKG_PREFIX}-posix-[0-9]*:../../devel/php-posix | |
24 | DEPENDS+= ${PHP_PKG_PREFIX}-gd-[0-9]*:../../graphics/php-gd | 26 | DEPENDS+= ${PHP_PKG_PREFIX}-gd-[0-9]*:../../graphics/php-gd | |
25 | DEPENDS+= ${PHP_PKG_PREFIX}-zlib-[0-9]*:../../archivers/php-zlib | 27 | DEPENDS+= ${PHP_PKG_PREFIX}-zlib-[0-9]*:../../archivers/php-zlib | |
26 | DEPENDS+= ${PHP_PKG_PREFIX}-opcache-[0-9]*:../../devel/php-opcache | 28 | DEPENDS+= ${PHP_PKG_PREFIX}-opcache-[0-9]*:../../devel/php-opcache | |
27 | DEPENDS+= ${PHP_PKG_PREFIX}-apcu-[0-9]*:../../www/php-apcu | 29 | DEPENDS+= ${PHP_PKG_PREFIX}-apcu-[0-9]*:../../www/php-apcu | |
@@ -68,28 +70,26 @@ REPLACE_BASH+= scripts/install/install_ | @@ -68,28 +70,26 @@ REPLACE_BASH+= scripts/install/install_ | |||
68 | NO_BUILD= yes | 70 | NO_BUILD= yes | |
69 | 71 | |||
70 | RCD_SCRIPTS= phd | 72 | RCD_SCRIPTS= phd | |
71 | 73 | |||
72 | PHABRICATOR_DIR= share/phabricator | 74 | PHABRICATOR_DIR= share/phabricator | |
73 | 75 | |||
74 | INSTALLATION_DIRS+= ${PHABRICATOR_DIR} | 76 | INSTALLATION_DIRS+= ${PHABRICATOR_DIR} | |
75 | 77 | |||
76 | CHECK_INTERPRETER_SKIP+=${PHABRICATOR_DIR}/externals/wordlist/password.lst | 78 | CHECK_INTERPRETER_SKIP+=${PHABRICATOR_DIR}/externals/wordlist/password.lst | |
77 | 79 | |||
78 | CHMOD_FILES= conf LICENSE NOTICE README.md externals resources src \ | 80 | CHMOD_FILES= conf LICENSE NOTICE README.md externals resources src \ | |
79 | support webroot scripts/__init_script__.php scripts/fpm/warmup.php | 81 | support webroot scripts/__init_script__.php scripts/fpm/warmup.php | |
80 | 82 | |||
81 | PHP_VERSIONS_ACCEPTED= 71 | |||
82 | ||||
83 | post-extract: | 83 | post-extract: | |
84 | cd ${WRKSRC} && \ | 84 | cd ${WRKSRC} && \ | |
85 | ${FIND} ${CHMOD_FILES} -type f \ | 85 | ${FIND} ${CHMOD_FILES} -type f \ | |
86 | \! -name aphlict_launcher.php \ | 86 | \! -name aphlict_launcher.php \ | |
87 | -exec ${CHMOD} -x \{\} \; | 87 | -exec ${CHMOD} -x \{\} \; | |
88 | 88 | |||
89 | do-install: | 89 | do-install: | |
90 | cd ${WRKSRC} && \ | 90 | cd ${WRKSRC} && \ | |
91 | ${PAX} -rw * -s',.*\.orig$$,,' \ | 91 | ${PAX} -rw * -s',.*\.orig$$,,' \ | |
92 | ${DESTDIR}${PREFIX}/${PHABRICATOR_DIR} | 92 | ${DESTDIR}${PREFIX}/${PHABRICATOR_DIR} | |
93 | 93 | |||
94 | .include "../../lang/php/phpversion.mk" | 94 | .include "../../lang/php/phpversion.mk" | |
95 | .include "../../mk/bsd.pkg.mk" | 95 | .include "../../mk/bsd.pkg.mk" |