# ex:ts=8 # Ports collection makefile for: wsdlpull # Date created: Mar 18, 2005 # Whom: ijliao # # $FreeBSD$ # PORTNAME= wsdlpull PORTVERSION= 1.6.1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= C++ WSDL Parser LIB_DEPENDS= curl.3:${PORTSDIR}/ftp/curl USE_REINPLACE= yes WRKSRC= ${WRKDIR}/${DISTNAME:R} GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_ARGS= --includedir=${PREFIX}/include/wsdl INSTALLS_SHLIB= yes DOCSDIR= ${PREFIX}/share/doc/wsdl PORTDOCS= * post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} \ -e "s,[$$][(]prefix[)]/docs,${DOCSDIR}," post-install: @${FIND} ${PREFIX}/include/wsdl ! -type d | \ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} @${FIND} ${PREFIX}/include/wsdl -type d | ${SORT} -r | \ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} .include