aboutsummaryrefslogtreecommitdiff
path: root/security/opensaml/Makefile
blob: 974131a5b6cfba70407e8c861f06808c2a17d457 (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
PORTNAME=	opensaml
PORTVERSION=	3.2.1
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	http://shibboleth.net/downloads/c++-opensaml/${PORTVERSION}/

MAINTAINER=	girgen@FreeBSD.org
COMMENT=	Open source implementation of SAML2
WWW=		https://wiki.shibboleth.net/confluence/display/OpenSAML/Home

LICENSE=	APACHE20

BUILD_DEPENDS=	boost-libs>=0:devel/boost-libs
LIB_DEPENDS=	libcurl.so:ftp/curl \
		liblog4shib.so:devel/log4shib \
		libxmltooling.so:devel/xmltooling

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--disable-doxygen-doc --disable-dependency-tracking
USES=		cpe gmake libtool pkgconfig tar:bzip2 ssl
CPE_VENDOR=	shibboleth
USE_LDCONFIG=	yes

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>