svn commit: r356772 - head/www/asterisk-stat
Martin Wilke
miwi at FreeBSD.org
Fri Jun 6 13:00:14 UTC 2014
Author: miwi
Date: Fri Jun 6 13:00:13 2014
New Revision: 356772
URL: http://svnweb.freebsd.org/changeset/ports/356772
QAT: https://qat.redports.org/buildarchive/r356772/
Log:
- Stage support
PR: 189932
Modified:
head/www/asterisk-stat/Makefile
Modified: head/www/asterisk-stat/Makefile
==============================================================================
--- head/www/asterisk-stat/Makefile Fri Jun 6 12:59:21 2014 (r356771)
+++ head/www/asterisk-stat/Makefile Fri Jun 6 13:00:13 2014 (r356772)
@@ -11,7 +11,7 @@ DISTNAME= ${PORTNAME}-v${PORTVERSION:S/.
MAINTAINER= jfkimura at yahoo.co.jp
COMMENT= ASTERISK call detail records analyzer
-LIB_DEPENDS= gd:${PORTSDIR}/graphics/gd
+LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
NO_BUILD= yes
USE_PHP= session gd pcre
@@ -25,7 +25,6 @@ SUB_LIST+= ASTERISKDIR=${ASTERISKDIR}
OPTIONS_DEFINE= PGSQL
PGSQL_DESC= Use PostgreSQL instead of MySQL
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGSQL}
@@ -51,11 +50,11 @@ post-patch:
${WRKSRC}/export_pdf.php.orig
do-install:
- @${MKDIR} ${ASTERISKDIR}
+ @${MKDIR} ${STAGEDIR}${ASTERISKDIR}
@${MV} ${WRKSRC}/lib/defines.php ${WRKSRC}/lib/defines.php-dist
- (cd ${WRKSRC}/ && ${COPYTREE_SHARE} \* ${ASTERISKDIR})
- ${MKDIR} ${PREFIX}/etc/asterisk
- ${INSTALL_DATA} ${FILESDIR}/cdr_${ASTERISKSTATDB}.tbl ${PREFIX}/etc/asterisk
- ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${ASTERISKDIR}
+ (cd ${WRKSRC}/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${ASTERISKDIR})
+ ${MKDIR} ${STAGEDIR}${PREFIX}/etc/asterisk
+ ${INSTALL_DATA} ${FILESDIR}/cdr_${ASTERISKSTATDB}.tbl ${STAGEDIR}${PREFIX}/etc/asterisk
+ ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${ASTERISKDIR}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list