1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00
freebsd-ports/www/mod_hosts_access/Makefile
Pete Fritchman d69eaa9d5d Link with -lwrap to make the Apache module actually function and load
correctly.

Submitted by:	Maikel Verheijen <maikel@ladot.com>
2002-08-05 16:48:38 +00:00

29 lines
627 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}:${PORTSDIR}/www/apache13
RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
APXS?= ${LOCALBASE}/sbin/apxs
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>