forked from Lainports/freebsd-ports
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
Makefile
# Created by: Richard Neese <r.neese@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= fusionpbx
|
|
DISTVERSION= 3.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.fusionpbx.com/downloads/ \
|
|
GOOGLE_CODE
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= PHP5 Graphical User Interface for FreeSwitch
|
|
|
|
LICENSE= MPL
|
|
|
|
LIB_DEPENDS= libodbc.so:${PORTSDIR}/databases/unixODBC
|
|
RUN_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/pdo_odbc.so:${PORTSDIR}/databases/php${PHP_VER}-pdo_odbc
|
|
|
|
USE_PHP= dom filter ftp json pcre pdo pdo_sqlite posix \
|
|
session simplexml xml xmlreader xmlwriter xmlrpc \
|
|
xsl zlib odbc
|
|
USE_SQLITE= yes
|
|
|
|
DEFAULT_VERSIONS+=php=5
|
|
|
|
VARBASE= /var
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
NO_BUILD= yes
|
|
|
|
OPTIONS_DEFINE= PDOPGSQL PDOMYSQL
|
|
|
|
PDOPGSQL_DESC= Install POSTGRESQL PDO Connector
|
|
PDOMYSQL_DESC= Install MySQL PDO Connector
|
|
|
|
PDOPGSQL_USES= pgsql
|
|
PDOPGSQL_USE= PHP=pgsql,pdo_pgsql
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MPDOMYSQL}
|
|
USE_MYSQL= client
|
|
USE_PHP+= mysql pdo_mysql
|
|
.endif
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${WWWDIR}
|
|
@(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
|
|
@${MKDIR} ${STAGEDIR}${VARBASE}/db/fusionpbx
|
|
|
|
.include <bsd.port.mk>
|