- Add missing files

PR:		121515
Submitted by:	Gerrit Beine <gerrit.beine@gmx.de> (maintainer)
This commit is contained in:
Martin Wilke 2008-03-11 12:49:58 +00:00
parent f368e56f65
commit 0595c588e9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208800

View File

@ -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