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

PORTNAME=	xmltooling
PORTVERSION=	1.5.5
CATEGORIES=	devel security
MASTER_SITES=	http://shibboleth.net/downloads/c++-opensaml/2.5.5/

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

LIB_DEPENDS=	libcurl.so:ftp/curl \
		liblog4shib.so:devel/log4shib \
		libxerces-c.so.3:textproc/xerces-c3 \
		libxml-security-c.so:security/apache-xml-security-c

BUILD_DEPENDS=	boost-libs>=0:devel/boost-libs

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--with-log4shib=${LOCALBASE} --with-openssl=${OPENSSLBASE} --with-curl=${LOCALBASE} --disable-doxygen-doc
USES=		gmake libtool pkgconfig
USE_LDCONFIG=	yes
USE_OPENSSL=	yes

PORTDOCS=	*

OPTIONS_DEFINE=	DOCS

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

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

.include <bsd.port.mk>