- Remove USE_PHP=hash which is available in default php installation of all versions of php * security/pear-Horde_Crypt_Blowfish: Remove OPTION MHASH - Remove USE_PHP=json which is available in default php installation of all versions of php * devel/pear-PHPTAL: Remove OPTION JSON * www/ilias: Remove OPTION SCORM2004 - Remove USE_PHP=mssql which is no longer available in php from php80 and later and has been replaced with sqlsrv module which is Windows only * www/codeigniter: Remove OPTION MSSQL * www/moodle311: Remove OPTION MSSQL * www/moodle39: Remove OPTION MSSQL * www/moodle40: Remove OPTION MSSQL * www/moodle41: Remove OPTION MSSQL - Remove USE_PHP=openssl which is available in default php installation of all versions of php * databases/phpmyadmin: Remove OPTION OPENSSL * databases/phpmyadmin5: Remove OPTION OPENSSL * security/pear-Horde_Crypt_Blowfish: Remove OPTION OPENSSL * www/nextcloud: Remove OPTION SSL * www/owncloud: Remove OPTION SSL - Remove USE_PHP=pcre which is available in default php installation of all versions of php * sysutils/racktables: Remove OPTION PCRE - Remove USE_PHP=postgresql which should be USE_PHP=pgsql and update following ports * www/typo3-11 * www/typo3-12 - Remove USE_PHP=pdf which is no longer available as php module * databases/phpmyadmin: Remove OPTION PDF - Remove USE_PHP=spl which is available in default php installation of all versions of php - Remove USE_PHP=sqlsrv which was never imported into FreeBSD as that is Windows only php module * www/typo3-11: Remove OPTION SQLSRV * www/typo3-12: Remove OPTION SQLSRV - Bump where DEFAULT OPTIONS are affected Sponsored by: Bounce Experts Approved by: portmgr(blanket)
90 lines
2.5 KiB
Makefile
90 lines
2.5 KiB
Makefile
PORTNAME= phabricator
|
|
PORTVERSION= 20211218
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
|
|
|
|
MAINTAINER= grembo@FreeBSD.org
|
|
COMMENT= Open source, software engineering platform
|
|
WWW= https://www.phacility.com/phabricator/
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= arcanist-lib${PHP_PKGNAMESUFFIX}>=20210113_4:devel/arcanist-lib@${PHP_FLAVOR} \
|
|
git:devel/git
|
|
|
|
USES= cpe php:cli,flavors shebangfix
|
|
CPE_VENDOR= phacility
|
|
|
|
SHEBANG_FILES= resources/timezones/*.php \
|
|
scripts/*.php \
|
|
scripts/almanac/*.php \
|
|
scripts/cache/*.php \
|
|
scripts/celerity/*.php \
|
|
scripts/daemon/*.php \
|
|
scripts/daemon/exec/exec_daemon.php \
|
|
scripts/diviner/*.php \
|
|
scripts/drydock/*.php \
|
|
scripts/fact/*.php \
|
|
scripts/files/*.php \
|
|
scripts/lipsum/*.php \
|
|
scripts/mail/*.php \
|
|
scripts/repository/*.php \
|
|
scripts/search/*.php \
|
|
scripts/setup/*.php \
|
|
scripts/ssh/*.php \
|
|
scripts/sql/*.php \
|
|
scripts/ssh/*.php \
|
|
scripts/symbols/*.php \
|
|
scripts/util/*.php \
|
|
support/aphlict/server/*.php
|
|
|
|
USE_PHP= ctype curl fileinfo filter iconv mbstring mysqli \
|
|
pcntl posix zip
|
|
|
|
OPTIONS_DEFINE= GD OPCACHE
|
|
OPTIONS_DEFAULT=GD OPCACHE
|
|
OPCACHE_DESC?= Use OPcache to improve performance
|
|
|
|
GD_USE= PHP=gd
|
|
|
|
OPCACHE_RUN_DEPENDS= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/apcu.so:devel/pecl-APCu@${PHP_FLAVOR}
|
|
OPCACHE_USE= PHP=opcache
|
|
|
|
USE_GITHUB= yes
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
USE_RC_SUBR= phd
|
|
SUB_FILES= pkg-message
|
|
PORTSCOUT= ignore:1
|
|
GH_ACCOUNT= phacility
|
|
GH_TAGNAME= dec9522
|
|
|
|
PHP_DESTDIR= lib/php/phabricator
|
|
|
|
post-patch:
|
|
@${SED} 's|%%LOCALBASE%%|${LOCALBASE}|g' \
|
|
${FILESDIR}/phabricator-sudoers.sample > ${WRKSRC}/resources/sshd/phabricator-sudoers.sample
|
|
@${REINPLACE_CMD} \
|
|
's|/path/to/phabricator|${LOCALBASE}/lib/php/phabricator|g; \
|
|
s|vcs-user|git|g' \
|
|
${WRKSRC}/resources/sshd/phabricator-ssh-hook.sh
|
|
@${REINPLACE_CMD} \
|
|
's|/usr/libexec/phabricator-ssh-hook.sh|${LOCALBASE}/lib/php/phabricator/resources/sshd/phabricator-ssh-hook.sh|; \
|
|
s|vcs-user|git|g; \
|
|
s|PrintLastLog no||g; \
|
|
s|PidFile /var/run/sshd-phabricator.pid||g' \
|
|
${WRKSRC}/resources/sshd/sshd_config.phabricator.example
|
|
@${REINPLACE_CMD} \
|
|
's|%%PHP_CMD%%|${PREFIX}/bin/php|g' \
|
|
${WRKSRC}/scripts/celerity/install_merge.sh \
|
|
${WRKSRC}/src/infrastructure/testing/fixture/PhabricatorStorageFixtureScopeGuard.php
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/conf/local
|
|
${INSTALL_DATA} ${FILESDIR}/local.json.sample \
|
|
${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/conf/local
|
|
cd ${WRKSRC} ; ${PAX} -rw * ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}
|
|
|
|
.include <bsd.port.mk>
|