mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
28 lines
852 B
Makefile
28 lines
852 B
Makefile
# New ports collection makefile for: apache HTTPD
|
|
# Version required: 1.1.1
|
|
# Date created: Fri Aug 25 16:42:36 CDT 1995
|
|
# Whom: erich@rrnet.com
|
|
#
|
|
# $Id: Makefile,v 1.14 1996/07/11 11:03:17 ache Exp $
|
|
#
|
|
|
|
DISTNAME= apache_1.1.1
|
|
PKGNAME= apache-1.1.1
|
|
CATEGORIES+= www
|
|
MASTER_SITES= ftp://www.apache.org/apache/dist/
|
|
DISTFILES= ${DISTNAME}.tar.gz
|
|
|
|
MAINTAINER= ache@freebsd.org,pst@freebsd.org
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}.tar.gz
|
|
|
|
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>
|