1997-01-09 03:07:52 +00:00
|
|
|
# New ports collection makefile for: w3c-httpd
|
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-08-31 02:43:35 +00:00
|
|
|
# $FreeBSD$
|
1994-10-29 20:28:01 +00:00
|
|
|
#
|
|
|
|
|
2000-04-10 00:07:29 +00:00
|
|
|
PORTNAME= w3c-httpd
|
|
|
|
PORTVERSION= 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)
|
1999-08-27 22:30:39 +00:00
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} "Defaulting to DES encrypted passwords."
|
|
|
|
@${ECHO_MSG} "Set the environment variable MD5_PW if you want MD5 encrypted passwords."
|
|
|
|
@${ECHO_MSG} ""
|
1997-03-08 22:02:40 +00:00
|
|
|
.else
|
1999-08-27 22:30:39 +00:00
|
|
|
@${ECHO} "CFLAGS += -DMD5_PW" >> ${WRKDIR}/All/${OSNAME}/Makefile.include
|
1997-03-08 22:02:40 +00:00
|
|
|
.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
|