summaryrefslogtreecommitdiff
path: root/Mk
AgeCommit message (Collapse)Author
1996-12-04Optimize by changing "sort | uniq" -> "sort -u". "make index" is nowSatoshi Asami
412 secs instead of 498 secs on my machine! Submitted by: fenner
1996-11-30Merge from RELENG_2_2 (duh). See rev 1.227.2.4 for details.Satoshi Asami
1996-11-14Just realized that the spacing after "==>" is not consistent. I'mSatoshi Asami
terribly sorry, please merge this into 2.2 as well.
1996-11-14Oops, forgot to silencethe gzip command to compress manpages.Satoshi Asami
It will be nice if this went into 2.2, I guess. Reminded by: max
1996-11-13(1) There is no default "orphans" for CATEGORIES, it simply fails ifSatoshi Asami
you have a Makefile without one. (2) Fix case when user had DISTDIR defined elsewhere and DIST_SUBDIR is also defined. (Submitted by: max) (3) Add several popular master sites as variables. For instance, MASTER_SITE_XCONTRIB is defined to be a list of X11R6 contrib sites, which you can set MASTER_SITES to in your Makefile if you just want ftp.x.org or any of the mirror sites. There is also a new variable, MASTER_SITE_SUBDIR, to specify which subdirectory of the master site your tarball is located. One nice thing this enables the user to do is to define the nearest mirror site in /etc/make.conf. This is especially useful for continents without a full FreeBSD master site. Eventually, we will probably split this into a separate file (bsd.port.sites.mk?), and add some more sites from all corners of the world. Right now, XCONTRIB, GNU, PERL_CPAN, TEX_CTAN, and SUNSITE are supported. (4) COMPRESS_MAN command alias is replaced by MAN[1-9LN] variables. You just say "MAN1=foo.1 bar.1" and the make rules will automatically compress it for you if necessary. (Idea by: obrien) (5) New "distclean" target to delete distfile too. (Submitted by: obrien) (6) Chained dependency cleaning, can be turned off by NOCLEANDEPENDS. Reviewed by: the ports list
1996-11-03Set tabstops to 4 in vi like in emacs.David E. O'Brien
1996-11-01(1) Add NetBSD support. Closes PR bin/1643.Satoshi Asami
Submitted by: Jason Thorpe <thorpej@nas.nasa.gov> (2) Remove the bogus "CAT+=" definition. Closes PR ports/1703. Submitted by: Peter Childs <pjchilds@imforei.apana.org.au> (3) Change MKDIR to "/bin/mkdir -p", remove "-p" from ${MKDIR} invocations. Closes PR ports/1901. Submitted by: obrien (4) Add a new macro variable COMPRESS_MAN, which will evaluate to gzip if NOMANCOMPRESS isn't set (default), or true if it is. (5) Add a new variable NO_CHECKSUM, which will disable the md5 checksum. Submitted by: jkh (6) Also, move NO_PATCH and NO_PACKAGE checks to right place in invocation order. (7) Check for LIB_DEPENDS before installation too. (It used to check only before extraction.) Forgotten a long time ago by: asami
1996-09-24Back out changes in rev. 1.217 -- ${CONFIGURE_SCRIPT} is notSatoshi Asami
meant to rename the name of script in ${SCRIPTDIR}.
1996-09-23Look on the CDROM for patch files too.Satoshi Asami
Submitted by: max While I'm here, add "${DIST_SUBDIR}/" at end of CDROM pathnames. Also add an empty declaration of PATCH_SITES next to MASTER_SITES to avoid "variable recursive" error.
1996-08-25/bin/echo -> ${ECHO}Wolfram Schneider
/usr/bin/sed -> ${SED}
1996-08-24Use the new "file:" URL specification to fetch to check the CDROMSatoshi Asami
first if /cdrom/ports/distfiles exists. If FETCH_SYMLINK_DISTFILES is set, symlink the file instead of copying. Reviewed by: jhk
1996-08-20Update explanation of *_DEPENDS, in particular note that bsd.port.mkSatoshi Asami
can now check existence of files specified by full pathnames, not only executables.
1996-08-18(1) Use INSTALL_PROGRAM where we attempt to pass this command lineSatoshi Asami
to configure. (2) Gently warn user for non-0022 umasks. Submitted by: "David E. O'Brien" <obrien@Nuxi.cs.ucdavis.edu> (1)
1996-08-17(1) Ignore patches directory without a patch with a message instead ofSatoshi Asami
bombing mercilessly. (2) If that directory has a directory called CVS, remind the user of the existence of the "-P" option to cvs co and update. (3) While I'm here, clean up the PATCH_DEBUG code a bit. In particular, don't duplicate a whole bunch of code just for adding a single "echo" statement. ;) Reviewed by: the ports list
1996-08-15(1) Add myself as MAINTAINER (of this file) -- commented out so itSatoshi Asami
won't be pulled into individual ports that include this file. ;) (2) Document MOTIFLIB, it's not set in the ports Makefiles but is important for Motif ports (already documented in the handbook). (3) Add INSTALL_PROGRAM, INSTALL_SCRIPT, INSTALL_DATA, INSTALL_MAN as "aliases" of the appropriate install command line, for use in *-install targets. Reviewed by: the ports list (item 3 only)
1996-08-07Make explanation of BUILD_DEPENDS less confusing.Satoshi Asami
Requested by: Narvi <narvi@haldjas.folklore.ee>
1996-07-27Fixed bug, that CONFIGURE_SCRIPT in a port's Makefile doesn't haveAndreas Klemm
any effect. The target do-configure used ${SCRIPTDIR}/configure instead of ${SCRIPTDIR}/${CONFIGURE_SCRIPT}. -andreas
1996-07-05Remove now-unused SRC_ENCAPSULATION hack.Jordan K. Hubbard
1996-06-26Add a missing space in a commentGary Palmer
1996-06-24Bring in my changes for removing the pestilent obj links (unless youJordan K. Hubbard
really want them) from /usr/src. This is the final version of the patches, incorporating the feedback I've received from -current.
1996-06-22Correct spelling errors (i before e except after c :-) )Gary Palmer
Submitted by: James Raynard <jraynard>
1996-06-20Handle the `distribute' target.Jordan K. Hubbard
1996-06-20Whoops - I made `make clean' chatty by mistake.Jordan K. Hubbard
1996-06-19The changes to go with ncftp -> fetch. Besides changing the names,Satoshi Asami
standardize the variables a little, and simplify some parts because we can now trust the fetcher's return value. Reviewed by: the list
1996-06-19Spit out the a proper port path for the describe target.Jordan K. Hubbard
Submitted-By: Chuck Robey <chuckr@Glue.umd.edu>
1996-06-19Ok, now cleandir: is correct.Jordan K. Hubbard
1996-06-19Add some unobtrusive changes to handle sources which aren't portsJordan K. Hubbard
(SRC_ENCAPSUATION). Stick in some cd ${.CURDIR} directives which have been (benignly) missing all this time. Allow more types of targets to be selectively disabled.
1996-06-13Add "MASTER_SITES?=" (no this is not a typo) right before theSatoshi Asami
"MASTER_SITES:= ..." of defined(MASTER_SITE_OVERRIDE) case, otherwise it would cause a recursive variable definition error when MASTER_SITE_OVERRIDE is set and MASTER_SITES is not set.
1996-06-01Add some comments to sections to disable targets using NO_* variables.Satoshi Asami
Remove disabling of "repackage", that thing calls package anyway. Submitted by: (mostly) jkh
1996-05-30Set MAKE_ENV and CONFIGURE_ARGS with += instead of ?=, it is easier toSatoshi Asami
add things this way. Reviewed by: ache
1996-04-27Fix a minor grammatical error (reselled -> resold) I just noticed.Jordan K. Hubbard
1996-04-26Add CFLAGS=${CFLAGS} to MAKE_ENV, otherwise gmake won't pick it up.Satoshi Asami
1996-04-12Add NO_CDROM, RESTRICTED, BROKEN and Motif support.Satoshi Asami
(1) The new NO_CDROM Boolean variable means "don't put the distfile/ package on the CDROM you're going to sell". It will basically turn off everything if FOR_CDROM is set. Many of the NO_PACKAGE ports are actually "don't sell for profit" types, which we shouldn't have any problem distributing via ftp. (2) The new RESTRICTED Boolean variable means don't build this unless you know what you are doing. It doesn't have any effect unless NO_RESTRICTED is also set. (3) BROKEN means this port is broken. At least it will now show up in INDEX and README.html, and give people more incentive to fix (I hope). RESTRICTED and BROKEN are expected to replace the pseudo-targets in parent Makefiles. (The RESTRICTED and BROKEN list didn't do anything before, they were solely for grepping purposes.) (4) The Motif support brings in four new variables: REQUIRES_MOTIF, which the porter sets for ports that require Motif to build; HAVE_MOTIF, which the user sets to indicate the system has Motif; MOTIF_STATIC, which the user sets to indicate that the static libXm, instead af the default dynamic library, is to be used; and MOTIFLIB, which is set to "${X11BASE}/lib/libXm.a" or "-L${X11BASE}/lib -lXm", depending on whether MOTIF_STATIC is set. The porter is expected to replace all occurrences of libXm in the {Im,M}akefiles with ${MOTIFLIB}, and this will allow both dynamic linkage (for users with Motif) and static linkage (for those who build packages to be used by those withot Motif, i.e., me ;) automatically. Original Motif support idea by: graichen
1996-04-09use .for loop for common targetsWolfram Schneider
1996-04-07Change ${ENV} -> ${SETENV}. The former coincides with startup fileSatoshi Asami
names of bash et al. Submitted by: Thomas Gellekum <thomas@ghpc8.ihf.rwth-aachen.de>
1996-04-01Thanks for the overwhelming response (which can be only summarized by theSatoshi Asami
word: "zilch"). I guess the only way to get people try and comment on these kind of things is to shove it down their throat.... ;) Anyway, here's a set of changes required for auto-generation of READMEs in ports directories. Necessary changes and additions of templates to the ports tree will follow shortly. Eventually I'll commit all the generated READMEs to the tree, but that will be in the rather distant future. For now, I encourage anyone with a -current systam and a matching ports tree to do a "make readmes" at the top level and see what they get. Next step will be to add pkg/{COMMENT,DESCR} to all the categories.
1996-03-31Change name of variable to LOCALBASE, to keep it symmetric with X11BASE,Satoshi Asami
which has been in the tree for a much longer time. Sorry for the multiple commits and I know I shouldn't be doing this but my hamster tells me to be orthogonal...("hey Phoenix, do you think I should call it LOCALBASE?" "squeak" "ok, if you say so").
1996-03-31Add a variable LOCAL_PREFIX that defaults to "/usr/local", as aSatoshi Asami
counterpart to X11BASE (default "/usr/X11R6"). Now PREFIX is set to ${X11BASE} or ${LOCAL_PREFIX} depending on whether USE_IMAKE or USE_X11 is set or not. This enables us to refer to non-X ports from X ports using ${LOCAL_PREFIX}, thus removing most of the remaining "/usr/local"s from the ports tree. This will also allow the system administrator to move the whole "local" tree to somewhere else, without affecting X ports. (Of course not all ports are necessarily happy with that, but we're working on it.) Based on: an idea that came up while I was watching a football game several months ago ("hey, maybe I can move that sideline without disturbing the other!")
1996-03-24remove BINGRP?= BINOWN?= BINMODE?=Wolfram Schneider
1996-03-10Replace PATCH_PRFX with a more generic DIST_SUBDIR. If it is set toSatoshi Asami
"foo", what this does is: (1) Put all distfiles and patchfiles in /usr/ports/distfiles/foo (2) Go to ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/foo when the master site is down When your port has a lot of dist/patchfiles, or has a file that does not have a very port-specific name (e.g., "Makefile"), set this variable instead of redefining DISTDIR. (If you redefine DISTDIR, (1) will work but (2) will not.) Agreed that it's a good idea by: adam
1996-03-06Delete all references to the variable ${KEYWORD} that never quite flew.Satoshi Asami
(Sorry Jordan, but your other idea (${CATEGORIES}) was a major hit.) Also remove the keyword field in the INDEX line and replace it with two columns: build-time dependencies and run-time dependencies. They are both list of package names (minus the ".tgz").
1996-03-06Replace absolute pathnames with variables, so thatSatoshi Asami
(1) people can have weird paths and it will still work, and (2) if you really need to use /usr/local/bin/cp instead of /bin/cp, you can do that by changing only one line. Submitted by: wosch
1996-02-16Add a check for when the user tries to FTP over a symlink in ${DISTDIR}.Jordan K. Hubbard
1996-02-08correct semantic error in the English usage:Adam David
distributed patches --> distribution patches
1996-02-07Mention "make reinstall" in the message that gets printed out whenSatoshi Asami
/var/db/pkg/${PKGNAME} exists. ("make install" will do nothing because this is not a critical error and the installation is treated as successful.) Closes PR 870.
1996-02-06Add NCFTP tailer arguments: ${NCFTPTAIL} variableAndrey A. Chernov
Since it is empty in normal case, it not affect anything It is useful for ncftp -c ugly_name > nice_name ^^^^^^^^^^^ ${NCFTPTAIL}
1995-12-07Add support for ALL_HOOK feature. Lets you replace the `all' targetJordan K. Hubbard
with something of your own devising.
1995-11-26Make the {FETCH,BUILD,RUN}_DEPEND targets work with non-executable filesSatoshi Asami
too. Basically, if the name starts with a "/", it's tested with "test -e"; otherwise, it's tested with "witch -s". Reviewed by: the ports list (well at least nobody complained)
1995-11-17Use NO_MTREE, not !USE_X11 && !USE_IMAKE, to determine package args.Satoshi Asami
NO_MTREE should work as advertised (for both direct installation and pkg_add) now.
1995-10-17Back out the two latest changes. The -current branch is now equal toSatoshi Asami
the -stable branch except the change between 1.182 -> 1.183.