aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-03-11 20:49:58 +0800
committermiwi <miwi@FreeBSD.org>2008-03-11 20:49:58 +0800
commite43e5b1a91c16fad57a77b871aa897f20f66c159 (patch)
tree2d16565e2cb2425012b470261f406767e7336385 /devel
parentf39414530fe64274146e676647900dda33967942 (diff)
downloadfreebsd-ports-graphics-e43e5b1a91c16fad57a77b871aa897f20f66c159.tar.gz
freebsd-ports-graphics-e43e5b1a91c16fad57a77b871aa897f20f66c159.tar.zst
freebsd-ports-graphics-e43e5b1a91c16fad57a77b871aa897f20f66c159.zip
- Add missing files
PR: 121515 Submitted by: Gerrit Beine <gerrit.beine@gmx.de> (maintainer)
Diffstat (limited to 'devel')
-rw-r--r--devel/pear-PhpDocumentor/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/pear-PhpDocumentor/Makefile b/devel/pear-PhpDocumentor/Makefile
index 0a519040368..fb858d9218c 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