summaryrefslogtreecommitdiff
path: root/www/dhttpd/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-24 09:17:18 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-24 09:17:18 +0000
commit26a0dc74c248a4f9313e6d9afe38e8698c64c889 (patch)
tree365514065636ec7e33e06328317e1e3e983c7733 /www/dhttpd/Makefile
parentupgrade to 0.27 (diff)
add dhttpd 1.02a
Minimal secure webserver. Fast and efficient, no cgi-bin support PR: 39769 Submitted by: Gea-Suan Lin <gslin@Infomath.math.NCTU.edu.tw>
Diffstat (limited to 'www/dhttpd/Makefile')
-rw-r--r--www/dhttpd/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/www/dhttpd/Makefile b/www/dhttpd/Makefile
new file mode 100644
index 000000000000..1c7c54a3bef3
--- /dev/null
+++ b/www/dhttpd/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: dhttpd
+# Date created: 24 June 2002
+# Whom: Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dhttpd
+PORTVERSION= 1.02a
+CATEGORIES= www
+MASTER_SITES= http://uts.cc.utexas.edu/~foxx/dhttpd/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= gslin@ccca.nctu.edu.tw
+
+USE_REINPLACE= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-1.02-4
+BUILD_WRKSRC= ${WRKSRC}/src
+
+MAN1= dhttpd.1
+
+STARTUP_SCRIPT= ${PORTNAME}.sh
+
+post-patch:
+ @${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," ${WRKSRC}/src/config.hh
+ @${SED} -e "s,%%PREFIX%%,${PREFIX}," ${FILESDIR}/${STARTUP_SCRIPT} > ${WRKSRC}/${STARTUP_SCRIPT}
+
+do-install:
+ ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/sbin
+ ${INSTALL_SCRIPT} ${WRKSRC}/${STARTUP_SCRIPT} ${PREFIX}/etc/rc.d
+
+.include <bsd.port.mk>