freebsd-ports/www/mod_hosts_access/Makefile
Dirk Meyer e9bd637dd0 support appache13-modssl by defining APACHE_PORT in /etc/make.conf
others variants of the apache ports can be used too.
2002-09-09 18:30:10 +00:00

29 lines
646 B
Makefile

# 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= ports@FreeBSD.org
BUILD_DEPENDS= ${APXS}:${APACHE_PORT}
RUN_DEPENDS= ${APXS}:${APACHE_PORT}
APXS?= ${LOCALBASE}/sbin/apxs
APACHE_PORT?= ${PORTSDIR}/www/apache13
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>