aboutsummaryrefslogtreecommitdiff
path: root/security/shibboleth-sp/Makefile
blob: bc6ec5bcfc7fd31a54a943258fc129cdd8ebe659 (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
41
42
43
44
45
46
# New ports collection makefile for:	security/shibboleth-sp
# Date created:		2007-07-17
# Whom:			Janos Mohacsi <janos.mohacsi@bsd.hu>
#
# $FreeBSD$
#

PORTNAME=	shibboleth-sp
PORTVERSION=	1.3f
CATEGORIES=	security www
MASTER_SITES=	http://shibboleth.internet2.edu/downloads/

MAINTAINER=	janos.mohacsi@bsd.hu
COMMENT=	C++ Shibboleth Service Provider (Internet2) for Apache

LIB_DEPENDS=	saml.5:${PORTSDIR}/security/opensaml

BROKEN=	does not build
DEPRECATED=	has been broken for 3 months
EXPIRATION_DATE=	2010-01-08

USE_GMAKE=	yes
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
USE_RC_SUBR=	shibboleth-sp
WRKSRC=		${WRKDIR}/shibboleth-1.3

USE_APACHE=	2.0+
.include <bsd.port.pre.mk>

CONFIGURE_ARGS=	--enable-apache-${APACHE_VERSION} \
	--with-apxs${APACHE_VERSION}=${APXS} \
	--localstatedir=/var

post-patch:
	@${REINPLACE_CMD} -e 's|/run|/run/shibboleth|' ${WRKSRC}/configs/Makefile.in
	@${REINPLACE_CMD} -e 's|/doc/|/share/doc/|' ${WRKSRC}/doc/Makefile.in

.if ${OSVERSION} >= 700042
BROKEN=		Does not compile with GCC 4.2
.endif
.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
BROKEN=		Does not compile; author is investigating
.endif

.include <bsd.port.post.mk>