Date: Sun, 9 Mar 2008 10:32:21 GMT From: Gerrit Beine <gerrit.beine@gmx.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/121515: Update port: devel/pear-PhpDocumentor Message-ID: <200803091032.m29AWLsw002490@www.freebsd.org> Resent-Message-ID: <200803091040.m29Ae1Jv063643@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 121515 >Category: ports >Synopsis: Update port: devel/pear-PhpDocumentor >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Mar 09 10:40:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Gerrit Beine >Release: FreeBSD 7.0-RELEASE >Organization: Beine Computer >Environment: FreeBSD tb.vmware.beine-computer.de 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Placeholders are set correctly now during installation >How-To-Repeat: >Fix: diff -Nur /usr/ports/devel/pear-PhpDocumentor/Makefile ports/devel/pear-PhpDocumentor/Makefile --- /usr/ports/devel/pear-PhpDocumentor/Makefile 2008-03-09 11:39:30.000000000 +0100 +++ ports/devel/pear-PhpDocumentor/Makefile 2008-03-09 12:09:56.000000000 +0100 @@ -1233,6 +1233,18 @@ tutorials \ Documentation +SUBFILES= phpDocumentor/Converter.inc \ + phpDocumentor/IntermediateParser.inc \ + phpDocumentor/Setup.inc.php \ + phpDocumentor/common.inc.php \ + docbuilder/actions.php \ + docbuilder/builder.php \ + docbuilder/config.php \ + docbuilder/file_dialog.php \ + docbuilder/top.php \ + docbuilder/includes/utilities.php \ + user/pear-makedocs.ini + .include <bsd.port.pre.mk> .include "${PORTSDIR}/devel/pear/bsd.pear.mk" @@ -1240,6 +1252,15 @@ RUN_DEPENDS+= ${PEARDIR}/XML/Beautifier.php:${PORTSDIR}/textproc/pear-XML_Beautifier .endif +post-patch: +.for file in ${SUBFILES} + @${REINPLACE_CMD} -e 's|VER|${PORTVERSION}|g ; \ + s|@PEAR-DIR@|${PEARDIR}|g ; \ + s|@DATA-DIR@|${DATADIR:S,/${PORTNAME}$,,}|g ; \ + s|@WEB-DIR@|${DATADIR:S,/${PORTNAME}$,,}|g ; \ + s|@DOC-DIR@|${DOCSDIR:S,/${PORTNAME}$,,}|g' ${WRKSRC}/${file} +.endfor + post-extract: .for dir in ${DUMMYDIRS} touch ${WRKSRC}/${dir}/.peardummy >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803091032.m29AWLsw002490>