summaryrefslogtreecommitdiff
path: root/www/w3c-httpd/Makefile
blob: 022a7b98ccde298321797876f66df2b7252285b6 (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
# New ports collection makefile for:	cern_httpd
# Version required:	3.0 / 2.17
# Date created:		29 October 1994
# Whom:			pst
#
# $Id: Makefile,v 1.1.1.1 1994/10/29 20:28:00 pst Exp $
#

DISTNAME=	WWW
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

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>