first component is now a package name+version/pattern, no more
executable/patchname/whatnot.
While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).
Patch by Alistair Crooks <agc@netbsd.org>
ones to do, and each compiled and installed/de-installed apparently
correctly.
As a side effect of the dynamic PLIST, we no longer need to have separate
-static and -shared PLISTs. It's now easier than ever to make a perl5
package for NetBSD :)
* Substitute ${PREFIX} instead of ${LOCALBASE} for location of installed
files.
* Use only one ${SED} invocation instead of four to speed things up.
* Add a comment to ${PKGDIR}/PLIST to make explicit at which point the PLIST
is generated dynamically.
Include code in the Makefile to show how to use the installed .packlist
to dynamically generate a PLIST for this package. I couldn't use the
solution proposed on tech-pkg since eperl installed some stuff in
${PERL5_SITELIB} under perl-5.00404, but in ${PERL_SITEARCH} under
perl-5.6.0. I imagine other modules will also show this difficulty
since the Makefile for eperl was generated by ExtUtils::MakeMaker, so I
think the .packlist way is the right thing to do.