1997-01-09 04:07:52 +01:00
|
|
|
# New ports collection makefile for: w3c-httpd
|
|
|
|
# Version required: 3.0A
|
1994-10-29 21:28:01 +01:00
|
|
|
# Date created: 29 October 1994
|
|
|
|
# Whom: pst
|
|
|
|
#
|
1999-05-10 06:05:29 +02:00
|
|
|
# $Id: Makefile,v 1.19 1999/01/08 19:59:26 fenner Exp $
|
1994-10-29 21:28:01 +01:00
|
|
|
#
|
|
|
|
|
1997-01-09 04:07:52 +01:00
|
|
|
DISTNAME= w3c-httpd-3.0A
|
1996-11-18 12:44:27 +01:00
|
|
|
CATEGORIES= www
|
1999-01-08 20:59:26 +01:00
|
|
|
MASTER_SITES= ftp://ftp.w3.org/pub/httpd/ \
|
|
|
|
ftp://ftp-eu.w3.org/pub/httpd/
|
1995-10-03 08:03:50 +01:00
|
|
|
|
1999-05-10 06:05:29 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1997-01-09 04:07:52 +01:00
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
1994-10-29 21:28:01 +01:00
|
|
|
|
|
|
|
WWW_ROOT= ${PREFIX}/www
|
|
|
|
|
1997-03-08 23:02:40 +01: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 14:30:11 +02:00
|
|
|
do-install:
|
1997-01-09 04:07:52 +01: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 23:02:40 +01: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 21:28:01 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
1997-03-08 23:02:40 +01:00
|
|
|
|
|
|
|
.if (${OPSYS} == "FreeBSD")
|
|
|
|
OSNAME= freebsd
|
|
|
|
.else
|
|
|
|
# covers OpenBSD too
|
|
|
|
OSNAME= netbsd
|
|
|
|
.endif
|