1996-05-20 00:21:50 +02:00
|
|
|
# New ports collection makefile for: apache HTTPD
|
|
|
|
# Version required: 1.0.5
|
1995-08-28 15:28:45 +02:00
|
|
|
# Date created: Fri Aug 25 16:42:36 CDT 1995
|
|
|
|
# Whom: erich@rrnet.com
|
|
|
|
#
|
1996-06-15 18:58:09 +02:00
|
|
|
# $Id: Makefile,v 1.11 1996/05/20 07:37:06 asami Exp $
|
1995-08-28 15:28:45 +02:00
|
|
|
#
|
|
|
|
|
1996-04-21 10:54:30 +02:00
|
|
|
DISTNAME= apache_1.0.5
|
|
|
|
PKGNAME= apache-1.0.5
|
1995-11-27 05:10:35 +01:00
|
|
|
CATEGORIES+= www
|
1996-05-20 09:37:06 +02:00
|
|
|
MASTER_SITES= ftp://www.apache.org/apache/dist/ \
|
|
|
|
ftp://www.apache.org/apache/dist/contrib/modules/
|
|
|
|
DISTFILES= ${DISTNAME}.tar.gz mod_env.c
|
1995-08-28 15:28:45 +02:00
|
|
|
|
1995-09-23 20:47:57 +02:00
|
|
|
MAINTAINER= pst@freebsd.org
|
|
|
|
|
1996-05-20 09:37:06 +02:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}.tar.gz
|
|
|
|
|
1996-05-20 00:21:50 +02:00
|
|
|
post-extract:
|
|
|
|
cp ${DISTDIR}/mod_env.c ${WRKSRC}/src
|
|
|
|
|
1996-06-15 18:58:09 +02:00
|
|
|
post-install:
|
|
|
|
@echo "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."
|
|
|
|
@echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache.sh
|
|
|
|
@echo "[ -x /usr/local/sbin/httpd ] && /usr/local/sbin/httpd && echo -n ' httpd'" >> ${PREFIX}/etc/rc.d/apache.sh
|
|
|
|
@chmod 751 ${PREFIX}/etc/rc.d/apache.sh
|
|
|
|
|
1995-08-28 15:28:45 +02:00
|
|
|
.include <bsd.port.mk>
|