aboutsummaryrefslogtreecommitdiff
path: root/www/webfs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/webfs/Makefile')
-rw-r--r--www/webfs/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/webfs/Makefile b/www/webfs/Makefile
index 41bb4b265f16..fb3efe6982cd 100644
--- a/www/webfs/Makefile
+++ b/www/webfs/Makefile
@@ -14,6 +14,8 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= jedgar@FreeBSD.org
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
+USE_REINPLACE= yes
+
MAN1= webfsd.1
MIMEFILE?= ${PREFIX}/etc/webfsd/mime.types
@@ -24,8 +26,8 @@ BROKEN= "Requires FreeBSD 4.x or greater due to ipv6 support"
.endif
do-configure:
- @${PERL} -pi.orig -e 's|/etc/mime.types|${MIMEFILE}|' ${WRKSRC}/Makefile
- @${PERL} -pi.orig -e 's|/etc/mime.types|${MIMEFILE}|' ${WRKSRC}/webfsd.man
+ @${REINPLACE_CMD} -e 's|/etc/mime.types|${MIMEFILE}|' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|/etc/mime.types|${MIMEFILE}|' ${WRKSRC}/webfsd.man
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/webfsd ${PREFIX}/sbin