From 6f2bf42dc92738efa594019d49f6f88c15e7f9f6 Mon Sep 17 00:00:00 2001 From: jedgar Date: Tue, 8 May 2001 22:34:20 +0000 Subject: Update port to 1.10 --- www/webfs/Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'www/webfs/Makefile') diff --git a/www/webfs/Makefile b/www/webfs/Makefile index 51ec31ff351e..d3fa12e71f0d 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 @@ -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 -- cgit