summaryrefslogtreecommitdiff
path: root/www/mod_auth_cas/Makefile
blob: 1b38da07750af36088a85d2c606a59e41483ef67 (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
# Created by: Kimo <kimor79@yahoo.com>
# $FreeBSD$

PORTNAME=	mod_auth_cas
PORTVERSION=	1.0.9.1
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	https://source.jasig.org/cas-clients/mod_auth_cas/tags/mod_auth_cas-${PORTVERSION}/src/
# SVN tags only, *sigh*
DISTFILES=	mod_auth_cas.c mod_auth_cas.h
DIST_SUBDIR=	apache2/mod_auth_cas/${PORTVERSION}
EXTRACT_ONLY=

MAINTAINER=	apache@FreeBSD.org
COMMENT=	Apache 2.x module that supports the CASv1 and CASv2 protocols

LICENSE=	APACHE20

LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/curl

NO_WRKSUBDIR=	yes

USE_APACHE=	22+
AP_FAST_BUILD=	yes
AP_GENPLIST=	yes
AP_LIB=		${LOCALBASE}/lib
AP_EXTRAS=	-l ssl -l curl

post-extract:
	${CP} ${DISTDIR}/${DIST_SUBDIR}/mod_auth_cas.c ${WRKSRC}/mod_auth_cas.c
	${CP} ${DISTDIR}/${DIST_SUBDIR}/mod_auth_cas.h ${WRKSRC}/mod_auth_cas.h

.include <bsd.port.mk>