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
|
|
|
|
# Whom: pst
|
|
|
|
#
|
1998-02-20 18:39:58 +00:00
|
|
|
# $Id: Makefile,v 1.16 1997/03/08 22:02:40 obrien 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
|
1997-01-09 03:07:52 +00:00
|
|
|
MASTER_SITES= ftp://ftp.w3.org/pub/httpd/
|
1995-10-03 07:03:50 +00:00
|
|
|
|
1998-02-20 18:39:58 +00:00
|
|
|
MAINTAINER= giffunip@asme.org
|
1997-01-09 03:07:52 +00:00
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
1994-10-29 20:28:01 +00:00
|
|
|
|
|
|
|
WWW_ROOT= ${PREFIX}/www
|
|
|
|
|
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
|