1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00
freebsd-ports/www/wsdlpull/Makefile
2010-12-04 07:34:27 +00:00

46 lines
1.1 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: wsdlpull
# Date created: Mar 18, 2005
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= wsdlpull
PORTVERSION= 1.24
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ WSDL Parser
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
MAKE_JOBS_SAFE= yes
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
MAN1= wsdlpull.1 wsdlpull-schema.1
post-patch:
@${REINPLACE_CMD} -e '/-O2 -Wall/d' ${WRKSRC}/configure
@${REINPLACE_CMD} \
-e '/SUBDIRS = / s| docs||' \
-e '/^install-data-am:/ s| install-docsDATA||' \
${WRKSRC}/Makefile.in
# Do not install wsdlpull-config.1 for the absence of wsdlpull-config
@${REINPLACE_CMD} \
-e '/^man_MANS = / s| wsdlpull-config.1||' \
${WRKSRC}/man/Makefile.in
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} README wsdlpull.html ${DOCSDIR}/
.endif
.include <bsd.port.mk>