blob: 0f0a129716af5ee0e3c61954583e0138c83b1dcb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# $FreeBSD$
PORTNAME= phabricator
PORTVERSION= 20151220
CATEGORIES= devel
PKGNAMEPREFIX= php5-
MAINTAINER= grembo@FreeBSD.org
COMMENT= Open source, software engineering platform
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= php5-libphutil>0:${PORTSDIR}/devel/libphutil \
php5-arcanist>0:${PORTSDIR}/devel/arcanist \
git:${PORTSDIR}/devel/git
OPTIONS_DEFINE= GD OPCACHE
OPTIONS_DEFAULT=OPCACHE
OPCACHE_DESC?= Use OPcache/APCu (APC on PHP < 5.5) to improve performance
USES= shebangfix
SHEBANG_FILES= externals/httpful/build \
externals/restful/build-phar \
scripts/install/install_rhel-derivs.sh \
scripts/install/install_ubuntu.sh
USE_PHP= ctype curl fileinfo hash iconv filter mbstring mysql openssl \
pcntl posix
GD_USE= PHP=gd
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MOPCACHE}
. if ${PHP_EXT_DIR:C|[^0-9]||g} >= 20121212
USE_PHP+= opcache
RUN_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/apcu.so:${PORTSDIR}/devel/pecl-APCu
. else
USE_PHP+= apc
. endif
.endif
USE_GITHUB= yes
NO_BUILD= yes
USE_RC_SUBR= phd
SUB_FILES= pkg-message
GH_ACCOUNT= phacility
GH_TAGNAME= 006321c
PHP_DESTDIR= lib/php/phabricator
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}
cd ${WRKSRC} ; ${PAX} -rw * ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}
.include <bsd.port.post.mk>
|