aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-06-16 15:03:10 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-06-16 15:03:10 +0000
commit3209d0ed2cc143797c8daed23af744fac7bae88f (patch)
tree860c1e7d1aa2270dd945fbd7842cb80ebf687386 /www
parentc00b0f53f4a755b319b5a5939106cfe959913672 (diff)
downloadports-3209d0ed2cc143797c8daed23af744fac7bae88f.tar.gz
ports-3209d0ed2cc143797c8daed23af744fac7bae88f.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/webalizer/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/www/webalizer/Makefile b/www/webalizer/Makefile
index 748dfe8d39b2..1dd3a9a42d41 100644
--- a/www/webalizer/Makefile
+++ b/www/webalizer/Makefile
@@ -60,9 +60,12 @@ CONFIGURE_ARGS+= --with-language=${WEBALIZER_LANG}
.endif
pre-configure:
- @${PERL5} -pi -e "s=/etc=${PREFIX}/etc=" ${WRKSRC}/webalizer.1
- @${PERL5} -pi -e "s=webalizer.conf=${PKGNAMEPREFIX}webalizer.conf=" \
- ${WRKSRC}/webalizer.c
+ @${MV} ${WRKSRC}/webalizer.1 ${WRKSRC}/webalizer.1.sed
+ ${SED} -e "s=/etc=${PREFIX}/etc=" \
+ ${WRKSRC}/webalizer.1.sed > ${WRKSRC}/webalizer.1
+ @${MV} ${WRKSRC}/webalizer.c ${WRKSRC}/webalizer.c.sed
+ ${SED} -e "s=webalizer.conf=${PKGNAMEPREFIX}webalizer.conf=" \
+ ${WRKSRC}/webalizer.c.sed > ${WRKSRC}/webalizer.c
.if !defined(WEBALIZER_LANG)
@${ECHO_MSG} "You can customize the language by typing"
@${ECHO_MSG} " make WEBALIZER_LANG=<lang>"