diff options
Diffstat (limited to 'www/asterisk-stat/Makefile')
-rw-r--r-- | www/asterisk-stat/Makefile | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/www/asterisk-stat/Makefile b/www/asterisk-stat/Makefile deleted file mode 100644 index d155977d8f81..000000000000 --- a/www/asterisk-stat/Makefile +++ /dev/null @@ -1,65 +0,0 @@ -# Created by: Fumihiko Kimura <jfkimura@yahoo.com> -# $FreeBSD$ - -PORTNAME= asterisk-stat -PORTVERSION= 2.0.1 -PORTREVISION= 16 -CATEGORIES= www -MASTER_SITES= http://ftp.iij.ad.jp/pub/FreeBSD/distfiles/ -DISTNAME= ${PORTNAME}-v${PORTVERSION:S/./_/g} - -MAINTAINER= jfkimura@yahoo.co.jp -COMMENT= ASTERISK call detail records analyzer - -DEPRECATED= Works only with EOL php 5.6 -EXPIRATION_DATE= 2018-12-30 - -IGNORE_WITH_PHP= 71 72 73 - -LIB_DEPENDS= libgd.so:graphics/gd - -NO_BUILD= yes -USES= php:web -USE_PHP= session gd pcre -ASTERISKDIR?= ${WWWDIR} -SITE_SUBDIR= asterisk-stat-v2 -WRKSRC= ${WRKDIR}/${SITE_SUBDIR} -SUB_FILES= pkg-message -SUB_LIST+= ASTERISKDIR=${ASTERISKDIR} - -OPTIONS_DEFINE= PGSQL -PGSQL_DESC= Use PostgreSQL instead of MySQL - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MPGSQL} -ASTERISKSTATDB= pgsql -EXTRA_PATCHES+= ${FILESDIR}/pgsql__patch-call.log.php -.else -ASTERISKSTATDB= mysql -.endif - -USE_PHP+= ${ASTERISKSTATDB} -EXTRA_PATCHES+= ${FILESDIR}/${ASTERISKSTATDB}__patch-cdr.php \ - ${FILESDIR}/${ASTERISKSTATDB}__patch-defines.php -PLIST_SUB+= ASTERISKDIR=${ASTERISKDIR:S,^${PREFIX}/,,} \ - ASTERISKSTATDB=${ASTERISKSTATDB} \ - WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" - -post-patch: - @${MV} ${WRKSRC}/images/print.css ${WRKSRC}/css - @${CP} ${WRKSRC}/images/spacer.gif ${WRKSRC}/images/clear.gif - @${CP} ${WRKSRC}/css/images/*png ${WRKSRC}/images - @${RM} ${WRKSRC}/about.php \ - ${WRKSRC}/lib/defines.php.orig \ - ${WRKSRC}/cdr.php.orig \ - ${WRKSRC}/export_pdf.php.orig - -do-install: - @${MKDIR} ${STAGEDIR}${ASTERISKDIR} - @${MV} ${WRKSRC}/lib/defines.php ${WRKSRC}/lib/defines.php-dist - (cd ${WRKSRC}/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${ASTERISKDIR}) - ${MKDIR} ${STAGEDIR}${PREFIX}/etc/asterisk - ${INSTALL_DATA} ${FILESDIR}/cdr_${ASTERISKSTATDB}.tbl ${STAGEDIR}${PREFIX}/etc/asterisk - -.include <bsd.port.mk> |