aboutsummaryrefslogtreecommitdiff
path: root/devel/xmltooling/Makefile
blob: eb56018ba7c3c5ed1058edf1347638508b6472bb (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
# Created by: Janos Mohacsi

PORTNAME=	xmltooling
PORTVERSION=	3.2.0
CATEGORIES=	devel security
MASTER_SITES=	http://shibboleth.net/downloads/c++-opensaml/${PORTVERSION}/

MAINTAINER=	girgen@FreeBSD.org
COMMENT=	Low level XML support for SAML

LICENSE=	APACHE20

BUILD_DEPENDS=	boost-libs>=0:devel/boost-libs
LIB_DEPENDS=	libcurl.so:ftp/curl \
		liblog4shib.so:devel/log4shib \
		libxml-security-c.so:security/apache-xml-security-c

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--disable-dependency-tracking --disable-doxygen-doc --with-xmlsec
USES=		gmake libtool pkgconfig tar:bzip2 ssl autoreconf
USE_LDCONFIG=	yes
CONFIGURE_ENV+=	openssl_LIBS="-L${OPENSSLLIB} -lcrypto"  openssl_CFLAGS=-I${OPENSSLBASE}

PORTDOCS=	*

OPTIONS_DEFINE=	DOCS

post-patch:
	@${REINPLACE_CMD} -e 's,^pkgdocdir.*=.*,pkgdocdir = ${DOCSDIR},' \
		${WRKSRC}/doc/Makefile.am

post-patch-DOCS-off:
	@${REINPLACE_CMD} -e '/^SUBDIRS/s,doc ,,' ${WRKSRC}/Makefile.am

.include <bsd.port.mk>