summaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix a fetch bug in MASTER_SITES_NN introduced in rev 1.396.Kris Kennaway2002-04-021-6/+6
| | | | | | | | Submitted by: lioux PR: ports/36078 (part of) Notes: svn path=/head/; revision=57180
* Added bsd.java.mk. This adds Java-specific support to ports byErnst de Haan2002-03-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | means of a USE_JAVA definition. If a port does not define USE_JAVA, then this change should not affect that port. The purpose of this bsd.java.mk file has been extensively discussed on the freebsd-java mailing list. The current bsd.java.mk is based on the following specification documents: http://www.metaverse.nl/~ernst/installing.html http://www.metaverse.nl/~ernst/writing.html A proposal that lead to the development of these documents and finally the current bsd.java.mk file is: http://www.metaverse.nl/~ernst/freebsd-java-proposal-20011116.html The bsd.java.mk has been sent to portmgr for review. They had no objections. Reviewed by: portmgr@FreeBSD.org, java@FreeBSD.org Approved by: sobomax@FreeBSD.org Notes: svn path=/head/; revision=56781
* The second, and I hope the last, revision of speedup patch - make USE_SUBMAKEMaxim Sobolev2002-03-281-19/+28
| | | | | | | | | | working as advertised. This should fix mod_phpX and probably some other 30 ports that use USE_SUBMAKE. Default behaviour remains exactly the same. Prompted by: dirk Notes: svn path=/head/; revision=56780
* Slightly adjust speedup patch, so that it works when user specifies unnaturalMaxim Sobolev2002-03-271-2/+6
| | | | | | | | | targets sequence, i.e. `make clean build'. It doesn't affect default behaviour. Reported by: knu Notes: svn path=/head/; revision=56726
* - Significantly reduce overhead associated with bsd.port.mk by replacing .USEMaxim Sobolev2002-03-251-183/+175
| | | | | | | | | | | | | | | | | | | | | | macro, which was invoking separate make(1) process for each of the main targets, with explicit make(1) targets and specifying the dependencies on those targets in normal Makefile way. This gives up to 4x speedup. For the ports relying on the old functionality (i.e. each main target in a separate make(1) process) provide a USE_SUBMAKE knob, which provides old behaviour; - speed-up dependency registration process by the factor of two, which could be a great win especially for things like GNOME and KDE with very long dependency chains; - clean-up internal structure of the file, so that it is easier to understand and extend it when necessary. Inspired by: NetBSD Reviewed by: freebsd-ports@ Tested by: bento Notes: svn path=/head/; revision=56609
* XFree86 4.2.0 Stage 1: bsd.port.mkWill Andrews2002-03-161-0/+22
| | | | | | | | | | | | | | [1] Handle HTML-ified manpages in plists. [2] Add --x-[libraries,includes]=${X11BASE}/[lib,include] if we are using GNU_CONFIGURE in this port. This is required if the port adds a bunch of other libraries by default to CPPFLAGS and configure gets a false positive. Submitted by: [1] sf [2] many people Notes: svn path=/head/; revision=56228
* Take Perl 5.6.1 into account. Allow for slow updaters who prefer toMark Murray2002-03-161-0/+6
| | | | | | | stay with an older CURRENT and perl 5.6.0. Notes: svn path=/head/; revision=56227
* Add -D_THREAD_SAFE for -current tooAndrey A. Chernov2002-02-241-1/+1
| | | | | | | Approved by: portmgr & ports silence Notes: svn path=/head/; revision=55190
* Fix a typo in the CD_MOUNTPTS bits.David E. O'Brien2002-02-221-1/+1
| | | | | | | Submitted by: Alexander Zagrebin <alexz@visp.ru> Notes: svn path=/head/; revision=55101
* Fix the default CONFIGURE_TARGET to one that is a proper GNU tuple.David E. O'Brien2002-02-211-2/+2
| | | | | | | Approved by: several portmgr members Notes: svn path=/head/; revision=55045
* Add a default value for _PATCH_SITES_DEFAULT so the MASTER_SITE_NSteve Price2002-01-241-0/+1
| | | | | | | patch is functional. Notes: svn path=/head/; revision=53663
* Bring in changes tested on bento's new 4-exp tree, specially fitted for theWill Andrews2002-01-231-41/+346
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.5 release. 1) Add support for MASTER_SITE_N. This is by far the largest part of this patch; many thanks to Mario for his hard work on this! Submitted by: lioux 2) Allow multiple CD mountpoints to be specified. PR: 8063 Submitted by: MOROHOSHI Akihiko <moro@race.u-tokyo.ac.jp> Rewritten by: will (with suggestions from steve) 3) Fix MLINKS description. PR: 29876 Submitted by: dirk 4) Add imake dependency for XFree86 3.x when USE_IMAKE is defined because it's possible the port may not need X itself, but just imake. Submitted by: max 5) Fix installing as non-root with ${INSTALL*} macros. PR: 25531 Submitted by: Martin Kammerhofer <mkamm@gmx.net> Thanks to Kris Kennaway <kris> and Steve Price <steve> for helping make the experimental tree on bento a reality. Notes: svn path=/head/; revision=53624
* Add AUTOMAKE_ARGS+=-i by default if AUTOMAKE_VER != 1.5. This generatesWill Andrews2001-12-221-0/+1
| | | | | | | | | | Makefiles more useful for non-GNU make(1). Requested by: obrien Reviewed by: steve, bento 4-exp Notes: svn path=/head/; revision=52002
* Add USE_AUTO{CONF,MAKE}_VER following original idea from bsd.kde.mkMario Sergio Fujikawa Ferreira2001-11-281-13/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by will 1) Make selection of AUTO{CONF,MAKE} flexible depending on *_VER variables. 2) This is backward compatible with previous behavior. For example, {ACLOCAL,AUTO{CONF,HEADER,MAKE,RECONF,SCAN,UPDATE,IFNAMES}} are set with default values even if USE_AUTO* are not set. 3) Have the defaults be devel/autoconf213 and devel/automake14 ports (just set the USE_*VER?= to the latest values, or a bogus value). If the user sets a bogus value, we use the default values. 4) Furthermore, add variables in the same sense of the PTHREAD_* vars. We must be able to automagically patch the ports based on the correct {ACLOCAL,AUTO{CONF,HEADER,MAKE,RECONF,SCAN,UPDATE,IFNAMES}} values. 5) Moreover, add {ACLOCAL,AUTO{MAKE,CONF}}_DIR variables pointing to the right locations based on the *_VER variables, this is useful if a port needs to grab files from those. This might seem too much but if we want automagical, we should go this extra mile. Requested by: too many Reviewed by: portmgr, ports Approved by: portmgr (will), ports (silence) Notes: svn path=/head/; revision=50674
* Fix a wrong comment. PATCHDIR is now ${MASTERDIR}/files by default,Akinori MUSHA2001-11-171-1/+1
| | | | | | | | | | not ${MASTERDIR}/patches. PR: ports/30328 Submitted by; Hye-Shik Chang <perky@python.or.kr> Notes: svn path=/head/; revision=50159
* Add bzip2 support for distribution patches. The bzip2 dependency isAkinori MUSHA2001-11-171-2/+11
| | | | | | | | | | automatically added if there is a .bz2 patch in PATCHFILES. PR: ports/16252 and ports/30862 Seven months have passed since the PR was assigned to: portmgr Notes: svn path=/head/; revision=50158
* Add a bunch of generally used command macros:Akinori MUSHA2001-11-171-9/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BZCAT, BZIP2_CMD, CHGRP, CUT, DC, ECHO_CMD, EGREP, FILE, FIND, HEAD, ID, IDENT, STRIP_CMD, SU, TAIL, TEST, XARGS And use shell (ash or ksh) builtins where available for efficiency: ECHO_CMD, FALSE, TEST, TRUE Grepping the ports tree, a few dozen ports already have FIND, STRIP_CMD and XARGS variables on their own and numerous ports use these commands without using macros. Some ports use FILE as a .for loop variable, but it doesn't matter anyway. Obtained from: NetBSD Remove the definition of ECHO because it is already defined in /usr/share/mk/sys.mk and leaving the useless definition may mislead developers. Add the following comment that would help: # ECHO is defined in /usr/share/mk/sys.mk and its value can either be # "echo", or "true" if the make flag -s is given. Use ECHO_CMD where # you mean the echo command. No response yet from: portmgr Clued by: Cyrille Lefevre <clefevre@citeweb.net> (on ${ECHO}) Notes: svn path=/head/; revision=50157
* Define EXAMPLESDIR as well as DOCSDIR and DATADIR. Of course thisAkinori MUSHA2001-11-171-0/+3
| | | | | | | | | | | | | | does not clobber the existing definitions because of the `?=' assignment. Grepping the whole ports tree, a few dozen ports already define this variable on their own and most of them have the same value as this (${PREFIX}/share/examples/${PORTNAME}). Approved but not committed by: portmgr Notes: svn path=/head/; revision=50156
* Fix PKG_IGNORE_DEPENDS so it matches the latest XFree86 3.x port.Akinori MUSHA2001-11-171-1/+1
| | | | | | | | | | | As I didn't see why the full package name is needed there, I changed it to a simple regexp that matches any later version of the XFree86 3.x port. No response from: portmgr Notes: svn path=/head/; revision=50155
* Add variables $ACLOCAL and $AUTOHEADER, now that the program namesThomas Gellekum2001-11-131-0/+2
| | | | | | | | | contain version numbers. Approved by: portmgr (sobomax) Notes: svn path=/head/; revision=49983
* Fix a quoting bug in `make describe'.Akinori MUSHA2001-11-091-58/+36
| | | | | | | | | | | | | | - Do not shrink series of spaces. - Do not expand shell wildcards in pkg-comment. I made the code cleaner and (3-4%) faster while I was at it. Tested by: diff(1) and its option -b (Maintainer timeout) Notes: svn path=/head/; revision=49878
* Allow the perl version and architecture to be overridden.Mark Murray2001-11-051-7/+7
| | | | Notes: svn path=/head/; revision=49627
* Fix abuse of ${AUTOMAKE}/${AUTOCONF}Maxim Sobolev2001-10-301-2/+2
| | | | Notes: svn path=/head/; revision=49369
* USE_AUTOCONF and USE_AUTOMAKE now depend and use the legacy versions.David E. O'Brien2001-10-291-4/+4
| | | | | | | | | | This is the fastest way to move forward. A better way would be to set USE_AUTOCONF and USE_AUTOMAKE to the version desired. We can do that later, I don't want to hold up the update of the autoconf and automake ports the latest versions. Notes: svn path=/head/; revision=49302
* Switch to building -current ports against XFree86 4.x.David E. O'Brien2001-10-091-1/+5
| | | | | | | Approved by: silence from portmgr Notes: svn path=/head/; revision=48590
* Add a "LATEST_LINK" knob. This makes it easy to set the Latest link, so thatDavid E. O'Brien2001-09-281-1/+4
| | | | | | | | | | less ports have to use NO_LATEST_LINK, and we won't have to keep artificially setting the PORTNAME to get the Latest link logic to do something reasonable. Approved by: will Notes: svn path=/head/; revision=48246
* Fix a spelling mistake.David E. O'Brien2001-09-231-2/+2
| | | | Notes: svn path=/head/; revision=48101
* Change "USE_NEWGCC" to "USE_GCC295" and add "USE_GCC30" for soon future use.David E. O'Brien2001-09-231-2/+10
| | | | | | | Approved by: portmgr Notes: svn path=/head/; revision=48100
* Include ${PKGNAME} in the names of cookie files so that a port wouldAkinori MUSHA2001-09-221-7/+7
| | | | | | | | | never re-use outdated, stale working directories. Approved by: portmgr (sobomax) Notes: svn path=/head/; revision=48074
* Update library pointer for Mesa3 port in USE_MESA so that ifWill Andrews2001-08-311-1/+1
| | | | | | | | | | | | | XFREE86_VERSION=4, Mesa3 will not get left out of the install. Previously, bsd.port.mk would find libGLU.so.1 from XFree86-4 and thus wouldn't install libglut.so.3 needed by XFree86-4 users for USE_MESA. PR: 29546 Submitted by: petef Urged on by for 4.4R: sf Notes: svn path=/head/; revision=47194
* Minor changes:Will Andrews2001-08-271-2/+2
| | | | | | | | | | | | | | 1) Bump PKG_IGNORE_DEPENDS for XFree86 to XFree86-3.3.6_9 2) Modify LDCONFIG_RUNLIST to apply RE multiple times on the same line. Needed for some ports. PR: 27645 (1) Submitted by: Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp> (1), demon (2) Reviewed by: portmgr Notes: svn path=/head/; revision=46944
* <expletive>Thomas Gellekum2001-08-031-1/+1
| | | | | | | Revert, this change wasn't supposed to go in. Notes: svn path=/head/; revision=45770
* Use a variable for PYTHON_PORTVERSION.Thomas Gellekum2001-08-031-1/+1
| | | | Notes: svn path=/head/; revision=45768
* Do not build-depend on archivers/bzip2 if the system hasAkinori MUSHA2001-08-011-1/+1
| | | | | | | | | /usr/bin/bzip2, now that bzip2 is MFC'ed to 4-STABLE. Approved by: portmgr Notes: svn path=/head/; revision=45690
* (1) Fix a typo becuase -> because.Steve Price2001-07-251-2/+5
| | | | | | | | | | | | Submitted by: Thierry Thomas <thierry@thomas.as> (2) Allow USE_X_PREFIX to be set to NO so that ports can use imake and not have to be installed in ${X11BASE}. Submitted by: Masafumi NAKANE <max@wide.ad.jp> Notes: svn path=/head/; revision=45488
* Similarly to DOCSDIR add DATADIR?=${PREFIX}/share/${PORTNAME}. Also slightlyMaxim Sobolev2001-07-101-1/+5
| | | | | | | | | expand comment for DOCSDIR, so it is immediately clear what its value is. Ignored by: obrien, portmgr Notes: svn path=/head/; revision=44999
* Add "DOCSDIR=${PREFIX}/share/doc/${PORTNAME}" so every port in the worldDavid E. O'Brien2001-07-091-0/+3
| | | | | | | | | | can stop duplicating this. We can also add knobs in the future to autmatically create the directory and what not. Approved by: portmgr Notes: svn path=/head/; revision=44978
* BUILD_DEPENDS on bzip2 only if ${OSVERSION} < 500021.FUJISHIMA Satsuki2001-06-291-1/+1
| | | | | | | Approved by: portmgr Notes: svn path=/head/; revision=44559
* Harden a wording of ``do not commit here'' warning at the top of the file. ItMaxim Sobolev2001-06-281-1/+3
| | | | | | | | appears that previous wording was not strong enough to prevent people from doing unauthorised changes. Notes: svn path=/head/; revision=44532
* Remove some extraneous breaksBrian Somers2001-06-281-4/+2
| | | | | | | | PR: 27909 No response from: portmgr Notes: svn path=/head/; revision=44528
* Upgrade openssl to 0.9.6a and bump the shlib version in the processDoug Barton2001-05-231-1/+1
| | | | | | | | | | | | | due to non-backwards compatible changes. The shlib bump necessitates a corresponding bump in bsd.port.mk for the automagic openssl dependency. Mistakes in the port are my responsibility. Approval for the bsd.port.mk commit comes through asami -> kkenn -> me. Kris is a little busy at the moment, so he asked me to lob it in. Approved by: kris Notes: svn path=/head/; revision=42951
* New category picobsd starts today.Satoshi Asami2001-04-221-3/+3
| | | | Notes: svn path=/head/; revision=41799
* (1) Move inclusion of bsd.kde.mk to the right place.Satoshi Asami2001-04-161-5/+5
| | | | | | | | | | Reviewed by: will Tested on: bento (2) Chase XFree86-3 revision. Notes: svn path=/head/; revision=41456
* Overhaul QT/KDE support:Will Andrews2001-04-031-14/+4
| | | | | | | | | | | | | | | | | | | | | - bsd.port.mk update to use bsd.kde.mk for USE_{QT,KDE}* - Cleanup corresponding ports for bsd.kde.mk update. - Fix bsd.kde.mk: use correct kdelibs dependency, put qt at the bottom, introduce QT_NONSTANDARD variable for nonstandard configure setup. - Update KDE2 to 2.1.1. Two patches included in x11/kdelibs2 to fix the proxy authentication that was broken for 2.1.1. Remove old patches. - Potentially fix kdelibs build for alpha. - Fix qt-designer 2.3.0 build. - Ruby stuff left alone since it looks like black magic to me. Should still work w/ compat shims for older USE_QT[,2] style. Some others were also left alone for the same reason. Reviewed by: portmgr, ports (bsd.kde.mk+bsd.port.mk) Submitted by: David Faure <faure@kde.org> (proxy auth patches) Alex Zepeda <garbanzo@kde.org> (old patches removal) Notes: svn path=/head/; revision=40792
* (1) Change maintainership of bsd.port.mk to portmgr@FreeBSD.org. This isSatoshi Asami2001-03-241-8/+15
| | | | | | | | | | | | | | | | an alias of a small group of people who agreed to take care of this file. (2) USE_QT2 now depends on qt23, not qt22, which will be deleted shortly. (3) Add new variables PTHREAD_CFLAGS and PTHREAD_LIBS to help the transition with the new pthread linking scheme. Submitted by: sobomax (4) Add new categories science and ukrainian. PR: 23313 (ukrainian) Notes: svn path=/head/; revision=40322
* (1) Change USE_NEWGCC dependency from lang/egcs to lang/gcc295.Satoshi Asami2001-02-171-3/+3
| | | | | | | | | | | | | | | | Submitted by: reg PR: 24525 Approved by: obrien (2) Change XFree86 version in PKG_IGNORE_DEPENDS Submitted by: olgeni (3) Change message for "old layout" error to include a pointer to the cvsup FAQ. Submitted by: kris Notes: svn path=/head/; revision=38415
* (1) Add PKGORIGIN support. Bump BSDPORTMKVERSION to reflect it.Satoshi Asami2001-01-161-1/+21
| | | | | | | | | | | | | | | | Submitted by: sobomax (2) Add new variable NO_OPENMOTIF that will disable dependency to open-motif (when USE_MOTIF is defined, of course). Use this if you want to make sure your commercial Motif won't get wiped out. Submitted by: obrien (3) Add NOPORTDOCS support to PLIST_SUB. When NOPORTDOCS is defined, PORTDOCS="@comment " will be added to PLIST_SUB. Prodded by: steve Notes: svn path=/head/; revision=37242
* Add AUTO{CONF,MAKE}_{ENV,ARGS}. Among other things, this will fixSatoshi Asami2000-11-161-2/+10
| | | | | | | | | | | audio/libao, audio/libogg, audio/libvorbis and audio/vorbis-tools which need --add-missing to be passed to automake. PR: 22610 Submitted by: Theo van Klaveren <t.vanklaveren@student.utwente.nl>, roger, sobomax Notes: svn path=/head/; revision=35187
* Change PKG_IGNORE_DEPENDS to contain some ridiculous string. OtherwiseSatoshi Asami2000-11-131-1/+1
| | | | | | | the list of dependencies become empty when XFREE86_VERSION=4. Notes: svn path=/head/; revision=35055
* Change motif to a normal dependency. REQUIRES_MOTIF is now calledSatoshi Asami2000-11-071-37/+4
| | | | | | | | | | | | | | | | | USE_MOTIF and generates a LIB_DEPENDS to x11-toolkits/open-motif. As before, it implies USE_XPM (and therefore USE_XLIB). Motif-dummy is removed from PKG_IGNORE_DEPENDS, whose sole resident is now XFree86-3. Most of the simple ".if defined(HAVE_MOTIF)"s are removed to always have USE_MOTIF. ftp/moxftp will define USE_MOTIF unless WANT_ATHENA_VERSION (new variable) is defined. I merged the X cases in cad/mars, so USE_MOTIF is used iff WITHOUT_X11 is not defined. I will remove x11-toolkits/Motif-dummy (which has been repo copied to open-motif) in a few days. Notes: svn path=/head/; revision=34892