1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/net/xmlrpc-epi/Makefile
Dmitry Marakasov 30c8afdf8a - Add LICENSE_FILE
- Strip library
2015-03-09 00:57:44 +00:00

45 lines
1.1 KiB
Makefile

# Created by: Thierry Thomas <thierry@pompo.net>
# $FreeBSD$
PORTNAME= xmlrpc-epi
PORTVERSION= 0.54.2
PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-base/${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= General purpose implementation of the xmlrpc specification in C
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
USES= gmake iconv libtool tar:bzip2
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-transform="s|^|xre-|"
INSTALL_TARGET= install-strip
PORTDOCS= AUTHORS ChangeLog NEWS README
METHODS= TestNormal TestFault TestStruct TestArray TestBoolean \
TestInt TestString TestDouble TestBase64 TestDateTime
CONFLICTS= xmlrpc-c-0.* xmlrpc-c-devel-[0-9]*
OPTIONS_DEFINE= DOCS
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
regression-test:
.for tm in ${METHODS}
cd ${WRKSRC}/sample && ./sample -method method_${tm}
.endfor
.include <bsd.port.mk>