freebsd-ports/net/xmlrpc-epi/Makefile
Thierry Thomas 8ab10b8a3d xmlrpc-epi is an implementation of the xmlrpc protocol in C. It provides an easy
to use API for developers to serialize RPC requests to and from XML. It does
*not* include a transport layer, such as HTTP.

WWW: http://xmlrpc-epi.sourceforge.net/
2007-02-20 20:52:26 +00:00

45 lines
1.1 KiB
Makefile

# New ports collection makefile for: xmlrpc-epi
# Date created: 19 February 2007
# Whom: Thierry Thomas <thierry@pompo.net>
#
# $FreeBSD$
#
PORTNAME= xmlrpc-epi
PORTVERSION= 0.51
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= thierry@FreeBSD.org
COMMENT= A general purpose implementation of the xmlrpc specification in C
USE_GMAKE= yes
USE_ICONV= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -liconv"
CONFIGURE_ARGS= --program-transform="s|^|xre-|"
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PORTDOCS= AUTHORS ChangeLog NEWS README
METHODS= TestNormal TestFault TestStruct TestArray TestBoolean \
TestInt TestString TestDouble TestBase64 TestDateTime
CONFLICTS= xmlrpc-c-0.*
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
regression-test:
.for tm in ${METHODS}
cd ${WRKSRC}/sample && \
./sample -method method_${tm}
.endfor
.include <bsd.port.mk>