1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00
freebsd-ports/www/wsdlpull/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

48 lines
1.1 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: wsdlpull
# Date created: Mar 18, 2005
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= wsdlpull
DISTVERSION= 1.9.5c
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
USE_AUTOTOOLS= libtool:15
USE_GETOPT_LONG=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},"
.include <bsd.port.pre.mk>
post-install:
.for dir in ${PREFIX}/include/wsdl ${PREFIX}/share/${PORTNAME}
@${FIND} ${dir} ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${dir} -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.endfor
.include <bsd.port.post.mk>