1996-05-19 18:21:50 -04:00
|
|
|
# New ports collection makefile for: apache HTTPD
|
|
|
|
# Version required: 1.0.5
|
1995-08-28 09:28:45 -04:00
|
|
|
# Date created: Fri Aug 25 16:42:36 CDT 1995
|
|
|
|
# Whom: erich@rrnet.com
|
|
|
|
#
|
1996-06-15 13:51:08 -04:00
|
|
|
# $Id: Makefile,v 1.12 1996/06/15 16:58:06 jkh Exp $
|
1995-08-28 09:28:45 -04:00
|
|
|
#
|
|
|
|
|
1996-04-21 04:54:30 -04:00
|
|
|
DISTNAME= apache_1.0.5
|
|
|
|
PKGNAME= apache-1.0.5
|
1995-11-26 23:10:35 -05:00
|
|
|
CATEGORIES+= www
|
1996-05-20 03:37:06 -04: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 09:28:45 -04:00
|
|
|
|
1995-09-23 14:47:57 -04:00
|
|
|
MAINTAINER= pst@freebsd.org
|
|
|
|
|
1996-05-20 03:37:06 -04:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}.tar.gz
|
|
|
|
|
1996-05-19 18:21:50 -04:00
|
|
|
post-extract:
|
|
|
|
cp ${DISTDIR}/mod_env.c ${WRKSRC}/src
|
|
|
|
|
1996-06-15 12:58:09 -04:00
|
|
|
post-install:
|
1996-06-15 13:51:08 -04:00
|
|
|
@if [ ! -f ${PREFIX}/etc/rc.d/apache.sh ]; then \
|
|
|
|
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; \
|
|
|
|
fi
|
1996-06-15 12:58:09 -04:00
|
|
|
|
1995-08-28 09:28:45 -04:00
|
|
|
.include <bsd.port.mk>
|