"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.
Unbreak url2pkg on sourceforge hosted packages -- the MASTER_SITES
did not contain the trailing slash, thus breaking the download.
XXX: prdownloads.sf.net is not recognized as a sourceforge "mirror"
since the previous version of url2pkg.
Patch by pancake <pancake@phreaker.net> that permits url2pkg to scan
bsd.sites.mk and recreate the MASTER_SITE string. He has tested a bit
against GNU, GNOME, SOURCEFORGE master sites, and seems to do the things
fine.
- conversion of prdownloads.sourceforge.net URLs to
MASTER_SITE_SOURCEFORGE
- pre-fill CATEGORIES from the directory name
- educated guess about the HOMEPAGE
- now sets USE_PKGLOCALEDIR if .mo or .gmo files are found
- now recognizes GCONF schemas
- no PKGCONFIG_OVERRIDE statements for -uninstalled .pc.in files
- some minor code cleanup
COMMENTs are now a variable in the Makefile instead of a pkg/COMMENT
file. The COMMENT var should be in the maintainer block after the
homepage.
Modify bsd.pkg.mk, pkglint, url2pkg, and port2pkg (last one untested)
for the new behaviour. Document new state in Packages.txt.
This should save lots of inodes, and lots of time when untarring/updating.
Idea by Alistair Crooks.
For the time being, accept pkg/COMMENT instead of a COMMENT var to avoid
a flag day.
* Properly recognize .tar.bz2 archives (Patch by Antti Kantee <pooka@iki.fi>)
* Some old configure scripts don't understand --version and may nuke
our just-generated Makefile. Prevent this by cd'ing into $WRKSRC.
- Bugfix from Matthias Drochner WRT handling of WRKSRC
- url2pkg is now under CVS maintainance (othersrc/usr.bin/url2pkg), but
since there's no gateway for that to ftp/http, esp. none without
versioning), the old distribution site is kept.
I still wanted to point this out. :-)