Import www/mod_auth_cas version 1.0.9.1
[dports.git] / www / mod_auth_cas / Makefile
1 # New ports collection makefile for:    mod_auth_cas
2 # Date created:                                         Thursday December 24, 2009
3 # Whom:                                                 Kimo <kimor79@yahoo.com>
4 #
5 # $FreeBSD: ports/www/mod_auth_cas/Makefile,v 1.6 2012/11/17 06:02:40 svnexp Exp $
6 #
7
8 PORTNAME=       mod_auth_cas
9 PORTVERSION=    1.0.9.1
10 CATEGORIES=     www
11 MASTER_SITES=   https://source.jasig.org/cas-clients/mod_auth_cas/tags/mod_auth_cas-${PORTVERSION}/src/
12 # SVN tags only, *sigh*
13 DISTFILES=      mod_auth_cas.c mod_auth_cas.h
14 DIST_SUBDIR=    apache2/mod_auth_cas/${PORTVERSION}
15 EXTRACT_ONLY=
16
17 MAINTAINER=     apache@FreeBSD.org
18 COMMENT=        Apache 2.x module that supports the CASv1 and CASv2 protocols
19
20 LICENSE=        AL2
21
22 LIB_DEPENDS=    curl:${PORTSDIR}/ftp/curl
23
24 MAKE_JOBS_SAFE= yes
25 NO_WRKSUBDIR=   yes
26
27 USE_APACHE=     22+
28 AP_FAST_BUILD=  yes
29 AP_GENPLIST=    yes
30 AP_LIB=         ${LOCALBASE}/lib
31 AP_EXTRAS=      -l ssl -l curl
32
33 post-extract:
34         ${CP} ${DISTDIR}/${DIST_SUBDIR}/mod_auth_cas.c ${WRKSRC}/mod_auth_cas.c
35         ${CP} ${DISTDIR}/${DIST_SUBDIR}/mod_auth_cas.h ${WRKSRC}/mod_auth_cas.h
36
37 post-install:
38         @${CAT} ${PKGMESSAGE}
39
40 .include <bsd.port.mk>