This isn't allowed on CURRENT any more and created copies of files where symlinks should have been preserved. Also makes patching files in bin unnecessary. Reported by: rozhuk.im@gmail.com
80 lines
1.9 KiB
Makefile
80 lines
1.9 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= phabricator
|
|
PORTVERSION= 20170630
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
PKGNAMEPREFIX= php-
|
|
|
|
MAINTAINER= grembo@FreeBSD.org
|
|
COMMENT= Open source, software engineering platform
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= php-libphutil>0:devel/libphutil \
|
|
php-arcanist>0:devel/arcanist \
|
|
git:devel/git
|
|
|
|
OPTIONS_DEFINE= GD OPCACHE
|
|
OPTIONS_DEFAULT=OPCACHE
|
|
OPCACHE_DESC?= Use OPcache to improve performance
|
|
|
|
USES= php shebangfix
|
|
SHEBANG_FILES= externals/httpful/build \
|
|
externals/restful/build-phar \
|
|
scripts/almanac/*.php \
|
|
scripts/cache/*.php \
|
|
scripts/celerity/*.php \
|
|
scripts/daemon/*.php \
|
|
scripts/diviner/*.php \
|
|
scripts/drydock/*.php \
|
|
scripts/fact/*.php \
|
|
scripts/files/*.php \
|
|
scripts/install/install_rhel-derivs.sh \
|
|
scripts/install/install_ubuntu.sh \
|
|
scripts/lipsum/*.php \
|
|
scripts/mail/*.php \
|
|
scripts/people/*.php \
|
|
scripts/repository/*.php \
|
|
scripts/search/*.php \
|
|
scripts/setup/*.php \
|
|
scripts/sms/*.php \
|
|
scripts/sql/*.php \
|
|
scripts/ssh/*.php \
|
|
scripts/symbols/*.php \
|
|
scripts/user/*.php \
|
|
scripts/util/*.php \
|
|
support/aphlict/server/*.php
|
|
USE_PHP= ctype curl fileinfo filter hash iconv mbstring mysqli openssl \
|
|
pcntl posix
|
|
|
|
GD_USE= PHP=gd
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PORT_OPTIONS:MOPCACHE}
|
|
USE_PHP+= opcache
|
|
. if ${PHP_VER} >= 70
|
|
RUN_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/apcu.so:devel/pecl-APCu
|
|
. else
|
|
RUN_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/apcu.so:devel/pecl-APCu4
|
|
. endif
|
|
.endif
|
|
|
|
USE_GITHUB= yes
|
|
NO_BUILD= yes
|
|
USE_RC_SUBR= phd
|
|
SUB_FILES= pkg-message
|
|
GH_ACCOUNT= phacility
|
|
GH_TAGNAME= 83266e8
|
|
|
|
PHP_DESTDIR= lib/php/phabricator
|
|
|
|
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.post.mk>
|