mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
0d06f0c264
apache, supporting versions 1.3.x, 2.0.x, and 2.2.x. It uses secure cookie-based tickets to implement a single-signon framework that works across multiple apache instances and servers. WWW: http://www.openfusion.com.au/labs/mod_auth_tkt/
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
# New ports collection makefile for: mod_auth_tkt
|
|
# Date created: 2 Feb 2011
|
|
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mod_auth_tkt
|
|
PORTVERSION= 2.1.0
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL} \
|
|
http://www.openfusion.com.au/labs/dist/mod_auth_tkt/
|
|
MASTER_SITE_SUBDIR= kuriyama
|
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
|
COMMENT= Lightweight single-sign-on authentication module for apache
|
|
|
|
USE_APACHE= 2.2+
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
|
AP_FAST_BUILD= YES
|
|
SRC_FILE= ${PORTNAME}.c sha2.c
|
|
AP_EXTRAS= -DAPACHE22
|
|
|
|
MAN3= mod_auth_tkt.3
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|.usr/share/man|${PREFIX}/man|' ${WRKSRC}/../Makedefs
|
|
|
|
post-build:
|
|
cd ${WRKSRC}/../doc; ${MAKE} all
|
|
|
|
post-install:
|
|
cd ${WRKSRC}/../doc; ${MAKE} ${.TARGET:S/post-//}
|
|
.if !defined(NOPORTEXAMPLES)
|
|
${MKDIR} ${EXAMPLESDIR}/cgi/Apache ${EXAMPLESDIR}/conf
|
|
.for i in cgi/AuthTktConfig.pm cgi/Apache/AuthTkt.pm cgi/tkt.css \
|
|
conf/02_auth_tkt.conf conf/auth_tkt_cgi.conf
|
|
${INSTALL_DATA} ${WRKSRC}/../${i} ${EXAMPLESDIR}/${i}
|
|
.endfor
|
|
.for i in logout.cgi login.cgi
|
|
${INSTALL_SCRIPT} ${WRKSRC}/../cgi/${i} ${EXAMPLESDIR}/cgi/${i}
|
|
.endfor
|
|
.endif
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/../README ${DOCSDIR}/
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|