1997-01-09 03:07:52 +00:00
|
|
|
# New ports collection makefile for: w3c-httpd
|
|
|
|
# Version required: 3.0A
|
1994-10-29 20:28:01 +00:00
|
|
|
# Date created: 29 October 1994
|
1999-05-10 20:00:27 +00:00
|
|
|
# Whom: pst (orig)
|
1994-10-29 20:28:01 +00:00
|
|
|
#
|
1999-05-10 20:00:27 +00:00
|
|
|
# $Id: Makefile,v 1.20 1999/05/10 04:05:14 steve Exp $
|
1994-10-29 20:28:01 +00:00
|
|
|
#
|
|
|
|
|
1997-01-09 03:07:52 +00:00
|
|
|
DISTNAME= w3c-httpd-3.0A
|
1996-11-18 11:44:27 +00:00
|
|
|
CATEGORIES= www
|
1999-01-08 19:59:26 +00:00
|
|
|
MASTER_SITES= ftp://ftp.w3.org/pub/httpd/ \
|
|
|
|
ftp://ftp-eu.w3.org/pub/httpd/
|
1995-10-03 07:03:50 +00:00
|
|
|
|
1999-05-10 04:05:29 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1997-01-09 03:07:52 +00:00
|
|
|
|
1999-05-10 20:00:27 +00:00
|
|
|
BUILD_DEPENDS= /nonexistent:${PORTSDIR}/net/wais:build
|
1994-10-29 20:28:01 +00:00
|
|
|
|
1999-05-10 20:00:27 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
WWW_ROOT?= ${PREFIX}/www
|
|
|
|
MAKE_ENV+= PORTSDIR=${PORTSDIR}
|
1994-10-29 20:28:01 +00:00
|
|
|
|
1997-03-08 22:02:40 +00:00
|
|
|
pre-configure:
|
|
|
|
.if !defined(MD5_PW)
|
|
|
|
@echo ""
|
|
|
|
@echo "Defaulting to DES encrypted passwords."
|
|
|
|
@echo "Set the environment variable MD5_PW if you want MD5 encrypted passwords."
|
|
|
|
@echo ""
|
|
|
|
.else
|
|
|
|
@echo "CFLAGS += -DMD5_PW" >> ${WRKDIR}/All/${OSNAME}/Makefile.include
|
|
|
|
.endif
|
|
|
|
|
1995-04-22 12:30:11 +00:00
|
|
|
do-install:
|
1997-01-09 03:07:52 +00:00
|
|
|
${MKDIR} ${WWW_ROOT}/data ${WWW_ROOT}/cgi-bin ${WWW_ROOT}/htbin
|
|
|
|
${CP} -R ${WRKSRC}/server_root/icons $(WWW_ROOT)
|
|
|
|
${CP} ${WRKSRC}/server_root/config/*.conf $(PREFIX)/etc
|
1997-03-08 22:02:40 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Daemon/${OSNAME}/httpd ${PREFIX}/libexec
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Daemon/${OSNAME}/htadm ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Daemon/${OSNAME}/htimage ${WWW_ROOT}/htbin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Daemon/${OSNAME}/cgiparse ${WWW_ROOT}/cgi-bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Daemon/${OSNAME}/cgiutils ${WWW_ROOT}/cgi-bin
|
1994-10-29 20:28:01 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
1997-03-08 22:02:40 +00:00
|
|
|
|
|
|
|
.if (${OPSYS} == "FreeBSD")
|
|
|
|
OSNAME= freebsd
|
|
|
|
.else
|
|
|
|
# covers OpenBSD too
|
|
|
|
OSNAME= netbsd
|
|
|
|
.endif
|