summaryrefslogtreecommitdiffstats
path: root/www/webfs/Makefile
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-11-26 19:34:11 +0000
committersteve <steve@FreeBSD.org>1999-11-26 19:34:11 +0000
commit1358635f001ed2bd2c4c869b45e3e2e890dfe170 (patch)
tree0dc95ca15a4c30f41ba99fef9ad43c9e2bdf673e /www/webfs/Makefile
parentbe21fe6ac5694c7d0fcd8b37d2b04d6a02b122c0 (diff)
downloadFreeBSD-ports-1358635f001ed2bd2c4c869b45e3e2e890dfe170.zip
FreeBSD-ports-1358635f001ed2bd2c4c869b45e3e2e890dfe170.tar.gz
Initial import of webfs version 0.6.
A simple http server for static content. PR: 14409 Submitted by: Chris D. Faulhaber <jedgar@fxp.org>
Diffstat (limited to 'www/webfs/Makefile')
-rw-r--r--www/webfs/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/www/webfs/Makefile b/www/webfs/Makefile
new file mode 100644
index 0000000..6bd2195
--- /dev/null
+++ b/www/webfs/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: webfs
+# Version required: 0.6
+# Date created: 18 October 1999
+# Whom: Chris D. Faulhaber <jedgar@fxp.org>
+#
+# $FreeBSD$
+#
+
+DISTNAME= webfs-0.6
+CATEGORIES= www
+MASTER_SITES= http://www.IN-Berlin.DE/User/kraxel/dl/
+
+MAINTAINER= jedgar@fxp.org
+
+MAN1= webfsd.1
+
+do-configure:
+ @${SED} -e 's|/etc/mime.types|${PREFIX}/etc/webfsd/mime.types|' \
+ < ${WRKSRC}/webfsd.man > ${WRKSRC}/webfsd.1
+ @${MV} ${WRKSRC}/main.c ${WRKSRC}/main.c.orig
+ @${SED} -e 's|/etc/mime.types|${PREFIX}/etc/webfsd/mime.types|' \
+ < ${WRKSRC}/main.c.orig > ${WRKSRC}/main.c
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/webfsd ${PREFIX}/sbin
+ @${INSTALL_MAN} ${WRKSRC}/webfsd.1 ${PREFIX}/man/man1
+ @${MKDIR} ${PREFIX}/etc/webfsd
+ @${ECHO} "# Insert mime types here" > ${PREFIX}/etc/webfsd/mime.types
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud