1999-09-28 22:40:02 +02:00
|
|
|
# $NetBSD: Makefile,v 1.4 1999/09/28 20:40:05 soren Exp $
|
1999-05-09 22:51:22 +02:00
|
|
|
# FreeBSD Id: Makefile,v 1.19 1999/01/08 19:59:26 fenner Exp
|
|
|
|
|
|
|
|
DISTNAME= w3c-httpd-3.0A
|
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= ftp://ftp.w3.org/pub/httpd/ \
|
|
|
|
ftp://ftp-eu.w3.org/pub/httpd/
|
|
|
|
|
1999-05-09 23:12:32 +02:00
|
|
|
MAINTAINER= package@netbsd.org
|
|
|
|
HOMEPAGE= http://www.w3.org/pub/WWW/Daemon/
|
1999-05-09 22:51:22 +02:00
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
do-install:
|
1999-05-10 09:48:01 +02:00
|
|
|
${MKDIR} ${PREFIX}/etc/w3c-httpd ${PREFIX}/share/w3c-httpd
|
|
|
|
${CP} -R ${WRKSRC}/server_root/icons ${PREFIX}/share/w3c-httpd
|
|
|
|
${CP} ${WRKSRC}/server_root/config/*.conf ${PREFIX}/etc/w3c-httpd
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Daemon/${OSNAME}/httpd ${PREFIX}/sbin/w3c-httpd
|
1999-05-09 22:51:22 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Daemon/${OSNAME}/htadm ${PREFIX}/bin
|
1999-05-10 09:48:01 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Daemon/${OSNAME}/htimage ${PREFIX}/sbin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Daemon/${OSNAME}/cgiparse ${PREFIX}/sbin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Daemon/${OSNAME}/cgiutils ${PREFIX}/sbin
|
1999-05-09 22:51:22 +02:00
|
|
|
|
1999-09-28 22:40:02 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|
1999-05-09 22:51:22 +02:00
|
|
|
|
|
|
|
.if (${OPSYS} == "FreeBSD")
|
|
|
|
OSNAME= freebsd
|
|
|
|
.else
|
|
|
|
# covers OpenBSD too
|
|
|
|
OSNAME= netbsd
|
|
|
|
.endif
|