Date: Sun, 18 May 2014 23:25:33 GMT From: Joseph Benden <joe@thrallingpenguin.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/189932: [patch] Add staging support to www/asterisk-stat Message-ID: <201405182325.s4INPXcQ011519@cgiserv.freebsd.org> Resent-Message-ID: <201405182330.s4INU0Um085701@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 189932 >Category: ports >Synopsis: [patch] Add staging support to www/asterisk-stat >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun May 18 23:30:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Joseph Benden >Release: FreeBSD 11 >Organization: >Environment: FreeBSD lucy 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r264887: Thu Apr 24 12:43:46 MST 2014 root@lucy:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Adds staging support and portlint LIB_DEPENDS cleanup for www/asterisk-stat. >How-To-Repeat: >Fix: Patch attached with submission follows: diff --git a/www/asterisk-stat/Makefile b/www/asterisk-stat/Makefile index fac50c7..7be700a 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> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405182325.s4INPXcQ011519>