1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-13 23:36:08 +00:00
freebsd-ports/www/apache20/Makefile

36 lines
1.0 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: apache HTTPD
# Version required: 1.3a1
# Date created: Fri Aug 25 16:42:36 CDT 1995
# Whom: ache@nagual.pp.ru
#
# $Id: Makefile,v 1.38 1997/08/13 15:09:53 ache Exp $
#
DISTNAME= apache_1.3a1
PKGNAME= apache-1.3a1
CATEGORIES= www
1996-07-11 11:04:01 +00:00
MASTER_SITES= ftp://www.apache.org/apache/dist/
1997-04-14 18:54:34 +00:00
MAINTAINER= ache@freebsd.org
1996-05-20 07:37:06 +00:00
# Set it for local-supplied patch, f.e.
# VERS_ID = mods-1.0/me
1996-11-07 01:49:57 +00:00
.if defined(VERS_ID)
post-patch:
@cd ${WRKSRC}/src && \
mv Configuration Configuration.old && \
1997-05-31 20:34:09 +00:00
sed 's;^#*OPTIM=.*;OPTIM= -DSERVER_SUBVERSION=\\"${VERS_ID}\\";' \
< Configuration.old > Configuration
1996-11-07 01:49:57 +00:00
.endif
post-install:
@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
.include <bsd.port.mk>