aboutsummaryrefslogtreecommitdiffstats
path: root/www/wsdlpull/Makefile
blob: 264a08e75483218260214ece0a8f2b5d6809aa9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# ex:ts=8
# Ports collection makefile for:    wsdlpull
# Date created:         Mar 18, 2005
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   wsdlpull
PORTVERSION=    1.11
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_GNOME=  gnometarget
USE_GCC=    3.4+
USE_GETOPT_LONG=yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --includedir=${PREFIX}/include/wsdl
USE_LDCONFIG=   yes

CPPFLAGS=   -I${LOCALBASE}/include -DHAVE_DECL_GETOPT
LDFLAGS=    -L${LOCALBASE}/lib

post-patch:
    @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
        's|: install-docsDATA|:|g'
    @${REINPLACE_CMD} -e '/-O2 -Wall/d' ${WRKSRC}/configure

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/wsdlpull.html ${DOCSDIR}
.endif

.include <bsd.port.mk>