blob: 7053967848ac65ad0fe1dbf5861c2b551a44b3a0 (
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
|
PORTNAME= fusionpbx
PORTVERSION= 4.4.1
CATEGORIES= www
MAINTAINER= richard2891@gmail.com
COMMENT= Web/PHP Interface for FreeSwitch
WWW= https://www.fusionpbx.com
LICENSE= MPL11
LIB_DEPENDS= libodbc.so:databases/unixODBC
RUN_DEPENDS= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/pdo_odbc.so:databases/php${PHP_VER}-pdo_odbc \
${LOCALBASE}/bin/freeswitch:net/freeswitch \
${LOCALBASE}/bin/memcached:databases/memcached
USES= cpe sqlite php fakeroot
USE_PHP= phar pdo pdo_odbc pdo_sqlite json gd imap \
ldap openssl sockets simplexml xml session odbc
USE_GITHUB= yes
VARBASE= var
NO_BUILD= yes
OPTIONS_DEFINE= PDOPGSQL
OPTIONS_DEFAULT= PDOPGSQL
PDOPGSQL_DESC= Install POSTGRESQL PDO Connector
PDOPGSQL_USES= pgsql
PDOPGSQL_USE= PHP=pgsql,pdo_pgsql
.include <bsd.port.options.mk>
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
@${MKDIR} ${STAGEDIR}/${VARBASE}/db/fusionpbx
@${MKDIR} ${STAGEDIR}/${VARBASE}/cache/fusionpbx
@${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}/secure
.include <bsd.port.mk>
|