summaryrefslogtreecommitdiffstats
path: root/Mk
Commit message (Collapse)AuthorAgeFilesLines
* Add new variable to override the "hey foobar-1.2.3 is already installed"asami1995-05-101-1/+6
| | | | | | warning from fake-pkg. # FORCE_PKG_REGISTER - If set, it will overwrite any existing package # registration information in ${PKG_DBDIR}/${PKGNAME}.
* Make the "reinstall" target delete the package cookie as well asasami1995-05-091-1/+2
| | | | the install cookie.
* added support for distribution patches in a subdir of ${DISTFILES}adam1995-05-041-18/+28
|
* Put an `@' in front of the mtree command. I don't want to see it.jkh1995-05-041-2/+2
|
* Add an mtree line to the install target.jkh1995-05-021-1/+6
|
* A bunch of new targets in the package area. Relevent targets are:asami1995-04-301-14/+44
| | | | | | | | | | | | | | package: check installation, build package, create links, touch cookie repackage: ditto but don't check cookie package-noinstall: just build package from installed stuff, no cookies involved at all package-links create the symbolic links only delete-package: delete package and symbolic links delete-package-links: delete links only These should make the management of the spaghetti of package links a little friendlier. :)
* Pass X11BASE to all sub-makes. I need it for a port, and I daresay thatjkh1995-04-281-18/+18
| | | | | there are a lot of hardwired "/usr/X11R6" paths out there that could stand to use it as well.
* (1) Add the chain of dependencies to the targets in the NO_* sectionasami1995-04-241-10/+12
| | | | | | too (otherwise the chain won't work). (2) If NO_WRKDIR is set, "make clean" removes "./.*_done" (assuming these are cookies...or should I list all the cookies?)
* Move call of fake-pkg from do-install to end of install.asami1995-04-241-4/+4
|
* Ok, this should get the last of the stragglers installed into a new fake-pkg.jkh1995-04-221-1/+4
|
* Don't try to run the fake-pkg target if NO_PACKAGE is set.jkh1995-04-221-1/+3
|
* Typo: patch -> packagejkh1995-04-221-2/+2
|
* Instead of copying PLIST over, run pkg_create in a special mode that dumpsjkh1995-04-221-2/+2
| | | | the fully-formed PLIST to stdout and uses that.
* Major overhaul. The major targets (fetch, extract, patch, configure,asami1995-04-201-357/+532
| | | | | | | | | | | | | | | | | | | | | | | | | | build, install) are now all skeletons and do nothing but (1) Call pre-* target (if exists) (2) Call scripts/pre-* script (if exists) (3) Call do-* target (4) Call post-* target (if exists) (5) Call scripts/post-* script (if exists) The do-* targets do all the work. The pre-* and post-* targets/scripts don't exist by default. The main targets check for the cookies too, so porters shouldn't have to worry about them at all. NOTE: THE MAIN TARGETS IN THE PORTS MAKEFILES SHOULD GO AWAY. We need to fix this before wcarchive comes back up. Change the names to do-*, rip out the cookies, rip out the calls to pre-* etc. and most of them should work. Also, reorganize the whole thing so that similar targets are together and add more comments. Surround section header with 64 #'s (C-u C-u C-u # in emacs :). Hopefully this will be the last major change to bsd.port.mk. Now let the Makefile-hacking begin.
* 1. Add Satoshi's much-requested "fake pkg_add" option to the installationjkh1995-04-191-1/+29
| | | | | | | | | | rule. 2. Have all non-X11 prefix using packages include the BSD.local.dist mtree file for initialization of /usr/local. I'm still not sure if this is A Good Thing(tm) but I'll see what the users say. It's easily overridden. 3. Standardise on ${PKG_DBDIR} as pointer to /var/db/pkg or local preference.
* Use PKGNAME in the "describe" target (used to generate INDEX) too.asami1995-04-181-2/+2
| | | | Didn't make sense to have two ports with the same name.
* Use PKGNAME instead of DISTNAME in messages. To avoid things likeasami1995-04-181-20/+20
| | | | | | | | | | "Building for WWW" (pops up in two different ports) "Installing for web2c-6.1" (ditto), which aren even't reminiscent of the port's real name. Sorry jmz, please don't go fix the print Makefiles' own messages. We are going to take them out after we do the great bsd.port.mk update anyway.
* "package" now depends on "install", so we can do "make -k package" fromasami1995-04-171-2/+18
| | | | | | | | the top level and have the build-package sequence of each port work together. For the old behavior (i.e, just go ahead and blindly pack everything up, regardless of the contents of work/), there is a new target "repackage".
* "all" now depends on "build", not "extract configure build".asami1995-04-171-2/+2
| | | | | | | | | | Since "build" depends on "configure", which depends on "patch", etc., this shouldn't disrupt any Makefile that doesn't break the dependency chain. The old behavior was very annoying because when I did a "make -k", it would still try to go configure and build even if the extraction failed.
* Yikes...typo (.package/ should have been .packages/).asami1995-04-151-2/+2
|
* Don't pass duplicate pkgdeps to pkg_createjkh1995-04-101-3/+3
|
* Add new -P argument to pkg_create.jkh1995-04-091-2/+2
|
* Add 2 new targets to facilitate some things I'm thinking about.jkh1995-04-091-1/+21
| | | | | | | 1. package-name Simply echos the associated package name for a port (if any). 2. package-depends Shows all package names on which this port depends.
* 1. Fix the first line (should be a proper comment - silly emacs).jkh1995-04-091-3/+4
| | | | | 2. KEYWORDS+= CATEGORIES 3. CATEGORIES+= all (always want to be in "all"!)
* Add support for categorized subdirectories for packages. By default,asami1995-04-091-6/+25
| | | | | | | | | all .tgz files go to /usr/ports/packages/.packages, and a relative symlink is created for every item in CATEGORIES...i.e., if "CATEGORIES = foo bar", then /usr/ports/packages/{foo,bar}/pkgname.tgz both point to /usr/ports/packages/.packages/pkgname.tgz. Suggested by: jkh
* Add USE_X11 for ports which are X11 users but don't use IMAKE.jkh1995-04-041-2/+3
|
* Remove a `.' from the end of the echo linegpalmer1995-04-041-2/+2
| | | | `>> Attempting to fetch from $${site}' as it is misleading
* By default, KEYWORDS is a copy of CATEGORIES.jkh1995-04-011-2/+2
|
* Add default values and document them for CATEGORIES and KEYWORDS.jkh1995-04-011-3/+3
|
* Add support for new CATEGORIES and KEYWORDS fields.jkh1995-04-011-2/+10
|
* Add support for "distributed" patches and a little extra cleanup.asami1995-03-281-13/+89
| | | | | | | | | | | | | | | | | | | | | | New variables: PATCH_SITES: patch equivalent of MASTER_SITES, overridable with . MASTER_SITE_OVERRIDE. PATCHFILES: Additional files to fetch and give to patch before . applying the ones in patches/patch-*. If name ends . with ".gz" or ".Z", it will be piped through zcat first. Plus PATCH_DIST_STRIP and PATCH_DIST_ARGS that serve the same functions as PATCH_STRIP and PATCH_ARGS for patches in patches/patch-*. In the documentation and echo messages, I used the term "distributed patches" and "FreeBSD patches" to refer to ${PATCHFILES} and patches/patch-*. If you can come up with better names, by all means go ahead and fix them. "grep PATCH /usr/ports/*/*/Makefile" reveals seven ports (mule, jless, jtcl, jtk, dgd, less, color_xterm, gee I wonder why I'm the one who implemented this) that can benefit from this. I'm now diving headlong into /usr/ports to fix their Makefiles.
* Added more standard package suport file names. INSTALL for theasami1995-03-271-2/+13
| | | | | | installation script, DEINSTALL for the deinstallation script, and REQ for the requirement script, will be added with appropriate flags to PKG_ARGS if they exist under pkg/.
* Add a misssing `@' from before echo -n "|${MAINTAINER}"gpalmer1995-03-231-3/+3
|
* Add maintainer to the index line.jkh1995-03-221-5/+13
|
* Add new EXTRACT_BEFORE_FLAGS and EXTRACT_AFTER_FLAGS variables to makejkh1995-03-221-5/+15
| | | | complex extraction rules easier.
* Make the fetch message a little more interesting and informative.jkh1995-03-211-2/+2
|
* Add fetch-list command for Rodjkh1995-03-212-39/+63
| | | | | Use ECHO_MSG macro for printing "===>" line things so that I can now turn those OFF when I don't want them.
* Make the describe rule generate more thorough information that's actuallyjkh1995-03-211-8/+10
| | | | | of use to a front-end program. Back out my bogus description of the `index' target! :-)
* Document the index target.jkh1995-03-211-1/+2
|
* Don't do anything if BATCH is specified and the port is interactive forats1995-03-201-1/+3
| | | | | the package target.The port may is not build and the package fails otherwise.
* Change the xmkmf call to a xmkmf -a call. This should be more correct forats1995-03-191-3/+3
| | | | | | all X11R5 and X11R6 ports. This is the way how it should be normally used according the manuals. Only pre-X1R5 ( X11R4, X11R3) ports can't handle it.
* Add support to miss out ``DUDS'' subdirectories. See thread in freebsd-portsgpalmer1995-03-031-10/+20
| | | | for more.
* Back out my previous change. I need to really think about this.jkh1995-03-031-2/+2
|
* A small feature just for my own use.jkh1995-03-031-2/+2
|
* Always go to ${WRKDIR} before extraction. Modify the tar extract commandjkh1995-02-171-3/+6
| | | | | args to take advantage of this. Pointed-out-by: asami
* Make the checksum target not bomb out if there is a mismatch, justgpalmer1995-02-141-2/+1
| | | | | print a warning. A better fix will come along just as soon as I work out what it is.
* Allow arbitrarily named configure script for use w/ HAS_CONFIGURE.hsu1995-02-061-2/+5
|
* Use absolute path to md5 program. It lives in /sbin and people are unlikelyphk1995-02-041-2/+2
| | | | to have $PATH to it.
* Add long-awaited (:) support for sophisticated dependency checking. We nowasami1995-02-041-5/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | have three variables: EXEC_DEPENDS - A list of "prog:dir" pairs of other ports this package depends on. "prog" is the name of an executable. make will search your $PATH for it and go into "dir" to do a "make all install" if it's not found. LIB_DEPENDS - A list of "lib:dir" pairs of other ports this package depends on. "lib" is the name of a shared library. make will use "ldconfig -r" to search for the library. Note that lib can be any regular expression, and you need two backslashes in front of dots (.) to supress its special meaning (e.g., use "foo\\.2\\.:${PORTSDIR}/utils/foo" to match "libfoo.2.*"). DEPENDS - A list of other ports this package depends on being made first. Use this for things that don't fall into the above two categories. DEPENDS behaves exactly like before, so old Makefiles will still work the same. The two variables are lists of pairs as described above. For instance, if your program depends on unzip and libjpeg.5.*, use the following definitions: EXEC_DEPENDS= unzip:${PORTSDIR}/archivers/unzip LIB_DEPENDS= jpeg\\.5\\.:${PORTSDIR}/graphics/jpeg gmake:${PORTSDIR}/utils/gmake is automatically added to EXEC_DEPENDS if USE_GMAKE is defined. If NO_DEPENDS is defined, the list will just be printed out one by one.
* Start the ball rolling by sticking agpalmer1995-02-011-1/+2
| | | | | | MAINTAINER?= line in here. Idea by: jkh@FreeBSD.ORG
OpenPOWER on IntegriCloud