freebsd-ports/www/apache-contrib/Makefile
Joe Marcus Clarke f4d7c801f8 Use the new Apache bits from bsd.port.mk.
Submitted by:	dinoex
2003-11-07 09:12:58 +00:00

37 lines
911 B
Makefile

# New ports collection makefile for: apache-contrib
# Date created: September 10 2000
# Whom: Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#
PORTNAME= apache-contrib
PORTVERSION= 1.0.8
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
MASTER_SITE_SUBDIR= contrib/modules/1.3
MAINTAINER= ports@FreeBSD.org
COMMENT= Third-party modules contributed to the Apache HTTP server project
USE_APACHE= yes
.if exists(${APXS})
APXS_WORKS!= ${APXS} -q TARGET 2>/dev/null || echo no
.endif
.if exists(${APXS}) && ${APXS_WORKS} != no
AP_TARGET!= ${APXS} -q TARGET
AP_SYSCONF!= ${APXS} -q SYSCONFDIR
AP_INCLUDE!= ${APXS} -q INCLUDEDIR
AP_LIBEXEC!= ${APXS} -q LIBEXECDIR
.else
AP_TARGET?= httpd
AP_SYSCONF?= ${PREFIX}/etc/apache
AP_INCLUDE?= ${PREFIX}/include/apache
AP_LIBEXEC?= ${PREFIX}/libexec/apache
.endif
ALL_TARGET= APXS=${APXS} all
INSTALL_TARGET= APXS=${APXS} install
.include <bsd.port.mk>