- Stage support

- New LIB_DEPENDS syntax
- Uses libtool gmake
This commit is contained in:
Antoine Brodin 2014-02-06 19:49:22 +00:00
parent 61ac4cb94b
commit 3e3b09223a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343146
2 changed files with 8 additions and 10 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= xmlrpc-epi
PORTVERSION= 0.54.2
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-base/${PORTVERSION}/
@ -11,15 +12,14 @@ COMMENT= General purpose implementation of the xmlrpc specification in C
LICENSE= MIT
LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2
LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
USES= iconv
USE_AUTOTOOLS= libtool
USES= gmake iconv libtool
USE_BZIP2= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-transform="s|^|xre-|"
PORTDOCS= AUTHORS ChangeLog NEWS README
@ -29,14 +29,11 @@ METHODS= TestNormal TestFault TestStruct TestArray TestBoolean \
CONFLICTS= xmlrpc-c-0.* xmlrpc-c-devel-[0-9]*
NO_STAGE= yes
.include <bsd.port.options.mk>
OPTIONS_DEFINE= DOCS
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
regression-test:
.for tm in ${METHODS}

View file

@ -17,3 +17,4 @@ lib/libxmlrpc-epi.a
lib/libxmlrpc-epi.la
lib/libxmlrpc-epi.so
lib/libxmlrpc-epi.so.0
lib/libxmlrpc-epi.so.0.0.3