diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-03-11 12:49:58 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-03-11 12:49:58 +0000 |
commit | 0595c588e97d3b696e12e53845a6a5f0167a6c4e (patch) | |
tree | 031950d4592ae11ac1e82bba6050e5137ab690b0 /devel/pear-PhpDocumentor | |
parent | f368e56f655562e9f33e5703636c6a5d8baa6c96 (diff) | |
download | ports-0595c588e97d3b696e12e53845a6a5f0167a6c4e.tar.gz ports-0595c588e97d3b696e12e53845a6a5f0167a6c4e.zip |
Notes
Diffstat (limited to 'devel/pear-PhpDocumentor')
-rw-r--r-- | devel/pear-PhpDocumentor/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/pear-PhpDocumentor/Makefile b/devel/pear-PhpDocumentor/Makefile index 0a5190403688..fb858d9218cd 100644 --- a/devel/pear-PhpDocumentor/Makefile +++ b/devel/pear-PhpDocumentor/Makefile @@ -7,6 +7,7 @@ PORTNAME= PhpDocumentor PORTVERSION= 1.4.1 +PORTREVISION= 1 CATEGORIES= devel www pear MAINTAINER= gerrit.beine@gmx.de @@ -1233,6 +1234,18 @@ DUMMYDIRS= media \ 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 +1253,15 @@ DUMMYDIRS= media \ 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 |