ports/179155: [PATCH] net/xmlrpc-epi: update to 0.54.2, comply with OptionsNG
nemysis
nemysis at gmx.ch
Fri May 31 19:50:02 UTC 2013
>Number: 179155
>Category: ports
>Synopsis: [PATCH] net/xmlrpc-epi: update to 0.54.2, comply with OptionsNG
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Fri May 31 19:50:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: nemysis
>Release: FreeBSD 9.1-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013
>Description:
- Update to 0.54.2
- Shorten header
- Trim comment
- Add license
- Comply with OptionsNG
- Cleanup port
Generated and tested manually, tested with port test and with RedPorts, sent with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports)
>How-To-Repeat:
Build log
https://redports.org/buildarchive/20130531184200-39045/
>Fix:
--- xmlrpc-epi-0.54.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/xmlrpc-epi/Makefile ./Makefile
--- /usr/ports/net/xmlrpc-epi/Makefile 2013-04-29 12:53:23.000000000 +0200
+++ ./Makefile 2013-05-31 20:21:30.000000000 +0200
@@ -1,22 +1,21 @@
-# New ports collection makefile for: xmlrpc-epi
-# Date created: 19 February 2007
-# Whom: Thierry Thomas <thierry at pompo.net>
-#
+# Created by: Thierry Thomas <thierry at pompo.net>
# $FreeBSD: head/net/xmlrpc-epi/Makefile 316662 2013-04-27 11:59:28Z mva $
-#
PORTNAME= xmlrpc-epi
-PORTVERSION= 0.54.1
+PORTVERSION= 0.54.2
CATEGORIES= net
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-base/${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-base/${PORTVERSION}/
MAINTAINER= ports at FreeBSD.org
-COMMENT= A general purpose implementation of the xmlrpc specification in C
+COMMENT= General purpose implementation of the xmlrpc specification in C
-LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
+LICENSE= MIT
-USE_GMAKE= yes
+LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2
+
+USE_BZIP2= yes
USES= iconv
+USE_GMAKE= yes
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool
CPPFLAGS+= -I${LOCALBASE}/include
@@ -25,29 +24,22 @@
PORTDOCS= AUTHORS ChangeLog NEWS README
-METHODS= TestNormal TestFault TestStruct TestArray TestBoolean \
+METHODS= TestNormal TestFault TestStruct TestArray TestBoolean \
TestInt TestString TestDouble TestBase64 TestDateTime
CONFLICTS= xmlrpc-c-0.* xmlrpc-c-devel-[0-9]*
-WRKSRC= ${WRKDIR}/${PORTNAME:C/-.*//}
-
-pre-configure:
- @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \
- ${REINPLACE_CMD} -e '/^LTCOMPILE =/s/--mode=/--tag=CC --mode=/'
- @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \
- ${REINPLACE_CMD} -e '/^LINK =/s/--mode=/--tag=CC --mode=/'
+.include <bsd.port.options.mk>
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
regression-test:
.for tm in ${METHODS}
- cd ${WRKSRC}/sample && \
- ./sample -method method_${tm}
+ cd ${WRKSRC}/sample && ./sample -method method_${tm}
.endfor
.include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/net/xmlrpc-epi/distinfo ./distinfo
--- /usr/ports/net/xmlrpc-epi/distinfo 2013-01-14 17:56:35.000000000 +0100
+++ ./distinfo 2013-03-31 14:41:30.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (xmlrpc-epi-0.54.1.tar.gz) = fa3d0637338f227dc01d9ea9bce1225b925618bd2f36bee7846b690101de038a
-SIZE (xmlrpc-epi-0.54.1.tar.gz) = 913402
+SHA256 (xmlrpc-epi-0.54.2.tar.bz2) = c74ef8fb680b140890138a82f37619714b67f69025a775b9ba2009d62cded0b8
+SIZE (xmlrpc-epi-0.54.2.tar.bz2) = 348478
--- xmlrpc-epi-0.54.2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list