mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
227824e7d1
PR: 5725
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# New ports collection makefile for: w3c-httpd
|
|
# Version required: 3.0A
|
|
# Date created: 29 October 1994
|
|
# Whom: pst
|
|
#
|
|
# $Id: Makefile,v 1.16 1997/03/08 22:02:40 obrien Exp $
|
|
#
|
|
|
|
DISTNAME= w3c-httpd-3.0A
|
|
CATEGORIES= www
|
|
MASTER_SITES= ftp://ftp.w3.org/pub/httpd/
|
|
|
|
MAINTAINER= giffunip@asme.org
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
WWW_ROOT= ${PREFIX}/www
|
|
|
|
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:
|
|
${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
|
|
${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
|
|
|
|
.include <bsd.port.mk>
|
|
|
|
.if (${OPSYS} == "FreeBSD")
|
|
OSNAME= freebsd
|
|
.else
|
|
# covers OpenBSD too
|
|
OSNAME= netbsd
|
|
.endif
|