summaryrefslogtreecommitdiff
path: root/Mk
AgeCommit message (Collapse)Author
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.
1995-10-16Add NO_FETCH handling in the similar way as other NO_* targets doesAndrey A. Chernov
1995-10-16Fix NO_EXTRACT case: build missing WRKDIRAndrey A. Chernov
Previous variant always fails on touch work/.extract_cookie (or next following touches) because work directory not exists.
1995-10-11Add "--batch" to PATCH_ARGS and PATCH_DIST_ARGS when ${BATCH} is setSatoshi Asami
to avoid an infinite loop in patch when the patch target is not found and stdin is redirected from /dev/null (the "skip this patch? [n]" question).
1995-10-04Add CONFIGURE_ENV: pass this environment to configure script.Andrey A. Chernov
Allows pre-set some variables to eliminate wrong tests
1995-10-04Attempt to sound more civilized by adding a missing period toSatoshi Asami
"Attempting to fetch from $${site}." Why it was in PATCHFILES and not in DISTFILES, I have no idea.
1995-10-02Use full pathname for ldconfig (/sbin/ldconfig).Satoshi Asami
Hinted by: joerg
1995-09-18Split EXEC_DEPENDS into FETCH_DEPENDS, BUILD_DEPENDS and RUN_DEPENDS.Satoshi Asami
They are called from the fetch, extract and install targets, respectively. Also, only RUN_DEPENDS is put into the @pkgdep list of the package. EXEC_DEPENDS is still supported (for now), it is copied into BUILD_DEPENDS and RUN_DEPENDS. This will go away after we finish fixing all the ports Makefiles. This change fixes the following bug/features: (1) "make fetch" building and installing all the dependencies (2) Programs needed for building only (e.g., gmake) put into the packages' dependency lists ("why does the emacs package depend on gmake?") Reviewed by: the ports list