summaryrefslogtreecommitdiff
path: root/Mk (unfollow)
Commit message (Collapse)AuthorFilesLines
1997-08-22Add "distclean" to list of targets to descend into subdirs for.Satoshi Asami1-2/+2
Notes: svn path=/head/; revision=7655
1997-08-20(1) Be nicer about mtree file missing. (Actually, just suggest whereSatoshi Asami1-3/+13
you can get one from.) (2) Use "reinstall" as DEPENDS_TARGET if target is "reinstall". In particular, this will make it possible to do a "make reinstall" on several NFS clients and have them install all dependencies correctly. Tested by: davidn Notes: svn path=/head/; revision=7624
1997-07-17Changes for perl-5.004_01Mark Murray1-3/+3
Notes: svn path=/head/; revision=7362
1997-07-10(1) Add preliminary support for architecture/operating system-dependentSatoshi Asami1-6/+55
patches and files. Note this is just for testing -- I don't expect "patches.OpenBSD" or "Makefile.alpha" start cropping up on our ports tree just yet! Pretty much ignored by: the ports/committers list (2) Add "SH?=/bin/sh" to the list of command-name macros. Use it. Checked by: recompiling all packages Notes: svn path=/head/; revision=7262
1997-06-29``-C ${WRKDIR} -xzf'' are no longer the default args for EXTRACT_BEFORE_ARGSDavid E. O'Brien1-2/+2
Notes: svn path=/head/; revision=7124
1997-06-24Add new variable USE_PERL5. It is similar to USE_GMAKE, except thatSatoshi Asami1-2/+7
it also sets RUN_DEPENDS (USE_GMAKE is BUILD_DEPENDS only). The (immediate) purpose of this is to avoid having to change 70 zillion ports when the version of perl changes. Also, when perl5 is pulled into -current, this will become a no-op in -current's bsd.port.mk. Reviewed by: jfitz Notes: svn path=/head/; revision=7058
1997-06-18Move the "umask ?= 0022" check (a warning only) from the defaultSatoshi Asami1-6/+6
"do-install" target to the beginning of the "install" meta-target, so that ports that define their own do-install will also run it without having to duplicate it themselves. Tested by: rebuilding all packages Notes: svn path=/head/; revision=6987
1997-06-04(1) Use the new BSD.x11.dist mtree file to create directories underSatoshi Asami1-55/+51
/usr/X11R6 if USE_IMAKE or USE_X11 is set. It is mostly designed after the XFree86 distribution, but also includes some of our own goodies (libexec, share/doc, etc/rc.d). (2) Full support for per-port dependency target. An optional ":<target>" can be added to any of the *_DEPENDS variables. Do not attempt to print out anything about dependencies if NO_DEPENDS is set (there was already too much code duplication, and this extra colon has really pushed it over the limit). Requested by: jfitz (3) Make "reinstal" pmake-safe. Reminded in an e-mail from: jkh Notes: svn path=/head/; revision=6719
1997-04-30(1) Change logic for dependency: instead of defining "is_depended"Satoshi Asami1-47/+54
(default: IS_DEPENDED?=install) target on the depended port, call DEPENDS_TARGET (default: install) from the depending port. Other than being more flexible (some ports don't require the dependency to be fully installed: see ghostscript4), this seems like a more natural thing to do. (I never understood the convoluted logic that was used before.) By building packages with "DEPENDS_TARGET=package", I can avoid file-sharing problems (like gs3 binary going into the gs4 package). (2) Add new variable PATCH_SITE_SUBDIR and separate it from MASTER_SITE_SUBDIR. Fixes linuxls port and is a correct thing to do anyway. Initially suggested and reviewed by: fenner (3) Add new variable MASTER_SITE_LOCAL for local ports. Defaults to LOCAL_PORTS subdir on ftp.freebsd.org's distfiles dir. Submitted by: jkh Notes: svn path=/head/; revision=6366
1997-04-21Merge from 2.2.Satoshi Asami1-8/+13
Notes: svn path=/head/; revision=6253
1997-04-15(1) Change comment for USE_X11 to be more explicit about what itSatoshi Asami1-10/+12
means. (2) Change MASTER_SITE_GNU etc. to use += instead of ?=, so users can specify a local mirror in /etc/make.conf and still get the full fallback in case something is missing. Submitted by: Narvi <narvi@haldjas.folklore.ee> (3) Skip port if USE_X11 or USE_IMAKE is defined and /usr/X11R6 doesn't exist. Submitted by: imp (4) Add "-" in front of rmdir of ${DISTDIR}/${DIST_SUBDIR} in distclean target; the directory might not be empty because the subdir is shared with some other ports' distfiles. Notes: svn path=/head/; revision=6213
1997-03-09Add comments.Wolfram Schneider1-0/+32
Notes: svn path=/head/; revision=5921
1997-03-06Make COMMENT and DESCR variables (just like PLIST). Will be usefulSatoshi Asami1-9/+11
when you want to share all of PKGDIR except for one file. (See upcoming multilingual nvi ports.) Notes: svn path=/head/; revision=5879
1997-02-23(1) Define ${LDCONFIG} and ${MV} to be full pathnames to ldconfig andSatoshi Asami1-20/+37
mv, respectively. This will make Warner's life easier. (2) Add new variable ${PLIST}, which defaults to ${PKGDIR}/PLIST. If you need to have different PLISTs for different configurations, you can either @ pre-fabricate all of them and switch ${PLIST} to point to the appropriate one, or @ use sed/awk/perl/whatever to create the correct one from pkg/PLIST and set ${PLIST} to it. It is still recommended to have a file called "pkg/PLIST" so people can do "grep badprog /usr/ports/*/*/pkg/PLIST" and such. (3) Move /var/db/pkg/${PKGNAME} clash detection to before the installation (instead of after) and make it fatal, with an error message suggesting a workaround. (4) Don't make distclean fail if DIST_SUBDIR is set and the subdirectory does not exist. (5) Don't put "@pkgdep Error code 2. Stop." kind of garbage into packing list if depended port's directory doesn't exist. Instead, print out a message to stderr. Notes: svn path=/head/; revision=5723
1997-02-22Revert $FreeBSD$ to $Id$Peter Wemm1-1/+1
Notes: svn path=/head/; revision=5716
1997-02-17Submitted by: Dave Cornejo <dave@dogwood.com>David E. O'Brien1-3/+2
ftp.shsu.edu is no longer maintained - they refer you to the mirror I maintain at ftp.cdrom.com Notes: svn path=/head/; revision=5663
1997-02-16Fixed URL for ftp.tex.ac.uk in MASTER_SITE_TEX_CTAN.David E. O'Brien1-2/+4
Added ftp.shsu.edu and ftp.dante.de used by jmz in the latex port. Notes: svn path=/head/; revision=5639
1997-02-12Change $FreeBSD$ back to $Id$. I'm sorry, but it's been too long andSatoshi Asami1-1/+1
it's getting too hard to diagnose people's problems with this. Notes: svn path=/head/; revision=5584
1997-01-25(1) Add ${DESTDIR} to ${LOCALBASE} and ${X11BASE}, and remove it fromSatoshi Asami1-5/+15
${PORTSDIR}. This undoes the changes done in rev. 1.38 and 1.59 (part of the bsd.port.mk pre-dawn ages I've never understood). Requested by: jkh (2) Add new variable NO_IGNORE that will override any IGNORE causes. This is just a little hack to allow building of REQUIRES_MOTIF ports and its dependencies only etc., so don't document it. (3) Update +REQUIRED_BY files as necessary. Now you should be able to delete ports that have runtime dependencies without pkg_delete complaining about this file missing. Notes: svn path=/head/; revision=5434
1997-01-14Move $FreeBSD$ up right next to $NetBSD$ (oh, the solidarity! :).Satoshi Asami1-2/+1
Notes: svn path=/head/; revision=5353
1997-01-14Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard2-2/+2
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=5349
1997-01-13Skip non-existent subdirectories. The diff is rather large becauseSatoshi Asami1-10/+11
the original logic went into a section of code assuming some incarnation is there, but it's basically a "test -d" fix. Closes PR ports/2082. Reviewed by: max ("although I didn't test it, it looks fine") Notes: svn path=/head/; revision=5328
1997-01-12Add OpenBSD support. Change some comments to reflect the fact. Also:Satoshi Asami1-9/+22
(1) Change commented out MAINTAINER to FreeBSD_MAINTAINER and OpenBSD_MAINTAINER. These are not comments anymore, so we may even use it in the future. (2) Instead of the ".if ${OPSYS} = "NetBSD" hack, use ".if exists()" to find the location of md5 an tar. Play similar trick for fetch (OpenBSD uses /usr/bin/ftp which groks http: addresses). This commit includes most of the changes made in 1.242 (although many of them are done differently after more discussion). One thing that is conspicuously missing is NOMANCOMPRESS, which has been postponed until Warner figures out what exactly the situation is on the OpenBSD ports paradigm. (In a nutshell, we can't just define NOMANCOMPRESS in this file even if uncompressed manpages is the default for OpenBSD, because that will take away the ability of individual users to select manpage compression.) Reviewed by: imp@openbsd.org Notes: svn path=/head/; revision=5321
1997-01-12(1) New variable, SCRIPTS_ENV, which is passed to scripts/configureSatoshi Asami1-23/+43
and scripts/{pre,post}-* as environment vars. Also, if BATCH is set, "BATCH=yes" is automatically added to SCRIPTS_ENV. (Requested by: max) (2) The INSTALL_* macros are added to SCRIPTS_ENV and MAKE_ENV as BSD_INSTALL_*. (Requested by: obrien) (3) New variable MOTIF_ONLY, which will only build ports with REQUIRES_MOTIF defined. This doesn't do dependencies right (what if the depended port doesn't need Motif) yet. (4) Try not to clean the same port twice in clean-depends when (for instance) it's defined in both BUILD_DEPENDS and INSTALL_DEPENDS. Note that it won't check chained dependencies so you may still see the same port cleaned multiple times, but checking that far will surely make this run slower than the un-"optimized" case so I left it as is. (Requested by: jkh) (5) Ignore *.rej files in patches/ directory in addition to *~ and *.orig. Notes: svn path=/head/; revision=5320
1997-01-10if !(command) -> if ! (command)Wolfram Schneider1-2/+2
the ksh and I guess some other shells want a space between '!' and the next command. This problem exist since rev 1.207 Notes: svn path=/head/; revision=5303
1996-12-26I'm sorry, this kind of commits need to be reviewed by me, espiciallySatoshi Asami1-21/+7
in a time like this (i.e., right before the release). Back out rev 1.242, also add a stronger note above the MAINTAINER. Notes: svn path=/head/; revision=5096
1996-12-25Integrate changes from OpenBSD's efforts to use the FreeBSD ports system.Warner Losh1-4/+21
Generalize the selection of programs to run based on the existance of files rather than the OS names that we find. Add comments about me being the keeper of the OpenBSD mods of this file. Use ftp on OpenBSD rather than fetch since OpenBSD's FTP supports urls and there is no fetch. Reviewed by: Joerge Wunch, Jordan Hubbard, and others in ports I've forgotten Obtained from: OpenBSD with changes from me. Notes: svn path=/head/; revision=5094
1996-12-23Suggested by: msmithSatoshi Asami1-9/+11
Add a little more sophistication to the md5 grep command. Change the md5 checksum logic a bit. Now, the message is printed out for every successfully/unsuccessfully matched checksum, and it aborts at the end if there was a mismatch. Also, make missing checksum and IGNORE file inconsistency fatal, as there is now no reason to have a missing checksum. Notes: svn path=/head/; revision=5064
1996-12-18Add missing targets (extract, patch) in the IGNORE (INTERACTIVE &Satoshi Asami1-7/+11
PATCH, etc.) section. Also sort them in order of execution like other parts of this file. Notes: svn path=/head/; revision=5010
1996-12-17Add new variable IGNOREFILES, to be set to list of files that you don'tSatoshi Asami1-13/+53
want md5 checksum calculated. (It will create an entry in files/md5 with rhs "IGNORE".) Now it's safe to do a "make makesum" on all ports. Notes: svn path=/head/; revision=5006
1996-12-12Change delimiter of substitution that uses MANLANG from `.' to `%', soSatoshi Asami1-4/+4
things like `ja_JP.EUC' will work. Suggested by: max Notes: svn path=/head/; revision=4949
1996-12-11Extend the manpage compression handling a bit.Satoshi Asami1-6/+18
(1) MANLANG is now a list (defaulting to ""), so if you have English and Japanese-EUC versions of the manpages, you can say something like `MANLANG= "" ja_JP.EUC' and manpage compression will DTRT. (2) Add new variables MAN%cPREFIX (where %c=[1-9LN]) which default to MANPREFIX (which defaults to PREFIX), to specify per-section prefixes. In particular, this handles the cases in many perl ports, which install man1pages into man/man1 and man3pages into lib/perl5/man/man3. Note these modifications won't change the behavior of existing variables used in previously-approved ways, so any Makefile that worked before will still continue to work. Notes: svn path=/head/; revision=4923
1996-12-11Add support for uncompressing manpages that are already installedSatoshi Asami1-4/+16
compressed. Requested by: obrien Change name of -D option (to pkg_create) file to MESSAGES. (More friendly to filename completion.) Notes: svn path=/head/; revision=4921
1996-12-09Submitted by: fennerSatoshi Asami1-10/+14
(1) Print out reason when port is ignored because of NO_CDROM, RESTRICTED, IS_INTERACTIVE, (not) IS_INTERACTIVE, BROKEN, REQUIRES_MOTIF or NO_PACKAGE. Submitted by: obrien (2) Add new special file in pkg/: DISPLAY. (Cf. man pkg_create) (3) Minor bugfix in clean-depends target, which sometimes executed "make clean" in the current directory. (Which is probably ok, but is wrong nonetheless.) Notes: svn path=/head/; revision=4908
1996-12-08Was using new URL (ftp://ftp://) before the RFC has been voted on. :-)David E. O'Brien1-2/+2
Obtained from: make fetch Notes: svn path=/head/; revision=4888
1996-12-04Optimize by changing "sort | uniq" -> "sort -u". "make index" is nowSatoshi Asami1-6/+6
412 secs instead of 498 secs on my machine! Submitted by: fenner Notes: svn path=/head/; revision=4788
1996-11-30Merge from RELENG_2_2 (duh). See rev 1.227.2.4 for details.Satoshi Asami1-53/+95
Notes: svn path=/head/; revision=4731
1996-11-14Just realized that the spacing after "==>" is not consistent. I'mSatoshi Asami1-8/+8
terribly sorry, please merge this into 2.2 as well. Notes: svn path=/head/; revision=4458
1996-11-14Oops, forgot to silencethe gzip command to compress manpages.Satoshi Asami1-2/+3
It will be nice if this went into 2.2, I guess. Reminded by: max Notes: svn path=/head/; revision=4454
1996-11-13(1) There is no default "orphans" for CATEGORIES, it simply fails ifSatoshi Asami1-21/+106
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 Notes: svn path=/head/; revision=4436
1996-11-03Set tabstops to 4 in vi like in emacs.David E. O'Brien1-1/+2
Notes: svn path=/head/; revision=4271
1996-11-01(1) Add NetBSD support. Closes PR bin/1643.Satoshi Asami2-36/+76
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 Notes: svn path=/head/; revision=4232
1996-09-24Back out changes in rev. 1.217 -- ${CONFIGURE_SCRIPT} is notSatoshi Asami1-3/+3
meant to rename the name of script in ${SCRIPTDIR}. Notes: svn path=/head/; revision=3854
1996-09-23Look on the CDROM for patch files too.Satoshi Asami1-2/+4
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. Notes: svn path=/head/; revision=3846
1996-08-25/bin/echo -> ${ECHO}Wolfram Schneider1-2/+2
/usr/bin/sed -> ${SED} Notes: svn path=/head/; revision=3701
1996-08-24Use the new "file:" URL specification to fetch to check the CDROMSatoshi Asami1-2/+12
first if /cdrom/ports/distfiles exists. If FETCH_SYMLINK_DISTFILES is set, symlink the file instead of copying. Reviewed by: jhk Notes: svn path=/head/; revision=3691
1996-08-20Update explanation of *_DEPENDS, in particular note that bsd.port.mkSatoshi Asami1-18/+20
can now check existence of files specified by full pathnames, not only executables. Notes: svn path=/head/; revision=3662
1996-08-18(1) Use INSTALL_PROGRAM where we attempt to pass this command lineSatoshi Asami1-2/+7
to configure. (2) Gently warn user for non-0022 umasks. Submitted by: "David E. O'Brien" <obrien@Nuxi.cs.ucdavis.edu> (1) Notes: svn path=/head/; revision=3637
1996-08-17(1) Ignore patches directory without a patch with a message instead ofSatoshi Asami1-44/+29
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 Notes: svn path=/head/; revision=3627
1996-08-15(1) Add myself as MAINTAINER (of this file) -- commented out so itSatoshi Asami1-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