# Created by: Richard Neese PORTNAME= fusionpbx PORTVERSION= 4.4.1 CATEGORIES= www MAINTAINER= richard2891@gmail.com COMMENT= Web/PHP Interface for FreeSwitch 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 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