aboutsummaryrefslogtreecommitdiffstats
path: root/www/wsdlpull/Makefile
blob: 9ebc6a7f996fb54d7b2edd2b6eb8ac434c544fc9 (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
# Created by: ijliao
# $FreeBSD$

PORTNAME=   wsdlpull
PORTVERSION=    1.24
PORTREVISION=   1
CATEGORIES= www
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    C++ WSDL Parser

LIB_DEPENDS=    curl:${PORTSDIR}/ftp/curl

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
USE_AUTOTOOLS=  libtool
USE_LDCONFIG=   yes

MAN1=       wsdlpull.1 wsdlpull-schema.1

NO_STAGE=   yes
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>