summaryrefslogtreecommitdiffstats
path: root/www/webfs
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-11-27 01:02:39 +0000
committersteve <steve@FreeBSD.org>1999-11-27 01:02:39 +0000
commitbf58fd25a3dff3872d8c4887a3cfa502cea2f047 (patch)
tree79bea14f3caf6f6e2c275ccc1d2ad3acf0df9046 /www/webfs
parent60759483695c8a0b129a60451714f0c20cf478b3 (diff)
downloadFreeBSD-ports-bf58fd25a3dff3872d8c4887a3cfa502cea2f047.zip
FreeBSD-ports-bf58fd25a3dff3872d8c4887a3cfa502cea2f047.tar.gz
Update to version 0.7.
PR: 15106 Submitted by: maintainer
Diffstat (limited to 'www/webfs')
-rw-r--r--www/webfs/Makefile14
-rw-r--r--www/webfs/distinfo2
2 files changed, 8 insertions, 8 deletions
diff --git a/www/webfs/Makefile b/www/webfs/Makefile
index 6bd2195..62de6bf 100644
--- a/www/webfs/Makefile
+++ b/www/webfs/Makefile
@@ -1,12 +1,12 @@
# New ports collection makefile for: webfs
-# Version required: 0.6
+# Version required: 0.7
# Date created: 18 October 1999
# Whom: Chris D. Faulhaber <jedgar@fxp.org>
#
# $FreeBSD$
#
-DISTNAME= webfs-0.6
+DISTNAME= webfs-0.7
CATEGORIES= www
MASTER_SITES= http://www.IN-Berlin.DE/User/kraxel/dl/
@@ -15,16 +15,16 @@ 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
+ @${CP} ${WRKSRC}/webfsd.man ${WRKSRC}/webfsd.1
+ @${PERL} -pi.orig -e 's|/etc/mime.types|${PREFIX}/etc/webfsd/mime.types|' ${WRKSRC}/webfsd.1
+ @${PERL} -pi.orig -e 's|/etc/mime.types|${PREFIX}/etc/webfsd/mime.types|' ${WRKSRC}/main.c
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/webfsd ${PREFIX}/sbin
@${INSTALL_MAN} ${WRKSRC}/webfsd.1 ${PREFIX}/man/man1
+.if !exists(${PREFIX}/etc/webfsd/mime.types)
@${MKDIR} ${PREFIX}/etc/webfsd
@${ECHO} "# Insert mime types here" > ${PREFIX}/etc/webfsd/mime.types
+.endif
.include <bsd.port.mk>
diff --git a/www/webfs/distinfo b/www/webfs/distinfo
index 6a4a2f5..93f3192 100644
--- a/www/webfs/distinfo
+++ b/www/webfs/distinfo
@@ -1 +1 @@
-MD5 (webfs-0.6.tar.gz) = b3bffd6cfd8a24d5bfb7e68eca0a165f
+MD5 (webfs-0.7.tar.gz) = 0b2b270bdd8e063bb50fe982a48fa0ed
OpenPOWER on IntegriCloud