aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2001-03-11 03:03:14 +0800
committerdinoex <dinoex@FreeBSD.org>2001-03-11 03:03:14 +0800
commit844d8cbac0e3012a798d3c2ef67d2db27df75389 (patch)
treebef0a6a92ff52a0264ee6a1fd1e940f84d51ae62
parent2136280570d960436b5b1ec2134ba7c480c60974 (diff)
downloadfreebsd-ports-gnome-844d8cbac0e3012a798d3c2ef67d2db27df75389.tar.gz
freebsd-ports-gnome-844d8cbac0e3012a798d3c2ef67d2db27df75389.tar.zst
freebsd-ports-gnome-844d8cbac0e3012a798d3c2ef67d2db27df75389.zip
path in manpage gives now the true location of the configuration file
PR: 25583
-rw-r--r--german/webalizer2/Makefile1
-rw-r--r--www/webalizer/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/german/webalizer2/Makefile b/german/webalizer2/Makefile
index f472a2498fef..b9eb65b29164 100644
--- a/german/webalizer2/Makefile
+++ b/german/webalizer2/Makefile
@@ -37,6 +37,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S/-src$//}
PLIST_SUB+= PKGNAMEPREFIX=${PKGNAMEPREFIX}
pre-configure:
+ @${PERL5} -pi -e "s=/etc=${PREFIX}/etc=" ${WRKSRC}/webalizer.1
@${PERL5} -pi -e "s=webalizer.conf=${PKGNAMEPREFIX}webalizer.conf=" \
${WRKSRC}/webalizer.c
diff --git a/www/webalizer/Makefile b/www/webalizer/Makefile
index 7a56c3845f87..d7c60e435ebd 100644
--- a/www/webalizer/Makefile
+++ b/www/webalizer/Makefile
@@ -45,6 +45,7 @@ CONFIGURE_ARGS+= --with-language=${WEBALIZER_LANG}
.endif
pre-configure:
+ @${PERL5} -pi -e "s=/etc=${PREFIX}/etc=" ${WRKSRC}/webalizer.1
.if !defined(WEBALIZER_LANG)
@${ECHO_MSG} "You can customize the language by typing"
@${ECHO_MSG} " make WEBALIZER_LANG=<lang>"