aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_auth_any/Makefile
blob: 50a0c52c2028a7b9b137b653b5e5d27338652864 (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
# New ports collection makefile for:    mod_auth_any
# Date created:             10 April 2001
# Whom:                 will
#
# $FreeBSD$
#

PORTNAME=   mod_auth_any
PORTVERSION=    1.0.2
PORTREVISION=   1
CATEGORIES= www
MASTER_SITES=   ftp://ftp.itlab.musc.edu/pub/toolbox/mod_auth_any/
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Apache module to use any command line program to authenticate a user

BUILD_DEPENDS=  ${APXS}:${APACHE_PORT}
RUN_DEPENDS=    ${APXS}:${APACHE_PORT}

APXS?=      ${LOCALBASE}/sbin/apxs
APACHE_PORT?=   ${PORTSDIR}/www/apache13

post-patch:
    @${CAT} ${FILESDIR}/bash_single_quote_escape_string.c >> \
        ${WRKSRC}/${PORTNAME}.c

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

do-install:
    ${APXS} -i -A -n ${PORTNAME:S/mod_//g} ${WRKSRC}/${PORTNAME}.so

.include <bsd.port.mk>