summaryrefslogtreecommitdiffstats
path: root/www/webalizer
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-06-16 15:03:10 +0000
committerdinoex <dinoex@FreeBSD.org>2002-06-16 15:03:10 +0000
commitfd64cc1ce59cc2c7732d14183fbb09c1530a6fca (patch)
treef2b90f36648fe13ed28fdddbabab21b4f8e0d784 /www/webalizer
parent95776cd25c1f4f9a7a4a975fd6c165ae559dc920 (diff)
downloadFreeBSD-ports-fd64cc1ce59cc2c7732d14183fbb09c1530a6fca.zip
FreeBSD-ports-fd64cc1ce59cc2c7732d14183fbb09c1530a6fca.tar.gz
- Get rid of PERL and use SED
Diffstat (limited to 'www/webalizer')
-rw-r--r--www/webalizer/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/www/webalizer/Makefile b/www/webalizer/Makefile
index 748dfe8..1dd3a9a 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>"
OpenPOWER on IntegriCloud