ports/76708: Update port: devel/pear-XML_RPC
Antonio Carlos Venancio Junior
antonio at php.net
Wed Jan 26 12:30:23 UTC 2005
>Number: 76708
>Category: ports
>Synopsis: Update port: devel/pear-XML_RPC
>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: Wed Jan 26 12:30:22 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Antônio Carlos Venâncio Júnior
>Release: FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD antonio.cb.sc.gov.br 4.11-STABLE FreeBSD 4.11-STABLE #4: Mon Jan 10 10:53:56 BRST 2005 root at antonio.cb.sc.gov.br:/usr/obj/usr/src/sys/ANTONIO i386
>Description:
+ add package version strings
- bump PORTREVISION
>How-To-Repeat:
>Fix:
diff -ruN pear-XML_RPC.orig/Makefile pear-XML_RPC/Makefile
--- pear-XML_RPC.orig/Makefile Wed Jan 26 08:43:22 2005
+++ pear-XML_RPC/Makefile Wed Jan 26 09:04:49 2005
@@ -7,6 +7,7 @@
PORTNAME= XML_RPC
DISTVERSION= 1.2.0RC6
+PORTREVISION= 1
CATEGORIES= devel www pear
MAINTAINER= antonio at php.net
@@ -22,6 +23,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"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list