Now correctly install into PREFIX, not LOCALBASE.

However, this will work only if PREFIX==LOCALBASE, since it checks if
Apache's data.default dir is present (which is in LOCALBASE, not PREFIX).
(OTOH, it will be in PREFIX if it installs the apache13 dependency, so it
is correct)
This commit is contained in:
Alexander Langer 2001-08-23 19:31:55 +00:00
parent ec5730c495
commit 2cd4c891af
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46743

View File

@ -30,7 +30,7 @@ post-patch:
.for f in ${PL_FILES}
@${PERL} -pi -e 's,/usr/local/bin/perl,${PERL},' ${WRKSRC}/${f}
.endfor
@${PERL} -pi -e "s,/usr/local,${LOCALBASE},g" ${WRKSRC}/install.pl
@${PERL} -pi -e "s,/usr/local,${PREFIX},g" ${WRKSRC}/install.pl
do-install:
cd ${WRKSRC}; ${PERL} install.pl -y -c -bsdport