diff options
author | miwi <miwi@FreeBSD.org> | 2014-06-06 21:00:13 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2014-06-06 21:00:13 +0800 |
commit | 672ed8813a202ab29eb9919bd75b52b4f176680e (patch) | |
tree | a3994f1ac59f6c4f9bfce02ae7fdbc5caf747ff8 /www | |
parent | 580214b72cfd58276da9f299b2d96fdc5584ff9f (diff) | |
download | freebsd-ports-gnome-672ed8813a202ab29eb9919bd75b52b4f176680e.tar.gz freebsd-ports-gnome-672ed8813a202ab29eb9919bd75b52b4f176680e.tar.zst freebsd-ports-gnome-672ed8813a202ab29eb9919bd75b52b4f176680e.zip |
- Stage support
PR: 189932
Diffstat (limited to 'www')
-rw-r--r-- | www/asterisk-stat/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/www/asterisk-stat/Makefile b/www/asterisk-stat/Makefile index fac50c72812c..7be700aa8674 100644 --- a/www/asterisk-stat/Makefile +++ b/www/asterisk-stat/Makefile @@ -11,7 +11,7 @@ DISTNAME= ${PORTNAME}-v${PORTVERSION:S/./_/g} MAINTAINER= jfkimura@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> |