summaryrefslogtreecommitdiff
path: root/Mk (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (1) Add myself as MAINTAINER (of this file) -- commented out so itSatoshi Asami1996-08-151-4/+29
| | | | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=3596
* Make explanation of BUILD_DEPENDS less confusing.Satoshi Asami1996-08-071-3/+3
| | | | | | | Requested by: Narvi <narvi@haldjas.folklore.ee> Notes: svn path=/head/; revision=3539
* Fixed bug, that CONFIGURE_SCRIPT in a port's Makefile doesn't haveAndreas Klemm1996-07-271-3/+3
| | | | | | | | | any effect. The target do-configure used ${SCRIPTDIR}/configure instead of ${SCRIPTDIR}/${CONFIGURE_SCRIPT}. -andreas Notes: svn path=/head/; revision=3435
* Remove now-unused SRC_ENCAPSULATION hack.Jordan K. Hubbard1996-07-051-29/+1
| | | | Notes: svn path=/head/; revision=3301
* Add a missing space in a commentGary Palmer1996-06-261-2/+2
| | | | Notes: svn path=/head/; revision=3282
* Bring in my changes for removing the pestilent obj links (unless youJordan K. Hubbard1996-06-241-26/+5
| | | | | | | | really want them) from /usr/src. This is the final version of the patches, incorporating the feedback I've received from -current. Notes: svn path=/head/; revision=3272
* Correct spelling errors (i before e except after c :-) )Gary Palmer1996-06-221-3/+3
| | | | | | | Submitted by: James Raynard <jraynard> Notes: svn path=/head/; revision=3270
* Handle the `distribute' target.Jordan K. Hubbard1996-06-201-1/+7
| | | | Notes: svn path=/head/; revision=3267
* Whoops - I made `make clean' chatty by mistake.Jordan K. Hubbard1996-06-201-2/+2
| | | | Notes: svn path=/head/; revision=3262
* The changes to go with ncftp -> fetch. Besides changing the names,Satoshi Asami1996-06-191-11/+12
| | | | | | | | | | standardize the variables a little, and simplify some parts because we can now trust the fetcher's return value. Reviewed by: the list Notes: svn path=/head/; revision=3254
* Spit out the a proper port path for the describe target.Jordan K. Hubbard1996-06-191-2/+2
| | | | | | | Submitted-By: Chuck Robey <chuckr@Glue.umd.edu> Notes: svn path=/head/; revision=3253
* Ok, now cleandir: is correct.Jordan K. Hubbard1996-06-191-4/+4
| | | | Notes: svn path=/head/; revision=3252
* Add some unobtrusive changes to handle sources which aren't portsJordan K. Hubbard1996-06-191-53/+106
| | | | | | | | | (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. Notes: svn path=/head/; revision=3251
* Add "MASTER_SITES?=" (no this is not a typo) right before theSatoshi Asami1996-06-131-1/+2
| | | | | | | | | "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. Notes: svn path=/head/; revision=3202
* Add some comments to sections to disable targets using NO_* variables.Satoshi Asami1996-06-011-6/+12
| | | | | | | | | Remove disabling of "repackage", that thing calls package anyway. Submitted by: (mostly) jkh Notes: svn path=/head/; revision=3152
* Set MAKE_ENV and CONFIGURE_ARGS with += instead of ?=, it is easier toSatoshi Asami1996-05-301-3/+3
| | | | | | | | | add things this way. Reviewed by: ache Notes: svn path=/head/; revision=3149
* Fix a minor grammatical error (reselled -> resold) I just noticed.Jordan K. Hubbard1996-04-271-2/+2
| | | | Notes: svn path=/head/; revision=3039
* Add CFLAGS=${CFLAGS} to MAKE_ENV, otherwise gmake won't pick it up.Satoshi Asami1996-04-261-2/+2
| | | | Notes: svn path=/head/; revision=3032
* Add NO_CDROM, RESTRICTED, BROKEN and Motif support.Satoshi Asami1996-04-121-9/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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 Notes: svn path=/head/; revision=2975
* use .for loop for common targetsWolfram Schneider1996-04-091-51/+6
| | | | Notes: svn path=/head/; revision=2964
* Change ${ENV} -> ${SETENV}. The former coincides with startup fileSatoshi Asami1996-04-071-6/+6
| | | | | | | | | names of bash et al. Submitted by: Thomas Gellekum <thomas@ghpc8.ihf.rwth-aachen.de> Notes: svn path=/head/; revision=2943
* Thanks for the overwhelming response (which can be only summarized by theSatoshi Asami1996-04-012-4/+87
| | | | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=2931
* Change name of variable to LOCALBASE, to keep it symmetric with X11BASE,Satoshi Asami1996-03-311-3/+3
| | | | | | | | | | | 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"). Notes: svn path=/head/; revision=2916
* Add a variable LOCAL_PREFIX that defaults to "/usr/local", as aSatoshi Asami1996-03-311-2/+3
| | | | | | | | | | | | | | | | | | | | | | | 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!") Notes: svn path=/head/; revision=2915
* remove BINGRP?= BINOWN?= BINMODE?=Wolfram Schneider1996-03-241-4/+1
| | | | Notes: svn path=/head/; revision=2880
* Replace PATCH_PRFX with a more generic DIST_SUBDIR. If it is set toSatoshi Asami1996-03-101-32/+28
| | | | | | | | | | | | | | | | | | | "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 Notes: svn path=/head/; revision=2819
* Delete all references to the variable ${KEYWORD} that never quite flew.Satoshi Asami1996-03-061-6/+14
| | | | | | | | | | | (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"). Notes: svn path=/head/; revision=2779
* Replace absolute pathnames with variables, so thatSatoshi Asami1996-03-061-68/+80
| | | | | | | | | | | | (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 Notes: svn path=/head/; revision=2778
* Add a check for when the user tries to FTP over a symlink in ${DISTDIR}.Jordan K. Hubbard1996-02-161-1/+13
| | | | Notes: svn path=/head/; revision=2718
* correct semantic error in the English usage:Adam David1996-02-081-5/+5
| | | | | | | distributed patches --> distribution patches Notes: svn path=/head/; revision=2692
* Mention "make reinstall" in the message that gets printed out whenSatoshi Asami1996-02-071-2/+2
| | | | | | | | | | | /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. Notes: svn path=/head/; revision=2688
* Add NCFTP tailer arguments: ${NCFTPTAIL} variableAndrey A. Chernov1996-02-061-5/+5
| | | | | | | | | Since it is empty in normal case, it not affect anything It is useful for ncftp -c ugly_name > nice_name ^^^^^^^^^^^ ${NCFTPTAIL} Notes: svn path=/head/; revision=2679
* Add support for ALL_HOOK feature. Lets you replace the `all' targetJordan K. Hubbard1995-12-071-1/+13
| | | | | | | with something of your own devising. Notes: svn path=/head/; revision=2538
* Make the {FETCH,BUILD,RUN}_DEPEND targets work with non-executable filesSatoshi Asami1995-11-261-5/+23
| | | | | | | | | | 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) Notes: svn path=/head/; revision=2472
* Use NO_MTREE, not !USE_X11 && !USE_IMAKE, to determine package args.Satoshi Asami1995-11-171-2/+2
| | | | | | | | NO_MTREE should work as advertised (for both direct installation and pkg_add) now. Notes: svn path=/head/; revision=2428
* Back out the two latest changes. The -current branch is now equal toSatoshi Asami1995-10-171-7/+1
| | | | | | | the -stable branch except the change between 1.182 -> 1.183. Notes: svn path=/head/; revision=2344
* Add NO_FETCH handling in the similar way as other NO_* targets doesAndrey A. Chernov1995-10-161-1/+5
| | | | Notes: svn path=/head/; revision=2338
* Fix NO_EXTRACT case: build missing WRKDIRAndrey A. Chernov1995-10-161-1/+3
| | | | | | | | Previous variant always fails on touch work/.extract_cookie (or next following touches) because work directory not exists. Notes: svn path=/head/; revision=2337
* Add "--batch" to PATCH_ARGS and PATCH_DIST_ARGS when ${BATCH} is setSatoshi Asami1995-10-111-1/+5
| | | | | | | | 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). Notes: svn path=/head/; revision=2318
* Add CONFIGURE_ENV: pass this environment to configure script.Andrey A. Chernov1995-10-041-2/+3
| | | | | | | Allows pre-set some variables to eliminate wrong tests Notes: svn path=/head/; revision=2259
* Attempt to sound more civilized by adding a missing period toSatoshi Asami1995-10-041-2/+2
| | | | | | | | | "Attempting to fetch from $${site}." Why it was in PATCHFILES and not in DISTFILES, I have no idea. Notes: svn path=/head/; revision=2247
* Use full pathname for ldconfig (/sbin/ldconfig).Satoshi Asami1995-10-021-2/+2
| | | | | | | Hinted by: joerg Notes: svn path=/head/; revision=2216
* Split EXEC_DEPENDS into FETCH_DEPENDS, BUILD_DEPENDS and RUN_DEPENDS.Satoshi Asami1995-09-181-15/+61
| | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=2161
* Ignore patchfiles that end with ".orig" or "~".Satoshi Asami1995-09-131-5/+19
| | | | | | | Suggested by: paul, joerg among others Notes: svn path=/head/; revision=2147
* Don't trust ncftp's exit status, they are not indicative of whetherSatoshi Asami1995-08-291-14/+12
| | | | | | | | | | | | | | | | | the file is fetched or not. Apparently Jordan fixed it a long time ago but it was broken again at import of the new version of ncftp. Which means even if we fix it, it may break again and we may need to fix it again, and (imagination here, please).... Instead, move the file existence check into the for loop for MASTER_SITES/PATCH_SITES and break out with "continue 2" when the file is found. This is actually a cleaner logic than before if you ask me, because instead of assuming the file is fetched on a 0 exit status from ncftp AND checking for the existence of the file after the loop, the check is done exactly once for each iteration and nowhere else. Notes: svn path=/head/; revision=2129
* Clean up EXTRACT_ONLY logic a bit. Instead of branching in theSatoshi Asami1995-08-291-10/+5
| | | | | | | | | do-extract target depending on defined(EXTRACT_ONLY) or not, simply set EXTRACT_ONLY ?= ${DISTFILES} and always use ${EXTRACT_ONLY} as the extraction list. Notes: svn path=/head/; revision=2128
* Merge all the "skeleton" target into one macro. This is an enormousSatoshi Asami1995-08-181-237/+149
| | | | | | | | | | | | change, but I've been testing this on thud and silvia for quite a while, also I haven't gotten any bug reports from the ports list, so I'm going to let it loose! It cleans up this file quite a bit, now I can go in and start adding some more "interesting" things.... ;) Notes: svn path=/head/; revision=2070
* Let MASTER_SITE_OVERRIDE be prepended to the MASTER_SITES list insteadSatoshi Asami1995-07-241-3/+3
| | | | | | | | | | | of replacing it. This way you can point it to a site close to you that carries many distfiles, and still let it go fetch from the original site if the distfile is not there. Original idea by: mmead@Glock.COM Notes: svn path=/head/; revision=2004
* Simplify the USE_IMAKE stuff considerably.Jordan K. Hubbard1995-07-171-9/+1
| | | | | | | Suggested by: asami Notes: svn path=/head/; revision=1985
* A regrettable hack to allow a port to say that it doesn't want its MakefilesJordan K. Hubbard1995-07-151-1/+5
| | | | | | | made after the xmkmf run. Notes: svn path=/head/; revision=1969