summaryrefslogblamecommitdiff
path: root/www/mod_auth_external/Makefile
blob: 775c241cf562c418a1561f12f8e4052910f1be47 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                     
                      
                   
                                                   

                                                       
                                  
                                                                              















                                                                     
                                                                       







                                                    
# New ports collection makefile for:	mod_auth_external
# Date created:				14 May 2001
# Whom:					Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#

PORTNAME=	mod_auth_external
PORTVERSION=	2.1.15
CATEGORIES=	www
MASTER_SITES=	http://www.unixpapa.com/software/ \
		ftp://ftp.nuug.no/pub/anders/distfiles/

MAINTAINER=	anders@FreeBSD.org
COMMENT=	Enables the use of external mechanisms for user authentication

BUILD_DEPENDS=	${APXS}:${PORTSDIR}/www/apache13
RUN_DEPENDS=	${APXS}:${PORTSDIR}/www/apache13

APXS?=		${LOCALBASE}/sbin/apxs

DOCDIR=		${PREFIX}/share/doc/${PORTNAME}
DOCS=		AUTHENTICATORS CHANGES INSTALL README TODO

do-build:
	@cd ${WRKSRC} && ${APXS} -c mod_auth_external.c

do-install:
	${APXS} -i -A -n auth_external ${WRKSRC}/mod_auth_external.so
.if !defined(NOPORTDOCS)
	${INSTALL} -d -o root -g wheel -m 0755 ${DOCDIR}/examples
	cd ${WRKSRC} && ${TAR} -chf - mysql pwauth radius sybase test \
		| ${TAR} -xf - -C ${DOCDIR}/examples
.for f in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCDIR}/
.endfor
.endif
	${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>