1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/net/xmlrpc-epi/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

54 lines
1.3 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.54.1
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-base/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A general purpose implementation of the xmlrpc specification in C
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
USE_GMAKE= yes
USE_ICONV= yes
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -liconv
CONFIGURE_ARGS= --program-transform="s|^|xre-|"
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]*
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=/'
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>