summaryrefslogtreecommitdiffstats
path: root/www/webfs/Makefile
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2001-05-08 22:34:20 +0000
committerjedgar <jedgar@FreeBSD.org>2001-05-08 22:34:20 +0000
commit6f2bf42dc92738efa594019d49f6f88c15e7f9f6 (patch)
tree6f256aa23dbd5c0f99297c7ff2458db70b58a663 /www/webfs/Makefile
parentc089453ef36d5735c6d98900b5d98f53bb22382d (diff)
downloadFreeBSD-ports-6f2bf42dc92738efa594019d49f6f88c15e7f9f6.zip
FreeBSD-ports-6f2bf42dc92738efa594019d49f6f88c15e7f9f6.tar.gz
Update port to 1.10
Diffstat (limited to 'www/webfs/Makefile')
-rw-r--r--www/webfs/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/www/webfs/Makefile b/www/webfs/Makefile
index 51ec31f..d3fa12e 100644
--- a/www/webfs/Makefile
+++ b/www/webfs/Makefile
@@ -6,15 +6,16 @@
#
PORTNAME= webfs
-PORTVERSION= 1.6
+PORTVERSION= 1.10
CATEGORIES= www ipv6
-MASTER_SITES= http://www.strusel007.de/linux/misc/
+MASTER_SITES= http://www.bytesex.org/misc/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= jedgar@FreeBSD.org
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
MAN1= webfsd.1
+MIMEFILE?= ${PREFIX}/etc/webfsd/mime.types
.include <bsd.port.pre.mk>
@@ -23,14 +24,13 @@ BROKEN= "Requires FreeBSD 4.x or greater due to ipv6 support"
.endif
do-configure:
- @${CP} ${WRKSRC}/webfsd.man ${WRKSRC}/webfsd.1
-.for file in webfsd.1 main.c Makefile
- @${PERL} -pi.orig -e 's|/etc/mime.types|${PREFIX}/etc/webfsd/mime.types|' ${WRKSRC}/${file}
-.endfor
+ @${PERL} -pi.orig -e 's|/etc/mime.types|${MIMEFILE}|' ${WRKSRC}/Makefile
+# author forgot to bump the revision number
+ @${PERL} -pi.orig -e 's|1.9|1.10|' ${WRKSRC}/main.c
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/webfsd ${PREFIX}/sbin
- @${INSTALL_MAN} ${WRKSRC}/webfsd.1 ${PREFIX}/man/man1
+ @${INSTALL_MAN} ${WRKSRC}/webfsd.man ${PREFIX}/man/man1/webfsd.1
.if !exists(${PREFIX}/etc/webfsd/mime.types)
@${MKDIR} ${PREFIX}/etc/webfsd
@${ECHO} "# Insert mime types here" > ${PREFIX}/etc/webfsd/mime.types
OpenPOWER on IntegriCloud