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

PORTNAME=   mod_hosts_access
PORTVERSION=    1.0.0
PORTREVISION=   1
CATEGORIES= www
MASTER_SITES=   http://www.klomp.org/mod_hosts_access/

MAINTAINER= apache@FreeBSD.org
COMMENT=    Apache module that makes Apache respect hosts.allow and hosts.deny

USE_APACHE= yes
APXS_FLAGS?=    -S LDFLAGS_SHLIB="-shared -lwrap"

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

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

.include <bsd.port.mk>