aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-01-29 22:37:15 +0800
committerpav <pav@FreeBSD.org>2005-01-29 22:37:15 +0800
commitef84d89b2ff170d8f85c246dd5914d8fcccd913a (patch)
treed7d4f9b0ac6cf210499818b322e65f00d592162f /devel
parent6350166039627d8be46afb9b7135ecc7a16c99f0 (diff)
downloadfreebsd-ports-gnome-ef84d89b2ff170d8f85c246dd5914d8fcccd913a.tar.gz
freebsd-ports-gnome-ef84d89b2ff170d8f85c246dd5914d8fcccd913a.tar.zst
freebsd-ports-gnome-ef84d89b2ff170d8f85c246dd5914d8fcccd913a.zip
- Add package version strings
PR: ports/76708 Submitted by: Antonio Carlos Venancio Junior <antonio@php.net> (maintainer)
Diffstat (limited to 'devel')
-rw-r--r--devel/pear-XML_RPC/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/devel/pear-XML_RPC/Makefile b/devel/pear-XML_RPC/Makefile
index df9670c8415b..d648ab41e6e5 100644
--- a/devel/pear-XML_RPC/Makefile
+++ b/devel/pear-XML_RPC/Makefile
@@ -7,6 +7,7 @@
PORTNAME= XML_RPC
DISTVERSION= 1.2.0RC6
+PORTREVISION= 1
CATEGORIES= devel www pear
MAINTAINER= antonio@php.net
@@ -23,6 +24,14 @@ post-extract:
@${MKDIR} ${WRKSRC}/RPC
@${MV} ${WRKSRC}/Server.php ${WRKSRC}/Dump.php ${WRKSRC}/RPC
+post-patch:
+.for file in ${FILES}
+ @${REINPLACE_CMD} -e "s|@package_version@|${DISTVERSION}|" ${WRKSRC}/${file}
+.endfor
+.for file in ${TESTS}
+ @${REINPLACE_CMD} -e "s|@package_version@|${DISTVERSION}|" ${WRKSRC}/tests/${file}
+.endfor
+
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
.include <bsd.port.post.mk>