Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
* Partial fix for PR pkg/47335
** Define some variables
** Define empty function neatvalue
** Generate Makefile before custom MakeMaker.pm invocation
to avoid no Makefile error.
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
- add an appropriate comma;
- correct (also macro wise) / rewrite `EXAMPLES' section;
- replace packages(7) reference in `SEE ALSO' with pkgsrc(7) one
(src/share/man/man7/packages.7 was removed in 2007);
- remove ``Documentation on the NetBSD Package System'' reference
from `SEE ALSO' (it's referenced in pkgsrc(7));
- remove unneccesary `.br' macro (and low level macros should
generally not be used anyway);
- remove `BUGS' section, as the ``bug'' described in it isn't a
bug at all;
- bump date.
From Bug Hunting.
tech-pkg.
Commented out the LICENSE definition, since pkg_admin is very picky
about invalid values. Having either "" or "LICENSE" as the value doesn't
let you even fetch and extract the distfiles.
Changes since 2.3:
- When more than one directory exists in WRKDIR after extracting the
distfile, a helpful comment is added to the generated Makefile.
Changes since 2.2:
- Detect more sourceforge download URLs.
- wrksrc_files and wrksrc_dirs are looked for in WRKSRC, not in WRKDIR.
- When the URL is being read in and an EOF occurs, the program exits.
Changes since 2.0:
- Made the dependency detection for Perl modules work again. The code
does not assume to be run in a special directory anymore.
- Perl modules that use the prompt() function to query the user
interactively can be handled. All questions are assumed to be answered
by just pressing <enter>.
- Made url2pkg more robust when interpreting the output of MakeMaker.pm.
Many Perl modules write additional things to stdout during the
generation of the Makefile.
- The language for the *.f files is "fortran", not "f".
- Fixed the regular expression for prdownloads.sourceforge.net links, so
that the distfile name is properly extracted.
Rewrote url2pkg in Perl, enhancing it in several ways:
- Packages for Perl modules using MakeMaker can be generated almost
completely. The only thing that usually needs to be filled out after
running url2pkg is the DESCR file.
- USE_LANGUAGES is filled automatically.
- After generating the initial Makefile, the editor is run to let the
user edit the Makefile. These changes are preserved as much as
possible. (This had not been the case before.)
- Extending url2pkg has been made much easier by splitting the tasks that
do the "magic" into small subroutines and by adding a detailed
description of what these routines are supposed to do.
Set the version number to 2.0.
"extract" script for extraction. Many cases where a custom EXTRACT_CMD
simply copied the distfile into the work directory are no longer
needed. The extract script also hides differences between pax and
tar behind a common command-line interface, so we no longer need code
that's conditional on whether EXTRACT_USING is tar or pax.