diff options
Diffstat (limited to 'textproc/eperl/Makefile')
-rw-r--r-- | textproc/eperl/Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/textproc/eperl/Makefile b/textproc/eperl/Makefile index 74429685ff7..cbd7fbf7a3f 100644 --- a/textproc/eperl/Makefile +++ b/textproc/eperl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2000/08/15 01:12:15 jlam Exp $ +# $NetBSD: Makefile,v 1.3 2000/08/24 08:20:44 jlam Exp $ # DISTNAME= eperl-2.2.14 @@ -13,6 +13,7 @@ DEPENDS= libperl-5.*:../../lang/libperl USE_PERL5= # defined PERL= ${LOCALBASE}/bin/perl +P5_PACKLIST= ${P5_SITEARCH}/auto/Parse/ePerl/.packlist GNU_CONFIGURE= # defined ALL_TARGET= all libeperl.a @@ -32,22 +33,21 @@ post-install: # # Add the installed files to the PLIST. # - (${CAT} ${P5_PACKLIST}; for f in ${P5_PACKLIST}; do echo $$f; done) \ - | ${SED} -e "s,/./,/,g" -e "s,${LOCALBASE}/,," \ + ( ${CAT} ${P5_PACKLIST}; for f in ${P5_PACKLIST}; do echo $$f; done ) \ + | ${SED} -e "s,/./,/,g" -e "s,${PREFIX}/,," \ | sort -u \ >> ${PLIST_SRC} # # We're not sure which directories are empty and can be deleted, so # try them all, but ignore failures. # - (${CAT} ${P5_PACKLIST}; for f in ${P5_PACKLIST}; do echo $$f; done) \ - | ${SED} -e "s,/./,/,g" -e "s,${LOCALBASE}/,," \ - | ${SED} -e "s,/[^/]*$$,," | sort -ur \ - | ${SED} -e "s,^,@unexec rmdir -p %D/," \ - | ${SED} -e "s,$$, 2>/dev/null || true," \ + ( ${CAT} ${P5_PACKLIST}; for f in ${P5_PACKLIST}; do echo $$f; done ) \ + | ${SED} -e "s,/./,/,g" -e "s,${PREFIX}/,," \ + -e "s,^,@unexec rmdir -p %D/," \ + -e "s,/[^/]*$$, 2>/dev/null || true," \ + | sort -ur \ >> ${PLIST_SRC} .include "../../mk/bsd.pkg.mk" P5_SITEARCH!= eval `${PERL} -V:installsitearch`; echo $${installsitearch} -P5_PACKLIST= ${P5_SITEARCH}/auto/Parse/ePerl/.packlist |