Personal patches
fd5131ad95
will be expanded multiple times if ${MASTER_SITE_SUBDIR} contains more than one item. Reviewed by: Bill "Mr. distfiles" Fenner (2) Replace stale site with a good one in MASTER_SITE_GNU. Submitted by: Bill "Mr. mastersites" Fenner (3) Add new variable USE_BZIP2, which, like USE_GMAKE, will change the default decompression method of distfiles from gzip to bzip2. Since tar doesn't have a simple flag to turn on bzip2 decompression, I changed the way EXTRACT_CMD and EXTRACT_{BEFORE,AFTER}_ARGS work. These are the new defaults: EXTRACT_CMD: gzip or bzip2 EXTRACT_BEFORE_ARGS: -dc EXTRACT_AFTER_ARGS: | tar -xf - (They used to be "tar", "-xzf", and "", respectively, before.) Also, EXTRACT_SUFX will default to ".tar.bz2" if USE_BZIP2 is set. There are a few things porters should be careful about: (a) If you are using bsd.port.{pre,post}.mk, USE_BZIP2 should be set before the .include of pre.mk. (b) Do not use ${EXTRACT_SUFX} as an alias of tar. There is a new variable ${TAR} for that purpose. (c) If you are calling ${EXTRACT_CMD} directly, you need both ${EXTRACT_BEFORE_ARGS} and ${EXTRACT_AFTER_ARGS} in the command line. (The latter was previously empty so could be omitted -- that is no longer the case.) (d) If you need to set any of EXTRACT_CMD, EXTRACT_BEFORE_ARGS or EXTRACT_AFTER_ARGS, define all three, even if they are the default. The values of these variables may very well change in the future (but the calling syntax probably will not) so it will save the port from breakage when that happens. Tested by: recompiling the entire ports tree |
||
---|---|---|
archivers | ||
astro | ||
audio | ||
benchmarks | ||
biology | ||
cad | ||
chinese | ||
comms | ||
converters | ||
databases | ||
deskutils | ||
devel | ||
dns | ||
editors | ||
emulators | ||
finance | ||
ftp | ||
games | ||
german | ||
graphics | ||
irc | ||
japanese | ||
java | ||
korean | ||
lang | ||
math | ||
mbone | ||
misc | ||
Mk | ||
multimedia | ||
net | ||
net-im | ||
net-mgmt | ||
news | ||
palm | ||
ports-mgmt | ||
russian | ||
science | ||
security | ||
shells | ||
sysutils | ||
Templates | ||
textproc | ||
Tools | ||
vietnamese | ||
www | ||
x11 | ||
x11-clocks | ||
x11-fm | ||
x11-fonts | ||
x11-servers | ||
x11-themes | ||
x11-toolkits | ||
x11-wm | ||
.cvsignore | ||
INDEX | ||
LEGAL | ||
Makefile | ||
README | ||
YEAR2000 |
This is the FreeBSD Ports Collection. For an easy to use WEB-based interface to it, please see: http://www.freebsd.org/ports For general information on the ports collection, please see the FreeBSD Handbook which is available from: file://localhost/usr/share/doc/handbook/handbook.html (if you installed the doc distribution on your machine) Or: http://www.freebsd.org/handbook/handbook.html for the latest official version from FreeBSD-current. The section "The Ports Collection" will tell you how to use the ports and packages and the "Porting Applications" section describes how one can contribute to the ports collection. If you would like to search for a given port, you can do so easily by saying: make search key="<keyword>" Which will generate a list of all ports matching <keyword>. NOTE: This tree can GROW significantly in size during normal usage! The distribution tar files can and do accumulate in /usr/ports/distfiles, and the individual ports will also use up lots of space in their work subdirectories unless you remember to "make clean" after you're done building a given port. /usr/ports/distfiles can also be periodically cleaned without ill-effect, though if you don't have the original distribution tarball(s) for something on CDROM then you will need to pull it all over your network connection again if you ever try to build the associated port.