aboutsummaryrefslogtreecommitdiffstats
path: root/devel/xmltooling/Makefile
blob: 3c3bde1121c72b700ac426f44e5a195e6ce03682 (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
# New ports collection makefile for:    xmltooling
# Date created:             12 September 2008
# Whom:                 Janos Mohacsi
#
# $FreeBSD$
#

PORTNAME=   xmltooling
PORTVERSION=    1.4.2
PORTREVISION=   1
CATEGORIES= devel security
MASTER_SITES=   http://www.shibboleth.net/downloads/c++-opensaml/2.4.3/

MAINTAINER= janos.mohacsi@bsd.hu
COMMENT=    Low level XML support for SAML

LIB_DEPENDS=    curl.6:${PORTSDIR}/ftp/curl \
        log4shib.1:${PORTSDIR}/devel/log4shib \
        xerces-c.3:${PORTSDIR}/textproc/xerces-c3 \
        xml-security-c.16:${PORTSDIR}/security/apache-xml-security-c

GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=--with-log4shib=${LOCALBASE} --with-openssl=${OPENSSLBASE} --with-curl=${LOCALBASE} --disable-doxygen-doc
USE_GCC=    any
USE_GMAKE=  yes
USE_LDCONFIG=   yes
USE_OPENSSL=    yes

post-patch:
    @${REINPLACE_CMD} -e 's,^pkgdocdir.*=.*,pkgdocdir = ${DOCSDIR},' \
        ${WRKSRC}/doc/Makefile.in
    @${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
    ${WRKSRC}/configure

.if defined(NOPORTDOCS)
    @${REINPLACE_CMD} -e '/^SUBDIRS/s,doc ,,' ${WRKSRC}/Makefile.in
.endif

.include <bsd.port.mk>