summaryrefslogtreecommitdiff
path: root/www/w3c-httpd/Makefile
blob: 8998c1fe38a1b98cbd197bab94594d04de80fb51 (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
25
26
27
28
29
30
31
32
# New ports collection makefile for:	cern_httpd
# Version required:	3.0 / 2.17
# Date created:		29 October 1994
# Whom:			pst
#
# $Id: Makefile,v 1.5 1995/04/22 12:29:38 asami Exp $
#

DISTNAME=	WWW
PKGNAME=	cern_httpd-3.0
DISTFILES=	WWWDaemon_3.0.tar.Z WWWLibrary_2.17.tar.Z
MASTER_SITES=	ftp://www0.cern.ch/pub/www/src/
CATEGORIES+=	networking

WWW_ROOT=	${PREFIX}/www

do-install:
	-mkdir ${WWW_ROOT} \
	       ${WWW_ROOT}/data ${WWW_ROOT}/cgi-bin ${WWW_ROOT}/htbin
	cd ${WRKSRC}/server_root; pax -rw * ${WWW_ROOT}
	install -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
		${WRKSRC}/Daemon/unix/httpd ${PREFIX}/libexec
	install -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
		${WRKSRC}/Daemon/unix/htadm ${PREFIX}/bin
	install -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
		${WRKSRC}/Daemon/unix/htimage ${WWW_ROOT}/htbin
	install -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
		${WRKSRC}/Daemon/unix/cgiparse ${WWW_ROOT}/cgi-bin
	install -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
		${WRKSRC}/Daemon/unix/cgiutils ${WWW_ROOT}/cgi-bin

.include <bsd.port.mk>