aboutsummaryrefslogtreecommitdiffstats
path: root/www/wsdlpull/Makefile
blob: eb5e60def6e585b14bae1e67e44c96a2bda2fbc6 (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
# 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 <bsd.port.mk>