# New ports collection makefile for: dhttpd # Date created: 24 June 2002 # Whom: Gea-Suan Lin # # $FreeBSD$ # PORTNAME= dhttpd PORTVERSION= 1.02a CATEGORIES= www MASTER_SITES= http://bsd-geek.de/FreeBSD/distfiles/ EXTRACT_SUFX= .tgz MAINTAINER= lme@FreeBSD.org COMMENT= Minimal secure webserver. Fast and efficient, no cgi-bin support WRKSRC= ${WRKDIR}/${PORTNAME}-1.02-4 BUILD_WRKSRC= ${WRKSRC}/src PLIST_FILES= sbin/dhttpd MAN1= dhttpd.1 USE_RC_SUBR= dhttpd.sh pre-everything:: @${ECHO_MSG} "==============================================================" @${ECHO_MSG} "To change the default document root" @${ECHO_MSG} "${PREFIX}/www/data edit" @${ECHO_MSG} "${FILESDIR}/patch-config.hh" @${ECHO_MSG} "for your needs and re-compile dhhtpd." @${ECHO_MSG} "==============================================================" post-patch: @${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," ${WRKSRC}/src/config.hh \ ${WRKSRC}/dhttpd.1 do-install: ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1 ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/sbin .include