1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

path in manpage gives now the true location of the configuration file

PR:		25583
This commit is contained in:
Dirk Meyer 2001-03-10 19:03:14 +00:00
parent 3db916d092
commit 5cbfd34b78
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39449
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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>"