summaryrefslogtreecommitdiff
path: root/www/mod_auth_external2/Makefile
blob: 5f300a1cb76c88ec8ac4c92c86563779e5d6947c (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
# New ports collection makefile for:	mod_auth_external2
# Date created:				Fri Oct  10
# Whom:					Clement Laforet <sheepkiller@cultdeadsheep.org>
#
# $FreeBSD$

PORTNAME=	mod_auth_external
PORTVERSION=	2.2.6
CATEGORIES=	www
MASTER_SITES=	http://www.unixpapa.com/software/
DIST_SUBDIR=	apache

MAINTAINER=	sheepkiller@cultdeadsheep.org
COMMENT=	Allows users authentication based on external mechanisms

BUILD_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
RUN_DEPENDS=	${BUILD_DEPENDS}

LATEST_LINK=	mod_auth_external2

APXS?=		${LOCALBASE}/sbin/apxs

DOC_FILES=	AUTHENTICATORS INSTALL README
do-build:
	@(cd ${WRKSRC}/ && ${APXS} -I. -c ${PORTNAME}.c)

do-install:
	@(cd ${WRKSRC}/ && ${APXS} -A -i ${PORTNAME}.la)
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.   for f in ${DOC_FILES}
	@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.   endfor
.endif

.include <bsd.port.mk>