aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_auth_cas/Makefile
blob: 4f2cac9e3827e59d4a509daaf2a82c00b7f8e63d (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
# 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=    AL2

LIB_DEPENDS=    curl:${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

NO_STAGE=   yes
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

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>