aboutsummaryrefslogtreecommitdiffstats
path: root/www/apache21/Makefile
blob: 78777d258b8070624a9fba0f13485ef8dc5de2cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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.15 1996/07/12 06:41:05 pst Exp $
#

DISTNAME=       apache_1.1.1
PKGNAME=        apache-1.1.1
CATEGORIES+=    www
MASTER_SITES=   ftp://www.apache.org/apache/dist/

MAINTAINER= ache@freebsd.org

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>