summaryrefslogtreecommitdiff
path: root/www/webfs
diff options
context:
space:
mode:
Diffstat (limited to 'www/webfs')
-rw-r--r--www/webfs/Makefile11
-rw-r--r--www/webfs/distinfo2
2 files changed, 8 insertions, 5 deletions
diff --git a/www/webfs/Makefile b/www/webfs/Makefile
index ad792d446ea8..50d3d3e44aa5 100644
--- a/www/webfs/Makefile
+++ b/www/webfs/Makefile
@@ -6,18 +6,21 @@
#
PORTNAME= webfs
-PORTVERSION= 1.0
+PORTVERSION= 1.6
CATEGORIES= www
-MASTER_SITES= http://me.IN-Berlin.DE/~kraxel/dl/
+MASTER_SITES= http://www.strusel007.de/linux/misc/
+DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= jedgar@FreeBSD.org
+WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
MAN1= webfsd.1
do-configure:
@${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
+.for file in webfsd.1 main.c Makefile
+ @${PERL} -pi.orig -e 's|/etc/mime.types|${PREFIX}/etc/webfsd/mime.types|' ${WRKSRC}/${file}
+.endfor
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/webfsd ${PREFIX}/sbin
diff --git a/www/webfs/distinfo b/www/webfs/distinfo
index 2adcf2498b54..cdc6c198bffb 100644
--- a/www/webfs/distinfo
+++ b/www/webfs/distinfo
@@ -1 +1 @@
-MD5 (webfs-1.0.tar.gz) = e820ccf43f9f38d181d48928e0de6369
+MD5 (webfs_1.6.tar.gz) = 8be3bd865bb193c8dfc9c079e580cb9f