Commit graph

766 commits

Author SHA1 Message Date
Pav Lucistnik
ed612087de - Correct and extend actual-package-depends target, introduced in previous
revision

Submitted by:	netchild
Tested by:	pointyhat exprun
2007-06-28 15:53:04 +00:00
Pav Lucistnik
0391f3691a - Provide actual-package-depends target, which prints actual dependencies of
freshly installed port, according to records in /var/db/pkg
- Use this new target when registering package, providing massive speedup

PR:		ports/112765
Submitted by:	Stephen Montgomery-Smith <stephen@math.missouri.edu>
Tested by:	bento amd64 exprun

- Fix double slash typo

Submitted by:	Alexander Logvinov <ports@logvinov.com>
Tested by:	bento amd64 exprun
2007-06-16 19:07:42 +00:00
Mark Linimon
942838f1d5 * Make 'make-deinstall-all' check for moved ports. [1]
* Defined the installation directories PORTEXAMPLES and PORTDATA. [2]

* Add USE_MAKESELF knob is added for ports that use the makeself archiver. [3]

* Update the description of fetch-list; add targets fetch-required-list,
  fetch-url-list, and fetch-urlall-list. [4]

* Make 'make search' also search in ports/MOVED. [5]

* Move several Makevar definitions to the pre-makefile section:
  DATADIR, DOCSDIR, ETCDIR, EXAMPLESDIR, WWWDIR. [6]

* The target 'ignorelist-verbose' was added for portsmon. [7]

PR:	69965 [1], 78490 [2], 79398 [3], 86776 [4], 104161 [5], 110781 [6]

Submitted by:	Dancho Penev <dpenev at mnet dot bg> [1], mnag [2],
		jylefort [3], edwin [4], Lars Engels <lars dot engels
		at 0x20 dot net> [5], Alexander Logvinov <ports at
		logvinov dot com> [6], linimon [7]
2007-05-25 00:09:37 +00:00
Florent Thoumie
f8e2a239ac Fix USE_XLIB to depend on stub file rather than libX11.
Submitted by:	marcus
Approved by:	portmgr (blanket)
2007-05-21 10:21:39 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Pav Lucistnik
e697ae3387 - Fix regression in makesum target introduced with rev. 1.561
Tested by:	kris on pointyhat
2007-04-07 12:51:47 +00:00
Pav Lucistnik
c470893e3e - Commit the correct version of mi's patch from ports/109896 as tested on
pointyhat

Reported by:	kris
2007-04-05 13:52:44 +00:00
Pav Lucistnik
0486e0af1d - Change default USE_GHOSTSCRIPT dependency from ghostscript-gnu to
ghostscript-gpl, which is a new preferred vendor platform

Submitted by:	rafan
Tested on:	pointyhat exp-run
2007-04-02 23:00:50 +00:00
Pav Lucistnik
93b7554779 - Overhaul bsd.tcl.mk: most importantly, change the semantics to match
USE_PERL5* macros:

  USE_TCL, USE_TK: lib depends
  USE_TCL_BUILD, USE_TK_BUILD: build depends
  USE_TCL_RUN, USE_TK_RUN: run depends

  See comment block in bsd.tcl.mk for details

PR:		ports/109097
Submitted by:	Martin Matuska <martin@matuska.org>
Tested on:	pointyhat exp-run
2007-04-02 22:55:29 +00:00
Pav Lucistnik
4c21980b83 - Minor optimizations: invocations of ${CUT} eliminated, pipes compacted, some
redundant sub-shells avoided
- Unify access to MD5_FILE data
- Deinstall bzip compressed man pages in addition to gzip compressed ones

PR:		ports/109896
Submitted by:	mi
Tested on:	pointyhat exp-run
2007-04-02 22:44:52 +00:00
Pav Lucistnik
90c48348fe - Add a code to invalidate saved OPTIONS when the set of OPTIONS defined in a
port changes. The end user inpact of this is more blue screens.

PR:		ports/97125
Submitted by:	pav
Tested on:	pointyhat exp-run
2007-04-02 22:42:38 +00:00
Pav Lucistnik
14489fef6b - Fix handling of OPTIONS default values when configuration files wasn't
written yet (make depends, make describe), and for options missing from
  existing configuration files

PR:		ports/96777
Submitted by:	rafan (in follow-up)
Tested on:	pointyhat exp-run
2007-04-02 22:41:20 +00:00
Pav Lucistnik
4b837cd0de - Remove now unused tcl81 category, add new categories tcl and tk
Tested on:	pointyhat exp-run
2007-04-02 22:39:20 +00:00
Pav Lucistnik
65e107ab69 [1] Introduce COPYTREE_BIN and COPYTREE_SHARE macros
[2] Fix ECHO_CMD/ECHO_MSG usage in bsd.port.mk
[3] Move bsd.efl.mk to ports/Mk
[4] Change LIBTOOLFILES default to ${CONFIGURE_SCRIPT}
[5] Whitespace sweep
[6] Add WWWDIR variable with default value of ${PREFIX}/www/${PORTNAME}

PR:		ports/100996 [1], ports/100556 [2], ports/100497 [3],
		ports/104009 and ports/104018 [5], ports/105529 [6]
Submitted by:	stass [1] [3], gabor [2], pav [4], edwin [5], laszlof [6]
Approved by:	ade [4]
2007-03-24 14:02:06 +00:00
Mark Linimon
74fd78a763 * Add bsd.ocaml.mk to support OCaml packages [1]
* Move x11-wm/xfce4/bsd.xfce.mk to Mk/ [2]

* Refactoring of FETCH_CMD to allow parameters to be overridden
  separately from commands [3]

PR:	101029 [1], 108862 [2], 109966 [3]

Submitted by:	Stanislav Sedov <ssedov at mbsd dot msk dot ru> [1],
		oliver [2], edwin [3], linimon [3]

Note: this patch also adds 108738 and 108739 which the previous commit
claimed were committed, but were not.  These are comment-only changes.
2007-03-14 04:06:55 +00:00
Mark Linimon
fbcb891de4 * Refine some comments about Linux emulation [1]
* Fix 'make search' with non-default ${PORTSDIR} [2]

* Fix typo in USE_LDCONFIG32 message [3]

* Allow USE_PHP after inclusion of bsd.port.pre.mk [4]

* Document NO_LDCONFIG_MTREE [5]

* Update/enhance description of INSTALLS_SHLIB and USE_LDCONFIG [6]

* Remove obsolete code in bsd.port.mk dealing with 4.X and other,
  even older, releases [7]

* Remove references to obsolete ports from bsd.java.mk [8]

PR:	105883 [1], 105917 [2], 106195 [3], 106557 [4], 108738 [5],
	108739 [6], 108782 [7], 103357 [8]

Submitted by:	bsam [1], shaun [2], edwin [3], ale [4], gerald [5] [6],
		linimon [7], kris [7], gabor [4]
2007-03-06 06:21:46 +00:00
Xin LI
624cee410a Update to OpenLDAP 2.4.4a.
Approved by:	portmgr (kris, bsd.port.mk part)
2007-02-21 05:40:11 +00:00
Pav Lucistnik
1f93c53266 - Fix WITH_DEBUG for ports that use STRIP_CMD
PR:		ports/109347
Submitted by:	Andrew Turner <andrew@fubar.geek.nz>
2007-02-20 15:30:54 +00:00
Pav Lucistnik
107532bd4d - Correct recently added WITH_DEBUG knob to not overzealously eat all -f
starting cflags, but only -fno-strict-aliasing, thus not going beyond the
  point of negating the default CFLAGS

Reported by:	Sean McNeil <sean@mcneil.com>
2007-02-19 22:31:31 +00:00
Pav Lucistnik
c00be10dd8 - Force new pkg_install suite on people on systems older than January 10 2006.
That is: 4.X, 5.3 and older, 6.0

  This fixes tar bailing out cannot finding (null) on make package,
  and if people use pkg_delete(1) from this port, it fixes the `can't remove
  (null)/libdata/ldconfig/foo' on deinstall too.
2007-02-05 22:57:20 +00:00
Michael Nottebrock
ffccf2fe1a Update the USE_QT_VER switch description (allows 3 and 4 for values now).
Approved by:	portmgr
2007-02-05 20:48:59 +00:00
Pav Lucistnik
0d0d56457b Populate a new ports-mgmt category. List of moved ports:
devel/portcheckout -> ports-mgmt/portcheckout
  devel/portlint -> ports-mgmt/portlint
  devel/portmk -> ports-mgmt/portmk
  devel/porttools -> ports-mgmt/porttools
  misc/instant-tinderbox -> ports-mgmt/instant-tinderbox
  misc/porteasy -> ports-mgmt/porteasy
  misc/portell -> ports-mgmt/portell
  misc/portless -> ports-mgmt/portless
  misc/tinderbox -> ports-mgmt/tinderbox
  security/jailaudit -> ports-mgmt/jailaudit
  security/portaudit -> ports-mgmt/portaudit
  security/portaudit-db -> ports-mgmt/portaudit-db
  security/vulnerability-test-port -> ports-mgmt/vulnerability-test-port
  sysutils/barry -> ports-mgmt/barry
  sysutils/bpm -> ports-mgmt/bpm
  sysutils/kports -> ports-mgmt/kports
  sysutils/managepkg -> ports-mgmt/managepkg
  sysutils/newportsversioncheck -> ports-mgmt/newportsversioncheck
  sysutils/pib -> ports-mgmt/pib
  sysutils/pkgfe -> ports-mgmt/pkgfe
  sysutils/pkg-orphan -> ports-mgmt/pkg-orphan
  sysutils/pkg_cutleaves -> ports-mgmt/pkg_cutleaves
  sysutils/pkg_install -> ports-mgmt/pkg_install
  sysutils/pkg_install-devel -> ports-mgmt/pkg_install-devel
  sysutils/pkg_remove -> ports-mgmt/pkg_remove
  sysutils/pkg_rmleaves -> ports-mgmt/pkg_rmleaves
  sysutils/pkg_trackinst -> ports-mgmt/pkg_trackinst
  sysutils/pkg_tree -> ports-mgmt/pkg_tree
  sysutils/portbrowser -> ports-mgmt/portbrowser
  sysutils/portconf -> ports-mgmt/portconf
  sysutils/portdowngrade -> ports-mgmt/portdowngrade
  sysutils/portcheck -> ports-mgmt/portcheck
  sysutils/portmanager -> ports-mgmt/portmanager
  sysutils/portmaster -> ports-mgmt/portmaster
  sysutils/portscout -> ports-mgmt/portscout
  sysutils/portsearch -> ports-mgmt/portsearch
  sysutils/portsman -> ports-mgmt/portsman
  sysutils/portsnap -> ports-mgmt/portsnap
  sysutils/portsopt -> ports-mgmt/portsopt
  sysutils/portupgrade -> ports-mgmt/portupgrade
  sysutils/portupgrade-devel -> ports-mgmt/portupgrade-devel
  sysutils/port-authoring-tools -> ports-mgmt/port-authoring-tools
  sysutils/port-maintenance-tools -> ports-mgmt/port-maintenance-tools
  sysutils/psearch -> ports-mgmt/psearch
  sysutils/p5-FreeBSD-Portindex -> ports-mgmt/p5-FreeBSD-Portindex
  sysutils/qtpkg -> ports-mgmt/qtpkg
  textproc/p5-FreeBSD-Ports -> ports-mgmt/p5-FreeBSD-Ports

Repocopies by:	marcus
2007-02-05 01:08:46 +00:00
Kris Kennaway
bfb0242e1e Drop PORTOBJFORMAT now that it is entirely unused. 2007-02-04 20:23:37 +00:00
Pav Lucistnik
0de3ff661a bsd.port.mk
[1] Remove DEPENDS
 [2] Add a new pkg-plist keyword @stopdaemon
 [3] Provide rc.subr script suffix as RC_SUBR_SUFFIX
 [4] Add USE_CDRTOOLS to abstract dependency on sysutils/cdrtool[-cjk]
 [5] Add DOS2UNIX_REGEX, allowing to pass a filename regex to CRLF replacement
     routine
 [6] Support partially translated manpages in MAN* variables
 [7] Fix USE_LDCONFIG on ports with @cwd in pkg-plist
 [8] Remove support for XFree86 3.X
 [9] Add user settable WITH_DEBUG flag that turns on -g in CFLAGS and resets
     STRIP
 [9] Fix `make install' to refuse overwriting of older version of the port
[10] New category ports-mgmt
[11] New category gnustep
[12] Removed category picobsd

bsd.java.mk
[13] Remove deprecated syntax

bsd.tcl.mk
[14] Provide TCL_VER when USE_TK[_BUILD] is defined. Fixes cad/netgen

ports/Makefile
[15] Make csup default `make update' method on FreeBSD 6.2 and up

PR:		ports/99742 [1], ports/93373 [2], ports/100915 [3],
		ports/105161 [4], ports/106029 [5], ports/106252 [6],
		ports/106235 [7], ports/100939 [9], ports/97507 [10],
		ports/103931 [11], ports/106921 [12], ports/104136 [13],
		ports/105215 [15]
Submitted by:	sem [1] [2], Matthias Andree <matthias.andree@gmx.de> [3],
		nork [4], pav [5] [7] [14], Nick Barkas <snb@threerings.net> [6],
		flz [8], gabor [9], shaun [10], erwin [12], hq [13],
		Gurkan Sengun <gurkan@linuks.mine.nu> [11]
2007-01-31 14:07:24 +00:00
Kris Kennaway
1801d62b27 * Hard-code PORTOBJFORMAT?= elf instead of using the (now removed)
objformat(1) and defaulting to a.out.  This will be removed entirely
  once port makefiles no longer reference it.

* Retire NO_FILTER_SHLIBS and associated pkg-plist mangling code that
  attempted to handle a.out-style shared library naming
2007-01-30 04:18:07 +00:00
Pav Lucistnik
b681129df8 - Fix USE_TCL_BUILD to not disable runtime dependency on tcl from USE_TCL
- Add a new knob: USE_TK_BUILD
- Support a new tcl version: 84-thread

PR:		ports/103897, ports/107372 (based on)
2007-01-08 00:00:33 +00:00
Mark Linimon
a245fe1498 * Split bsd.port.mk pre and post includes into 3 pieces instead of 2, to
allow OPTIONS to be able to influence dependencies.  This is still
  experimental [1]

* Teach bsd.gcc.mk about gfortran [2]

* Remove the outdated emulators/linux_base; the new default has been
  linux_base-fc4.  This will allow the outdated port to be removed [3]

* Add USE_FIREBIRD macros to bsd.database.mk [4]

PR:	93687 [1], 93690 [2], 103184 [3], 103357 [4]

Submitted by:	shaun [1], Pedro F. Giffuni <giffunip at asme to org> [2],
		gerald [2], thierry [2], vd [3], skv [4]
2006-09-30 19:25:46 +00:00
Kris Kennaway
7bd57ec6dd Remove PARALLEL_PACKAGE_BUILD check from MANUAL_PACKAGE_BUILD, it is
spurious.
2006-09-20 04:04:05 +00:00
Kris Kennaway
52d554cec4 * Add missing '|| true' to silence an @unexec rmdir [1]
* Repair CONFLICTS, which was broken by previous DESTDIR changes [2]

* Use "set --" instead of "set" for better robustness [3]

* Avoid :L modifier in ${USE_LDCONFIG} which broke e.g. /usr/X11R6
  ports [4]

* Correct a comment typo [4]

* Force passive FTP mode by default (this is already the default with
  the standard login class, so this is a NOP for most users) [5].

PR:             ports/101809 [1], ports/102300 [2], ports/102514 [3],
                ports/102750 [4], ports/96088 [5]
Submitted by:   bsam [1], Matthias Andree <matthias.andree@gmx.de> [2],
                infofarmer [3], flz [4],
                Darren Pilgrim <darren.pilgrim@bitfreak.org> [5]
2006-09-20 04:02:09 +00:00
Mark Linimon
3f6d652468 * Add PKGVERSION to bsd.port.mk [1]
* Add bsd.lua.mk to support for lua-based ports [2]

* Remove DESTDIR from bsd.scons.mk [3]

* Add some quotes in 'missing' target to improve handling of duplicate
  origins [4]

PR:	98565 [1], 101612 [2], 101952 [3], 102100 [4]

Submitted by:	ahze [1], alepulver [2], alexbl [3], shaun [4]
2006-09-15 06:57:07 +00:00
Erwin Lansing
16a4d859c0 - s/${DESTDIR}${PREFIX}/${TARGETDIR}/
- Fix FORCE_PKG_REGISTER issues [1]
- Make USE_RCORDER respect DESTDIR [2]
- Make ldconfig stuff respect DESTDIR

Reported by:	lofi [1]
Submitted by:	gabor, sem [2]
2006-08-14 13:24:18 +00:00
Erwin Lansing
50513d5d52 Add support for DESTDIR part I.
This commit should largele be a NOOP as it only adds support
for DESTDIR undefined. This does allow us to start testing
ports with DESTDIR set, but this is as of yet not supported.

Although this has been extensively tested on pointyhat, this
is a very intrusive change and some cases may have been
overlooked. Please contact Gabor and me if you find any.

PR:             100555
Submitted by:   gabor
Sponsored by:   Google Summer of Code 2006
2006-08-04 12:34:50 +00:00
Mark Linimon
9e237669f1 * Introduce IA32_BINARY_PORT for certain cases where a given port fetches
and installs compiled i386 binaries [1]

* Adds some infrastructure for support of 32-bit i386 apps on amd64 [1]

* Again fix USE_LDCONFIG logic to make it work with non-default PREFIX to
  fix bug introduced in previous revision [2]

PR:	98105 [1], 99370 [2]

Submitted by:	gabor [1], gerald [2]
2006-07-18 04:12:51 +00:00
Mark Linimon
eb55adfc1b Fix comments about LDAP versions.
PR:		ports/99638
Submitted by:	Tsurutani Naoki <turutani at scphys dot kyoto-u dot ac dot jp>
Pointy hat to:	linimon
2006-07-06 17:56:45 +00:00
Mark Linimon
e2d64eefa6 * Change all bogus uses of BROKEN to IGNORE. Note: the BROKEN_WITH_*
forms are retained for compatibility but deprecated [1]

* Add sha256 to CHECKSUM_ALGORITHMS [2]

* Remove some whitespace [2]

* Add USE_SCONS and bsd.scons.mk for the Python-based SCons build system [3]

* Fix USE_LDCONFIG with non-default PREFIX [4]

* Add USE_WX and friends, and bsd.wx.mk, for common code for WxWidgets
  support [5]

* Add 'make missing' to show missing dependencies [6]

* Fix DESKTOP_ENTRIES processing on 4.x [7]

PR:	92445 [1], 98206 [2], 98731 [3], 99370 [4], 89398 [5],
	93601 [6], 98891 [7]

Submitted by:	linimon [1], edwin [2], alex at foxybanana dot com [3],
		gerald [4], flz [4], alepulver [5], alex at fafula dot com [6],
		shaun [7]
2006-07-05 02:18:09 +00:00
Mark Linimon
385e991024 Revert ports/95841. It breaks kdelibs3. I didn't spot this because kdelibs3
had failed to build before this patch, but for other reasons that had already
been fixed.  Apologies to all.

Hat:		portmgr
Pointy Hat:	linimon
2006-06-26 23:39:09 +00:00
Mark Linimon
23388699d1 * Update default MySQL version from 4.1 to 5.0 [1]
* Update default PHP version from 4 to 5 [2]

* Update default LDAP version from 2.2 to 2.3 [3]

* Add support for LDAP version 2.4 [4]

* Update default linux_base from '8' (Redhat 8) to 'fc4' (Fedora Core 4) [5]

* Switch default Linux X implementation from XFree86 to xorg to track the
  above [5]

* Deprecate INSTALLS_SHLIB and replace it by USE_LDCONFIG.  If set to "yes",
  the old behavior is preserved.  Otherwise, it can be set to a list of
  directories to be added to ${PREFIX}/libdata/ldconfig/${UNIQUENAME}.
  Note that this directory is used by ldconfig startup script, it is meant
  to replace ldconfig scripts installed by some ports as (sometimes
  000.${UNQUENAME}.sh) [6]

* Adds USE_LDCONFIG32 which is like USE_LDCONFIG but the target file is
  ${PREFIX}/libdata/ldconfig32/${UNIQUENAME} instead.  (Note: this should
  only be used on 64-bit architectures) [6]

* Set the default LANG for tr to be C to avoid some build problems [7]

* Include bsd.java.mk in both pre and post sections [8]

* Get rid of remnants of FORCE_PKG_REGISTER [9]

* Always print options with make showconfig [10]

PR:	92805 [1], 92806 [2], 96793 [3], 97515 [4], 96849 [5],
	91933 [6], 91381 [7], 97020 [8], 95841 [9], 97133 [10]

Submitted by:	ale [1][2], delphij [3][4], netchild [5], flz [6],
		Tsurutani Naoki <turutani at scphys dot kyoto-u dot ac dot jp>
		[7], hq [8], sem [9], pav [10]
2006-06-16 04:53:43 +00:00
Kris Kennaway
0a3fc3fd5b * Avoid .if syntax that causes syntax error on old 4.x make [1]
* Cleanup comments [2] [3] [4]

* include bsd.emacs.mk only when USE_EMACS is set [5]

* Silence the install-info target [6] [7]

* Correct the implementation of pretty-print-run-depends-list [8]

* Use a consistent name for the cookies file when PKGNAMEPREFIX/SUFFIX
  are set after bsd.port.pre.mk. [9]

* Include bsd.tcl.mk if USE_TCL_BUILD is defined [10]

* Set PERL_MM_USE_DEFAULT in BATCH mode [11]

* Add the {ONLY,NOT}_FOR_ARCH_REASON and
  {ONLY,NOT}_FOR_ARCH_REASON_${ARCH} variables to allow better
  customization of the error string reported to users when they
  attempt a build on an unsupported architecture. [12]

* Avoid errors from duplicated targets when parsing MLINKS on ports
  without a default value set. [13]

* Fix handling of MLINKS when invalid entries are listed [14]

* Enforce sanity of DESKTOP_ENTRIES.  If the Categories field is
  omitted, try to map ports categories to their freedesktop.org
  counterpart [15]

PR:     93873 [1], 92923 [2], 93234 [3], 95680 [4], 95238 [5],
        91621 [6], 94035 [7], 94164 [8], 94219 [9], 92355 [10],
        95579 [11], 94675 [12], 66109 [13], 66110 [14], 95603 [15]

Submitted by:   Eric Cronin <ecronin@gizmolabs.org> [1],
                edwin [2][12], pav [3], vd [4][8], nobutaka [5],
                anray [6], krion [7],
                Andrey Deynega <licedey@gmail.com> [9], mnag [9],
                garga [10], skv [11], eik [13][14], jylefort [15]
2006-05-23 21:53:18 +00:00
Alexander Leidinger
09c8994868 Revert previous commit to this file (the commit message belongs to
bsd.linux-rpm.mk). It was done by accident.

Pointyhat to:	netchild
2006-05-02 10:09:23 +00:00
Alexander Leidinger
690d6ea08a Extract only the binary RPM's.
This should fix linux-expat, linux-glib2, linux-gnomelibs and
linux-xorg-libs (and thus linux-jpeg) on pointyhat.

Noticed by:	pointyhat (kris)
2006-05-02 10:06:54 +00:00
Joe Marcus Clarke
fa3a3d04e4 Add support for gstreamer-0.10 along side legacy support for 0.8.
Approved by:	portmgr (kris and implicit)
2006-04-29 22:09:41 +00:00
Ade Lovett
363cdd1ddb Clean up spurious "true" in the case of a non-autotools run-autotools
target.

PR:		93757
Forgotten by:	ade
Approved by:	portmgr (implicit)
2006-02-23 15:37:20 +00:00
Ade Lovett
23d7454341 Only include bsd.autotools.mk if USE_AUTOTOOLS is defined. Tested as
part of the single-libtool patch.

Approved by:	portmgr (kris)
2006-02-23 10:43:00 +00:00
Kris Kennaway
9c33f48abd * Back out the PERL_(BUILD|RUN)_DEPENDS. It needs to be reimplemented
so it appends to (BUILD|RUN)_DEPENDS instead of defining new types,
  since this requires changes to third party code like the
  tinderbox and pointyhat.  Hopefully this will be revisited by the
  author in the future. [1]

* Cause USE_RC_SUBR to install startup scripts as foo, rather than
  foo.sh, on applicable RELENG_6 systems as well as HEAD [2]

PR:             ports/92711 [1], ports/93265 [2]
Submitted by:   ade [1], dougb [2]
2006-02-23 08:28:14 +00:00
Anton Berezin
6f10f263a9 Perl 5.8.8 is the default now.
Approved by:	portmgr (kris)
2006-02-20 20:31:49 +00:00
Kris Kennaway
4c3ff6399d - Remove the use of .error in favour of BROKEN to fail more gracefully
[1]

- Fix all-depends-list target with dependencies that use the ':target'
  syntax. [2]

- Correct errors in USE_DOS2UNIX. [3], [4]

- Detect conflicts between installed and requested FAM implementations and
  fail more gracefully instead of registering a dependency on the
  wrong port.  Set the default implementation based on what the user
  has already installed.  [5]

- Correctly clean up info subdirectories in pkg-plist [6]

- The linux ldconfig invocation has to be done in a chroot, else some
  FreeBSD native libs get cached in the linux ld.so.cache.  Use the
  internal chroot feature of the linux ldconfig to do this. [7]

- Update the OpenLDAP default version. [8]

PR:             ports/92446 [1], ports/86310 [2], ports/92584 [3],
                ports/92688 (partial) [4], ports/92583 [5], ports/91057 [6],
                ports/92322 [7], ports/86310 [9]
Submitted by:   linimon [1], mi [2], jylefort [3], danfe [3],
                Alejandro Pulver <alejandro at varnet dot biz> [4],
                marcus [5], gerald [6], netchild [7], vsevolod [8]
2006-02-11 02:34:48 +00:00
Mark Linimon
b09666fc1e - Fix possibility of "infinite make fork" when "Registering install for ..."
EMACS ports.  [1]

 - Allow building a port as root using an NFS-mounted /usr/ports if the
   server maps root to a UID other than root. [2]

 - Make 'BROKEN' and 'IGNORED' ports exit their "make install" with a fail
   status rather than success. [3]

 - Improve behavior when dealing with versioned dependencies. [4]

 - Fix false positives in check-conflicts target. [5]

 - Remove obsolete bzip2 code. [6]

 - Add physical category net-p2p. [7]

 - Don't fetch INDEXFILE if not necessary; respect FETCH_ENV. [8], [11]

 - INDEX can now be moved outside of ports tree. [9]

 - Add ghostscript-gpl. [10]

 - Remove obsolete USE_MESA. [12]

 - Force pkg_install tools from ports on FreeBSD 4.10 and older. [13]

 - Document ALWAYS_KEEP_DISTFILES. [14]

 - Remove USE_REINPLACE from bsd.port.mk USE_DOS2UNIX patch. [15]

PR:	ports/37596 [1], ports/57259 [2], ports/63216 [3],
	ports/89448 [4], ports/89710 [5], ports/88996 [6],
	ports/89260 [7], ports/89363 [8], ports/89809 [9],
	ports/89853 [10], ports/91086 [11], ports/91710 [12],
	ports/91727 [13], ports/92111 [14], ports/92124 [15]
Submitted by:	Jay Sachs <jay at eziba dot com> [1], sem [1, 3, 8, 12],
		Andrew Heybey <ath at niksun dot com> [2], Jamie Jones
		<jamie at thompson dot bishopston dot net>, tobez [4], Mark
		Andrews <Mark_Andrews at isc dot org> [5], edwin [6, 11, 15],
		pav [7, 13], Peter Jeremy <PeterJeremy at optushome dot com
		dot au> [9], Ulrich Spoerlein <q at galgenberg dot net> [10],
		netchild [11], erwin [14]
Reviewed by:	kris, clement (partially)
2006-01-28 02:11:35 +00:00
Mark Linimon
390e15c842 Fix regression in all-depends-list target on 4.X due to ancient, buggy,
make(1) that does not support -C properly.

PR:		ports/92188, 92189
Submitted by:	tobez, linimon
Patch from:	clement
Tested on:	4.10, 5.4, 6.0
2006-01-23 22:29:26 +00:00
Mark Linimon
244bf72e9e Emergency fix to the @dirrmtry code.
PR:		ports/92128
Submitted by:	edwin
Reviewed by:	kris, linimon
2006-01-22 04:28:39 +00:00
Joe Marcus Clarke
feb7b457a0 Add a missing '@' to the ${DO_NADA} in the patch-dos2unix target. This
fixes an errant "true" that can be seen after make patch.
2006-01-21 22:07:08 +00:00
Dejan Lesjak
627b13b9fb Upgrade to X.Org 6.9.0 release.
Remove separate mtree file for X_WINDOW_SYSTEM=XOrg case. Both X11
distributions now use the one from /etc/mtree again.
2006-01-21 18:55:08 +00:00
Kirill Ponomarev
01c588a635 - Fix 'all-depends-list' target in cases if dependencies list is
very long and if some dependencies can't be added into the list.
  [1]

- Fix FAM support.  Make gamin the default FAM system. [2]

- Introduce new 'quicksearch' target to show only port, path and
  info section of the matching ports. [3]

- Introduce new category - rubygems. [4]

- Fix stale dependencies while installing qmail slaveport and
  another port that depends on qmail. [5]

- Add commentary for describes target in bsd.port.mk. [6]

- Fix warning issued during make index on archs !368. [7]

- Add USE_DOS2UNIX variable.  If set to "YES", remove the ^M from
  all files under ${WRKSRC}. If set to a string, remove in all files
  under ${WRKSRC} with one of these names the ^Ms. [8]

- Add new variables PERL_RUN_DEPENDS and PERL_BUILD_DEPENDS by
  checking the existance of the Perl modules with the "perl -e 'use
  module;'" command. [9]

- Fix bsd.port.mk variable quoting issues.  No quoting is necessary
  anymore either in the Makefile or on the command line.  Affected
  variables include:

  BROKEN
  FORBIDDEN
  IGNORE
  MANUAL_PACKAGE_BUILD
  NO_CDROM
  NO_PACKAGE
  RESTRICTED

  [10]

- Add NOFETCHFILES variable.  If set, don't download these files
  from the ${MASTER_SITES} or ${MASTER_SITE_BACKUP} (but do from
  ${MASTER_SITE_OVERRIDE}). [11]

- Improve 'search' target output. [12]

- Add a new virtual category for Amateur Radio - hamradio. [13]

- Cleanup some old/unused pathes in bsd.port.mk. [14]

- Add @dirrmtry for plists which does the same as:
  "@unexec rmdir %D/foo 2>/dev/null || true" [15]

- Remove virtual category - offix. [16]

- Use portsnap instead of cvsup or cvs on "make update" in
  /usr/ports. [17]

- Move location of bsd.autotools.mk within bsd.port.mk [18]

- Add bsd.linux-rpm.mk, fix INSTALLS_SHLIB for Linux ports [19]

- Use new USE_RC_SUBR format for FreeBSD version >= 700007 [20]

- Replace the string "FreeBSD" by "The FreeBSD Project" in the
  security warning [21]

- Add bsd.local.mk for local modification to ports framework. [22]

- Replace rcNG spelling by rc.d [23]

- Remove superfluous USE_REINPLACE. [24]

Special thanks to:      linimon for spending hours with all these patches
                        clement for fixes
                        kris for help with pointyhat
PR:     ports/86310 [1], ports/89498 [2], ports/83530 [3],
        ports/83789 [4], ports/84053 [5], ports/86281 [6],
        ports/87214 [7], ports/87234 [8], ports/87318 [9],
        ports/87396 [10], ports/87605 [11], ports/87840 [12],
        ports/88230 [13], ports/88493 [14], ports/88711 [15],
        ports/88751 [16], ports/89281 [17], ports/89999 [18],
        ports/90031 [19], ports/90150 [20], ports/90668 [21],
        ports/91433 [23], ports/88754 [24]
Submitted by:   mi [1], marcus [2], Lars Engels <lars.engels@0x20.net> [3],
                pav [4, 16, 20, 24], garga [5], cperciva [6], vd [7],
                edwin [8, 9, 11, 15, 21],
                fenner [10], Arseny Nasokin <tarc.po.cs.msu.su@tarc.po.cs.msu.su> [12],
                Carl Makin <carl@stagecraft.cx> [13], arved [14],
                NIIMI Satoshi <sa2c@sa2c.net> [17], thierry [18],
                jylefort [19], linimon [22], dougb [23]
2006-01-21 17:37:14 +00:00
Clement Laforet
a4b366df6a * Add bsd.database.mk [1]
- move out from bsd.port.mk USE_MYSQL and USE_PGSQL.
  - add support for Berkley DB and SQLite (via USE_BDB and USE_SQLITE
    knobs).

* Espace '+' in make search [2]

* Add "makepatch" target to simplify creation of patches during porting [3]

* Replace deprecated MACHINE_ARCH with ARCH [4]

* Remove support of OpenLDAP 2.1 [5]

* Add bsd.tcl.mk [6]
  It introduces USE_TCL/USE_TCL_BUILD knobs to support various
  version of tcl (8.0 -> 8.4)

* Fix cosmetic bugs in security-check target [7]

* Add support for INDEX-7 and above (up to INDEX-9 actually) [8]

* Add "package-recursive" to bsd.port.subdir.mk [9]

* Remove check for FreeBSD version < 460101 [10]

* New category: net-im [11]

* Add .desktop file facilities
  It introduces DESKTOPDIR and DESKTOP_ENTRIES knobs [12]

* Add SHA256 support to "*checksum" targets [13]

* Fix USE_PYTHON with OPTIONS [14]

* Force NO_LINT to MAKE_ENV to avoid library breaks [15]

* Fix typo: s/RC_ORDER/USE_RCORDER/g [16]

* Add support for PostgreSQL 8.1 [17]

* Add bsd.apache.mk
  USE_APACHE knob enhancements [18]

PR:		ports/85695 [1], ports/85669 [2], ports/85488 [3],
		ports/84489 [4], ports/83835 [5], ports/83718 [6],
		ports/83716 [7], ports/83710 [8], ports/82753 [9],
		ports/82138 [10], ports/81206 [11], ports/79509 [12],
		ports/79123 [13], ports/74866 [14], ports/85490 [15],
		ports/83514 [16], ports/88466 [17]

Submitted by:	vsevolod [1] [6], Ricardo Alves dos Reis
		<ricardo_bsd@yahoo.com.br> [2], markm [3] [15], obrien [4],
		krion [5] [8] , Petr Rehor <prehor@gmail.com> [7],
		clement [8] [18], jhs@berklix.org [9], edwin [10] [13],
		pav [11], jylefort [12], mnag [14], leeym [16], girgen [17]
2005-11-08 09:02:51 +00:00
Vsevolod Stakhov
90e8af9d9c Bump openldap23 shared library version.
Approved by:	portmgr (krion)
2005-09-15 12:24:33 +00:00
Alex Dupre
ddabbb3919 Bump MySQL 5.0 library version.
Approved by:	portmgr (marcus)
2005-08-28 18:47:56 +00:00
Anton Berezin
77fccdbd9d Update bsd.port.mk's notion of the current perl version.
Approved by:	portmgr (krion)
2005-06-24 09:18:54 +00:00
Mathieu Arnold
4726b54ea8 Fix plist for perl ports using devel/p5-Module-Build
PR:		ports/79330
Approved by:	portmgr (kris with pointyhat help)
2005-06-23 10:09:22 +00:00
Alexander Leidinger
23b3bc4b0d Mega-patch to cleanup the ports infrastructure regarding our linux bits:
- USE_LINUX now implies NO_FILTER_SHLIBS=yes. It also doesn't use FreeBSD
    tools to strip binaries anymore, so it's not neccesary anymore to override
    STRIP and STRIP_CMD.
  - USE_LINUX_PREFIX implies NO_MTREE now.
  - In the USE_LINUX case, USE_XLIB now depends upon the linux X11 libraries
    instead upon the native FreeBSD libraries.
  - The variable LINUX_BASE_PORT contains a string which is suitable as an
    item in *_DEPENDS, so if a port BATCH_DEPENDS or FETCH_DEPENDS upon the
    default (or overriden) linux base, ${LINUX_BASE_PORT} should be used
    instead of a hardcoded reference.
  - Change all ports to comply to the "new world order".
  - The Ports Collection now allows to override the default linux_base port.
    Specify e.g. OVERRIDE_LINUX_BASE_PORT=rh-9 in /etc/make.conf to use
    ${PORTSDIR}/emulators/linux_base-rh-9 (the logic is to use
    ${PORTSDIR}/emulators/linux_base-${OVERRIDE_LINUX_BASE_PORT}).
  - If USE_LINUX or OVERRIDE_LINUX_BASE doesn't point to an existing linux_base
    port and if USE_LINUX isn't set to "yes" (case insensitive), the port will
    be marked as IGNORE. [1]
  - Readd USE_LINUX knobs into several ports and make several uses of a
    conditional dependency ("USE_LINUX?=") into an unconditional one
    ("USE_LINUX=") which where removed/changed by Trevor to allow the use of
    alternative linux_base ports. While this is a nice goal, the implementation
    resulted in missing dependencies. The OVERRIDE_LINUX_BASE_PORT knob
    in this commit is supposed to fix the problem while keeping the feature.
    Basicaly this includes a backout of Trevor's commit, to prevent confusion
    I mention it here explicitely.
  - Use the correct prefix (X11- instead of LOCAL- or LINUX-) for some ports.
    Chase dependencies for this.
  - Changes to make linux_devtools installable on amd64, remove some stray
    device nodes (they don't work on recent OS versions and aren't really
    needed).
  - Make linux_base-8 PREFIX clean and remove some stray device nodes.
    Additionally tell a little bit more about how to setup NIS/YP [2].
  - Update the PGSQL dependency in the linux-opengroupware port to a recent
    version (the old one isn't available anymore), I don't know if this
    works (at least it isn't more broken than before).
  - Use PREFIX/usr/share/doc instead of PREFIX/usr/doc in the divx4linux
    ports, the former path exists already and gets populated by other
    packages too (PREFIX=LINUXPREFIX!).
  - Fix some obvious (non-linuxolator) bugs in some linux ports while being
    there.
  - Bump PORTREVISION where neccesary.

Requested by:	portmgr (linimon) [1]
Submittted by:	Gerrit Kuehn <gerrit_huehn@gruft.fido.de [2]
Approved by:	portmgr (kris, linimon), maintainers (or maintainer timeout)
Tested on:	ports cluster (kris)
Reviewed by:	silence on emulation@
Superseedes PR:	69997

Maintainer approval from:
	chris@chrisburkert.de
	cracauer@cons.org
	des
	girgen
	jamie@bishopston.net
	mezz
	mi
	nivit@users.sf.net
        pat
	simond@irrelevant.org
	riggs@rrr.de
	Udo.Schweigert@Siemens.com
2005-06-17 22:59:29 +00:00
Kirill Ponomarev
bd272b52cc * Improve documentation of CONFLICTS. [1]
* Fix add-plist-docs target to work correctly with wildcards. [2]

* Fix USE_MYSQL and USE_PGSQL knobs to work in partitial ports tree. [2] [3]

* Introduce 2 new variables: USE_FAM and WANT_FAM_SYSTEM. [4]

* Suppress "Vulnerability check disabled" message if
  DISABLE_VULNERABILITIES is defined. [5]

* Switch default MySQL version to 4.1 [6]

* Add support for OpenLDAP v.23. [7]

* Fix add-plist-info and add-plist-post targets to avoid warnings
  from ports which redefine them. [8]

* Fix add-plist-docs target to handle NOPORTDOCS knob properly. [9]

* Use INSTALLDIRS="site" in configure for perl ports. [10]

* Fix NO_(CHECKSUM|BUILD|INSTALL|PACKAGE) knobs if OPTIONS are
  defined. [11]

* Add an ability to depend on versioned installed package. [12]
  Example:

        BUILD_DEPENDS=p5-Tree-Simple>=1.12:${PORTSDIR}/devel/p5-Tree-Simple

  Please note, it's experimental feature, work is currently in
  progress.

PR:		ports/81922 [1], ports/77820 [2], ports/80023 [2],
		ports/78597 [2], ports/79011 [3], ports/79012 [3],
		ports/81168 [4], ports/78607 [5], ports/79604 [6],
		ports/80653 [7], ports/80880 [8], ports/81189 [9],
		ports/78144 [10], ports/69512 [11], ports/79823 [12]
Submitted by:	gerald [1], clement [2], lawrance [2], Jilles
		Tjoelker <jilles at stack dot nl> [3], marcus [4],
		adamw [5], ale [6], Vsevolod Stakhov <vsevolod at
		highsecure.dot.ru> [7], Vasil Dimov <vd at datamax dot bg> [8],
		sem [10], leeym [11], tobez [12]
2005-06-09 20:39:43 +00:00
Dejan Lesjak
ac39221672 Upgrade X.Org ports to 6.8.2.
Release notes are available at
http://www.x.org/X11R6.8.2/doc/RELNOTES.html

Thanks to kris and krion for running several cluster test builds,
maintainers of GNOME for prompt responses, portmgr for postponing ports
freeze for this update, testers on FreeBSD-X11@ list and others that I
might have mised here.

Also included:
- fix for ATI Mobility on Dell Inspiron 7500 (obtained from Marc Aurele La
  France; obtained and tested by julian)
- fix for kbd driver on Sparc64 (tested by Aaron Dudek, Michael G. Jung and
  Matthias Muthmann), which still appears to have problems with some
  keyboards - so
- fix for kbd driver on PC98 (reported and tested by NAKAJI Hiroyuki; PR
  ports/77217)
- fix for i810 on HP D530 (obtained from Egbert Eich; obtained and tested
  by Anders Nor Berle; PR ports/74757)
2005-03-17 23:22:13 +00:00
Kirill Ponomarev
bd07e61e5b * Add info files to TMPPLIST, only if INFO is specified. [1]
* Fix PATH problems during README.html generation if "make
  -DPORTSTOP readmes" is defined. [2]

* Add support for early rcNG startup scripts. [3]

* Remove duplicate USE_XLIB handling. [4]

* Add check for USE_PYTHON_(BUILD|RUN), and include bsd.python.mk if
  both are specified. [5]

* Use PRE-INSTALL target for SUB_FILES and SUB_LIST. [6]

* Introduce bsd.gstreamer.mk and utilize new macros:
  USE_GSTREAMER/WANT_GSTREAMER. [7]

PR:		ports/77634 [1], ports/77592 [2], ports/77385 [3],
		ports/77557 [4], ports/77344 [5], ports/77211 [6],
		ports/77838 [7]
Submitted by:	krion [1] [2], Florent Thoumie <flz@xbsd.org> [3] [6],
		pav [4], lofi [5], ahze [7]
2005-02-28 21:09:05 +00:00
Kirill Ponomarev
445134f025 Fix variable expansion bug on 4.x systems, this will fix INDEX and
builds of some ports.

PR:		ports/77250
Submitted by:	NIIMI Satoshi <sa2c at sa2c dot net>
2005-02-09 09:07:37 +00:00
Kirill Ponomarev
1c8dc16ebe * Change bento to pointyhat names in comments. [1]
* Document DISABLE_VULNERABILITIES variable. [2]

* Add WWW: line for 'search' target. [3]

* Speedup check-vulnerable invokation, if portaudit is installed. [4]

* Run install-info for all .info files. [5]

* Run add-plist-docs more strictly and prevent some situations with
  leftover files in the future. [6]

* Introduce two new variables: MASTER_PORT and SLAVE_PORT.
  The results from these variables is only used as information for
  users. [7]

* Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined. [8]

* Move all USE_GCC entries to new file - bsd.gcc.mk.  'test-gcc'
  target allows users to check gcc version if USE_GCC is used.  Give
  maintainers opportunity to add '+' character to USE_GCC version
  for using specified and higher versions. [9]

* Install startup scripts with the help of USE_RC_SUBR variable. [10]

* Add three new targets: config-recursive, rmconfig-recursive and
  config-conditional.  You can set or delete OPTIONS for all
  dependencies before every build.  config-conditional target is
  used to skip configuring ports which have already been
  configured. [11]

* Fix using of WANT_PGSQL_VER variable if postgresql is already
  installed. [12]

PR:		ports/75768 [1], ports/75728 [2], ports/76187 [3],
		ports/76191 [4], ports/76182 [5], ports/75379 [6],
		ports/75286 [7], ports/75727 [8], ports/76489 [9],
		ports/73691 ports/69217 [10], ports/76254 [11],
		ports/76988 [12]
Submitted by:	dinoex [1], edwin [2] [5] [6] [8] [9] [10],
		Marcus Grando <marcus@corp.grupos.com.br> [3],
		tobez and Valentin Nechayev <netch@netch.kiev.ua> [4],
		linimon [7], Florent Thoumie <flz@xbsd.org> [10],
		Chris Dillon <cdillon@wolves.k12.mo.us> [11],
		girgen [12]
2005-02-07 11:17:50 +00:00
Anton Berezin
e2611e24e0 Update bsd.port.mk's notion of the perl version (to 5.8.6) [1].
Use more correct OSVERSION threshold to distinguish between
base system perl and perl from ports - the right value is 500036 [1].

Also, simplify OSVERSION-related logic in lang/perl5 and lang/perl5.8.
Now it goes as follows:

- for lang/perl5.8, if there is perl in the base system, install
  use.perl script, use a helpful pkg-message, and do not automatically
  update symlinks;
- for lang/perl5.8, if there is no perl in the base system, do not
  install use.perl script, and update symlinks automatically;
- for lang/perl5, always install use.perl;
- for lang/perl5, never update symlinks automatically;
- for lang/perl5, vary produced pkg-message depending on the presence of
  the base system perl.

Bump PORTREVISION for both lang/perl5 and lang/perl5.8.

[1] Approved by:	portmgr
2005-02-02 09:34:05 +00:00
Palle Girgensohn
34fa6c853e Split the postgresql ports into a server and a client part.
All ports depending on postgresql shall use the USE_PGSQL=yes knob
defined in Mk/bsd.ports.mk. Bumping portrevisions where needed.

PR:		75344
Approved by:	portmgr@ (kris), ade & sean (mentors)
2005-01-31 00:35:55 +00:00
Alexander Leidinger
64cf27c85d Say hello to the linux mega patch, it consolidates our linux bits a
little bit and allows to proceed to a more recent linux_base from
a stable (read as: the major bugs should be ironed out or identified
and most linux ports build just fine) source.

It also allows to ship 4.11 with a working linuxolator (the EOLed
linux_base is marked forbidden because of a security hole).

This is a major update, please read UPDATING (and CHANGES if you
develop linux ports).

Changes:
 - change the default linux_base from v7 to v8
 - add a newer freetype to linux_base-8 for nicer fonts display [1]
 - don't let cpio use hardlinks in the linux_base-8 port to quiet some
   warnings in some cases [2]
 - fix a cut&past error in the linux_base-8 pkg-install script [3]
 - convert the binary knob "USE_LINUX" to a version specifier, e.g.
   USE_LINUX=<value> specifies a dependency upon
   emulators/linux_base-<value>, exceptions are a value of "7" (which
   does what you want and adds a dependency to linux_base) and any
   value without a corresponding port in
   PORTSDIR/emulators/linux_base-<value> (which adds a dependency to
   the default linux_base)
 - don't implicitly add USE_LINUX with the USE_LINUX_PREFIX knob,
   this allows us to use the USE_LINUX_PREFIX knob for linux_base and
   paves the way for splitting up future linux base ports into
   individual pieces
 - remove RESTRICTED from some GPL licensed ports, even when we only
   distribute binaries, we get them from official linux sites, so
   anyone can grab them there if he needs to
 - add a dependency upon the linux X11 bits where necessary (based upon
   guesswork)
 - don't use USE_X_PREFIX in some linux ports since it adds a dependency
   to the FreeBSD X11 libs, as a workaround use PREFIX?= (the clean
   solution would be to remove the implicit USE_XLIB from USE_X_PREFIX)
 - bump the portrevision of the linux ports ("better safe than sorry"
   algorithm)
 - pass maintainership of the important linux infrastructure to a
   mailinglist, hijack freebsd-emulation@ for this purpose (if somebody
   doesn't like this: tell us your bikeshed color at freebsd-emulation@,
   my color would be "linuxolator@" in case someone cares...)
 - add a pkg-install script for linux-fontconfig, but don't use it;
   everything should work without it (the FreeBSD fc-cache program should
   do all the work), but in case we need it we just need to decomment the
   pkg-install part in the Makefile
 - fix some dependencies
 - fix some bugs
 - add some static plists
 - unbreak the ports with dependecies to more than one linux_base

This also fixes some ports which are marked BROKEN because of dependencies
to v7 and v8 of linux_base at the same time.

Known bugs:
 - the linux-mesa and linux-devtools ports install libGL*.so symlinks
 - some "minor" plist bugs (e.g. ld.so.{conf,cache} are modified by
   the linux X11 port, so linx_Base-8 moans at deinstall time)

Future work (interested souls should coordinate with freebsd-emulation@):
 - add some kind of USE_LINUX_X11 knob to streamline the X11 dependencies,
   or modify the behavior of USE_XLIB in the USE_LINUX case
   AFAIK trevor has some patches.
 - make USE_XLIB and USE_X_PREFIX orthogonal to be able to get rid of
   the PREFIX?= workaround in some linux ports
   Should be discussed/coordinated on/with x11@.
 - move the RPM bits from x11-toolkits/linux-gtk/Makefile to PORTSDIR/Mk/
 - update to a more recent linux base

PR:			69997, 70539 (and maybe others)
Discussed with/on:	java@, x11@, trevor, portmgr
Tested by:		mezz, portmgr, pointyhat
RPM hunted down by:	Joseph Gelinas <scirocco@tasam.com> [1]
Requested by:		portmgr [2]
Submitted by:		kris [3]
Approved by:		portmgr
2004-12-31 18:24:10 +00:00
Kris Kennaway
71da5b35cf Rework MTREE_FILE handling from last commit:
* Users may specify a nonstandard PREFIX to install somewhere.  If they
  are trying to use an USE_X_PREFIX=yes port, install with BSD.x11*.dist.
  Otherwise, use BSD.local.dist.  Ports that deliberately set a nonstandard
  PREFIX must also set NO_MTREE to avoid spamming their hierarchy with an
  inappropriate MTREE specfile.

Pointed out by:	krion
2004-12-30 23:56:13 +00:00
Kris Kennaway
d9f3d6b0d0 * Back out introduction of DATE variable in previous commit; it conflicts
with the reasonable use of that variable to hold date strings in the
  environment [1]

* Overhaul the mtree spec file selection code: instead of deciding based
  on the value of USE_X_PREFIX, compare PREFIX to X11BASE and LOCALBASE
  directly.  This fixes the MTREE_FILE for ports that set PREFIX=${X11BASE}
  but don't set USE_X_PREFIX for some reason.  If PREFIX is a
  nonstandard value, set NO_MTREE=yes.

Noticed by:	Jez Hancock <jez.hancock@gmail.com> [1]
2004-12-30 07:14:27 +00:00
Eric Anholt
c90ee83f03 Update X.Org ports to 6.8.1, and the DRI port to use Mesa 6.2. Because Mesa 6.2
DRI drivers are incompatible with the old libGL in XFree86, they have been
repocopied to graphics/xfree86-dri.  Also note that with this commit the html
manpages are going away, and with it the runtime dependency on perl for the
imake port.

Release notes at: http://www.x.org/X11R6.8.1/RELNOTES.txt

Props to:	kris (multiple cluster runs and sorting through logs)
		lesi (fixing all the issues in those logs, and more)
2004-12-23 01:35:49 +00:00
Kirill Ponomarev
21ee7168bc * Add new command macros: DATE, FMT, MKTEMP, OBJDUMP,
and use command macro SORT. [1]

* Clean up the comments, and use 4 column tabs everywhere. [2]

* Introduce 2 new variables: SUB_FILES and SUB_LIST. [3]

* Document DEPRECATED and EXPIRATION_DATE variables. [4]

* Sanitize the intermittent output by the build infrastructure
  so that cutting and pasting from it no longer interferes
  with GNATS-tags. [5]

* Honour configure arguments for USE_XLIB if USE/WITH_LIBTOOL_
  is used. [6]

* Properly document 'describe' target. [7]

* Fix pkg-plist handling for ports that set a non-standard
  PREFIX. [8]

* Defaults INDEXFILE to INDEX-6 on 6-CURRENT (600000). [8]

PR:		ports/62298 [1], ports/73633 [2], ports/67151 [3],
		ports/74310 [4]. ports/74758 [5], ports/74536 [6],
		ports/74710 [7], ports/74691 [8]
Submitted by:	eik [1], edwin [2], Florent Thoumie <flz@xbsd.org>,
		sem [4], vs [5], ahze [6], linimon [7], kris [8]
2004-12-09 21:44:48 +00:00
Kirill Ponomarev
ae1ec8f3dc * Fix INDEX build if MAINTAINER is not defined. [1]
* Remove USE_QT2 since it's obsolete now. [2]

* Clarify comments about ARCH. [3]

* Speedup 'make readmes'.  Add a perl script "Tools/make_readmes"
  and modify bsd.port.subdir.mk to avoid recursing into individual
  port directories to create README.html. [4]

* Fix 'make search' to allow case insensitive search on 5-x/6-x. [5]

* Add the possibility to search the ports by category. [6]

* Remove tk42 and tcl76 from virtual categories since they're
  obsolete. [7]

* Introduce new variable - DISTVERSION, vendor version of the
  distribution, that can be set instead of PORTVERSION and is
  automatically converted in a conforming PORTVERSION. [8]

* Use --suffix instead of -b option for patch(1) to make it
  compatible with BSD patch(1) [9]

* Fix {WANT,WITH}_MYSQL_VER behavior, to deal with conflicting
  versions. [10]

PR:		ports/68895 [1], ports/69486 [2], ports/68539 [3],
		ports/70018 [4], ports/68896 [5], ports/73299 [6],
		ports/73570 [7], ports/67171 [8], ports/72182 [9]
Submitted by:	linimon [1][3], arved [2][7], cperciva [4],
		Matthew Seaman <m.seaman@infracaninophile.co.uk> [5],
		Radek Kozlowski <radek@raadradd.com> [6],
		eik [8], Andreas Hauser <andy-freebsd@splashground.de> [9],
		clement [10]
2004-11-19 13:45:07 +00:00
Kris Kennaway
ff63c67768 Change the default value of PTHREAD_LIBS to -pthread for 5.x and
beyond.  This avoids linking shared libraries with the thread library,
which causes problems when trying to change from one thread library to
another.  Instead all binaries that link to a library that uses
threads must themselves respect PTHREAD_LIBS.

Submitted by:	deischen, marcus
Approved by:	portmgr
2004-10-07 17:59:18 +00:00
Kris Kennaway
7f1f3ccd34 * Support USE_GCC=3.[34] properly, and allow newer 5.x systems to
build ports with older USE_GCC versions (useful in certain cases for
working around compile errors with newer gcc versions) [1] [2] [3] [4]
(based on)

* Only spit out the TRYBROKEN message when a BROKEN string is defined

PR:             ports/70322 [1], ports/71344 [2], ports/64316 [3]
Submitted by:   obrien [1], Xin LI <delphij@frontfree.net> [2],
                trevor [3], jkoshy [4], et. al.
Approved by:	portmgr
2004-09-30 05:21:01 +00:00
Joe Marcus Clarke
37dea055cc Separate precious __softMAKEFLAGS from .MAKEFLAGS to fix certain build
problems with the new make(1) .MAKEFLAGS handling.  To disable
__softMAKEFLAGS caching, set NOPRECIOUSSOFTMAKEVARS (note: this is done
by default if the new make(1) is being used).  To disable .MAKEFLAGS
caching, set NOPRECIOUSMAKEVARS (same as before).

PR:		standards/57295
Submitted by:	harti
Tested on:	pointyhat
2004-08-03 19:03:58 +00:00
Kirill Ponomarev
973f5e1c35 Update PERL_VERSION and PERL_VER
Submitted by:	tobez
2004-07-30 08:35:54 +00:00
Eric Anholt
4eb209da7d - Add the X_WINDOW_SYSTEM={xorg,xfree86-4,xfree86-3} variable to bsd.port.mk,
and make XFREE86_VERSION map to it.  XFREE86_VERSION is now deprecated.
- Make xorg the default X_WINDOW_SYSTEM on -current.
- Add several new X_*_PORT variables which point to various pieces of X11 based
  on the setting of X_WINDOW_SYSTEM, and make ports use them.
- Add information to CHANGES about how to handle the transition.

PR:		ports/68763
Approved by:	portmgr (marcus)
Approved by:	re (scottl)
2004-07-23 19:10:32 +00:00
Joe Marcus Clarke
55ebc22659 Fix the IGNORE message when trying build a port with the wrong MySQL version.
PR:		69304
Submitted by:	kris
2004-07-22 23:02:41 +00:00
Oliver Eikemeier
2ee8681b62 make OpenLDAP 2.2 the default version 2004-07-17 14:23:34 +00:00
Kris Kennaway
3a7c8c1833 * Be even more explicit about partial ports trees being unsupported
for INDEX builds [1]

* Remove the parallel target from Makefile; this is heavily tied to
  the package build cluster and can be better done in the makeparallel
  script (commit to follow) [2]

* Extend the format of INDEX to separately list the
  EXTRACT/PATCH/FETCH_DEPENDS instead of lumping them all in together
  with BUILD_DEPENDS.  The three new fields are appended to the end of
  the record in that order. [2]

* Change BROKEN to IGNORE in BROKEN_WITH_MYSQL failure code [3]

* Support non-default PREFIX for perl 5.00503 [5]

* Use pkg_info -I instead of ls when searching for conflicts [6]

* Allow local customization of the port subdirectories by including
  ${.CURDIR}/Makefile.local in bsd.subdir.mk if it exists [7]

* Fix 'make search' when ${PORTSDIR} is a symlink to a directory name
  containing extended regexp metacharacters [8]

Submitted by:	linimon [1] [3], kris [2], lth [4], sem [5], eik [5] [6],
		Roman Neuhauser <neuhauser@chello.cz> [7]
PR:		68299 [1], 67705 [3], 67264 [4], 59696 [5], 66568 [6],
		68072 [7]
2004-07-14 08:18:16 +00:00
Kris Kennaway
22cbe54b9a * Support verbose index builds with INDEX_VERBOSE [1]
* Don't assume root is using /bin/sh when switching credentials to
  configure OPTIONS. [2]

* Support glob expressions in USE_GETTEXT to allow more flexibility
  in the face of future gratuitous library version bumps by the gettext
  developers [3]:

  USE_GETTEXT=yEs   # Works as before (case-insensitive)
  USE_GETTEXT=[5-7] # Accepts any of those libintl.so.x versions
                    # in the LIB_DEPENDS

* Correctly register dependencies when a non-system perl port is used
  on 4.x [4]

* Extend 'make search' support to allow much more flexible searching.
  Syntax will be documented in CHANGES for brevity. [5]

* Reorder the post-install-script target to before add-plist-info for
  consistency [6]

* Various fixes to support port operations when a port directory
  exists under /usr/obj [7]

* Extend USE_PERL5_BUILD and USE_PERL5 to add EXTRACT and PATCH
  dependencies since many ports require perl in those stages [8]

* Move info file deregistration later in the deinstallation process so
  it works properly. [9]

* Improve wording in EXPIRATION_DATE message. [10]

* Fix dependencies for XFREE86_VERSION==3 (obtain imake from
  x11/XFree86 now that the former port is gone) [11]

* While building index, treat non-existent dependencies as fatal.
  Previously the error was being hidden by the stderr redirection. [12]

* Don't always retry BROKEN ports when package building (it is taking
  too much time to continually rebuild ports that are usually going to
  really be broken).  Set TRYBROKEN if you want to attempt a build of
  a BROKEN port. [12]

* Revert incorrect change from 1.487 relating to ALL-DEPENDS-LIST [13]

PR: 		24214 [1], 67529 [2], 63937 [3], 65554 [4], 40699 [5],
		59162 [6], 63372 66567 [7], 63394 [8], 65304 [9],
		65931 [10], 66565 [11], 66743 [13]
Submitted by:	roam [1], will [1], hrs [2], mi [3], ade [4],
		Roman Neuhauser <roman@bellavista.cz> [5],
		Sergey Matveychuk <sem@ciam.ru> [6], gad [7],
		adamw [8], kris [8][12], dinoex [9],
		Alexey Dokuchaev <danfe@regency.nsu.ru> [10],
		eik [11][13]
2004-06-10 07:30:19 +00:00
Pav Lucistnik
2821ebfb31 - Update default perl version from 5.8.2 to 5.8.4
Forgotten by:	tobez
2004-05-31 18:07:57 +00:00
Oliver Eikemeier
a51cdd3ebe Update net/openldap22-* to 2.2.11 and follow the OpenLDAP soname change:
<http://www.openldap.org/lists/openldap-devel/200403/msg00101.html>

While I'm not totally happy with their choice, I believe it is better to
be in sync with the upstream library naming scheme.

No objection from:	portmgr
2004-05-27 11:29:07 +00:00
Kris Kennaway
d2404aab2f Two bugfixes:
* Move the add-plist-info target after post-install, so that ports that
  install their info files in the post-install phase will have them
  correctly registered in the plist.

* all-depends-list was too aggressive: it should only include the
  run-depends of the ports upon which it depends, plus the
  non-runtime dependencies of the port itself.  Previously it was also
  including the non-runtime (e.g. BUILD, EXTRACT, FETCH) dependencies of
  the ports upon which it depends, which are irrelevant.
2004-04-19 23:39:52 +00:00
Ade Lovett
08b6cdcb5e Introduce bsd.autotools.mk to the world, ripped from bsd.port.mk
This is essentially a null-commit, with the one exception that
the "patch-libtool" target is now called "patch-autotools" for
consistency with "run-autotools".

Many thanks to kris for testing on the 4-exp bento cluster

Approved by:	portmgr (kris)
Verified by:	bento 4-exp
2004-04-19 01:37:12 +00:00
Kris Kennaway
5696324036 Add patch hunk forgotten in previous commit (don't try to edit the makefile
that is not created by Build.PL when PERL_MODBUILD is set)

PR:		62422
Submitted by:	mat
2004-04-03 23:59:50 +00:00
Kris Kennaway
e74f65891d - Allow processing of info files in non-standard locations; the
INFO_PATH variable may be used to specify their location.  It defaults
  to 'share/info' for the standard PREFIX, and 'info' when PREFIX ==
  /usr. [1]

- Remove the <category>/pkg/COMMENT files in favour of a COMMENT
  variable in <category>/Makefile [2]

- Prevent patch breakage with VERSION_CONTROL=numbered [3]

- Fix some instances of incorrect WRKDIRPREFIX handling. [4]

- remove useless ${MKDIR} ${WRKSRC} in config target [5]

- remove reference to OpenBSD [6]

- Exempt devel/p5-Module-Build from the self-dependency in
  PERL_MODBUILD so that this port may use the option without getting an
  infinite dependency list [7]

- The default PERL_ARCH is currently determined as a function of
  OSVERSION. It should however be a function of PERL_LEVEL since the
  correct value depends on what Perl version one has installed (older
  Perl versions use ${ARCH}-freebsd, newer versions use mach). [8]

- Fix PORTDOCS on older (4.7, 5.0) systems [9]

- Allow 'make parallel' to generate a working makefile when not all
  categories are present (this does not mean you'll be able to build all
  ports, unless you make sure they don't have external dependencies) [10]

- Don't report symlinks as world-writable in the security check [11]

- Fix a comment that was broken by a mismerged patch [12]

- Clarify the meaning of USE_*, WANT_*, WITH_* and WITHOUT_* [13]

- Don't set _CHKSUMFILES/_IGNOREFILES if CKSUMFILES/IGNOREFILES is
  empty and DIST_SUBDIR is set. [14]

- Fix comment for DISTDIR [15]

- Update the documentation of the USE_GL variable [16]

- Check to see if NONEXISTENT exists, and fail with an error if it does [17]

- Fix fetching of new distfiles in 'make makesum' when SIZE is set [18]

- Consistently set MAKE_ENV when USE_GCC=3.2 or 3.3 are set [19]

- Rework INDEX builds: [20]

  * Fix the bsd.port.subdir.mk code that is supposed to report index
    breakage (the fallback code wasn't actually being run because make
    would halt immediately following the error).  This should help with
    INDEX error reports because it will immediately show the cause of
    failure, so we won't have to pull teeth to extract it from the
    submitter.

  * Streamline the 'make describe' code a bit.

  * Provide some basic instructions to the user when an index build
    fails, on when and how to report index build failures (turn this off
    with INDEX_QUIET=1)

  * Removed INDEX_NOSORT, because I couldn't imagine it to be very
    useful and it doesn't cost very much anyway.

  * Don't prevent INDEX builds from seeing the local host environment.
    Since a lot of users are using 'make index' thesedays they should get
    an index that reflects their local settings and installed ports.  If
    you want to build a 'default' index that isn't influenced by local
    settings (e.g. for release builds), set the INDEX_PRISTINE variable.

  * Allows parallel INDEX builds (using make -j).  The most obvious way
    of doing this doesn't work, because I/O from child makes is broken up
    into 2k chunks, and output lines from 'make describe' that exceed this
    length (*cough* GNOME *cough*) will be intertwined with the output of
    other makes, leading to a corrupted INDEX.  The I/O interleaving
    can be disabled using 'make -P', but this inserts extraneous output of
    its own, and redirects stderr, making it useless for our purposes.
    Instead, I collect the output from the child make processes in
    temporary files and recombine them at the end.

  * The number of concurrent make processes to spawn can be set using
    INDEX_JOBS.  By default this is set to 2, which seems to be a sweet
    spot for both single and dual-processor systems.  On my tests I do not
    see any significant performance changes on UP, but on a dual 4.x
    system the build time drops by 47% (6 minute index builds on one test
    machine!).  Depending on your disk and CPU hardware you might see
    further gains with INDEX_JOBS=4 or higher, so you might like to
    experiment to see what works best.  On a dual 5.x system the
    performance gains do not seem to be as great (20-30%), but this is
    still a significant net win.

PR: 		55493 [1], 59651 [2], 61552 [3], 62247 [4], 62329 [5],
		62337 [6], 62422 [7], 62441 [8], 62627 [9], 62983 [10],
		63112 [11], 63297 [12], 63335 [13], 64029 [14], 64069 [15],
		64236 [16], 64519 [17], 62958 [18], 64237 [19]

Submitted by:	lev [1],
		Matthew Seaman <m.seaman@infracaninophile.co.uk> [2],
		Joel Ray Holveck <joelh@piquan.org> [3],
		ade [4], Sergey Matveychuk <sem@ciam.ru> [5],
		markus [6], mat [7], des [8], eik [9],
		Dmitry Morozovsky <marck@rinet.ru> [10],
		Andrew <andrew@ugh.net.au> [11], vs [12], linimon [13],
		edwin [14][15], gerald [16], marcus[17][18], kris [19][20]
2004-04-02 07:25:23 +00:00
Joe Marcus Clarke
742adcabd7 * Add a new bsd.php.mk that takes the place of lang/php4/bsd.php.mk [1]
* Remove trailing whitespace from bsd.port.mk [2]
* Enhanced OPTIONS handling [3]
* Add a USE_ICONV macro [4]
* Add a USE_GETTEXT macro [5]
* Add support for p5-Module::Build [6]
* Enhance bsd.sdl.mk with WANT_SDL [7]
* Remove NetBSD and OpenBSD bits from bsd.port.mk [8]
* Correct a type in PKGDIR description in bsd.port.mk [9]
* Add new DIRNAME macro [10]
* Cleanup bsd.port.mk [11]
* The default Perl for -CURRENT has been updated to 5.8.2 [12]
* Optimize recursive operations on the ports tree [13]
* Do not attempt to remove _CPUCFLAGS from CFLAGS if _CPUCFLAGS is
  not defined [14]
* Remove sysutils/rc_subr dependency on -CURRENT [15]
* Add MySQL 5.X support to the ports system [16]
* Fix a comment typo related to MySQL [17]
* Change PTHREAD_{CFLAGS,LIBS} behavior [18]
* Do not check distfile size on FreeBSD < 4.8 [19]
* Do not install ports with security vulnerabilities [20]
* Use ${LOCALBASE}/sbin/pkg_* tools if found [21]
* A new net-mgmt physical category has been added [22]
* Stop relying on port.mkversion [23]
* Fix a regression in checksum processing [24]
* Allow PLIST_{DIRS,FILES} to make use of PLIST_SUB [25]
* Switch to root to run config and rmconfig targets [26]
* Add SIZE attributes for distfiles by default [27]

PR:		61683 [3]
		62131 [4]
		61992 [5]
		61621 [6]
		61877 [7]
		61401 [8]
		61684 [10]
		61684 61955 [11]
		61857 [12]
		61757 [14]
		61454 [15]
		60559 [16]
		62039 [20]
		62039 [21]
		61856 [23]
		61972 [27]
Submitted by:	ale [1]
		marcus [2]
		eik [3]
		trevor [4]
		trevor [5]
		skv [6]
		edwin [7]
		Markus Brueffer <brueffer@phoenix-systems.de> [8]
		trevor [9]
		eik [10]
		eik des [11]
		des [12]
		kris [13]
		marcus [14]
		Sergey Matveychuk <sem@ciam.ru> [15]
		ale [16]
		linimon [17]
		eischen netchild [18]
		marcus netchild [20]
		eik [21]
		wollman [22]
		des [23]
		marcus eik [24]
		marcus [25]
		marcus [26]
		trevor [27]
2004-02-04 04:27:04 +00:00
Daniel Eischen
fba0329712 Back out last change to make PTHREAD_LIBS and PTHREAD_CFLAGS conditional
as I didn't get explicit permission from portmgr.

Suggested by:	adamw
2004-01-24 01:26:30 +00:00
Daniel Eischen
497c0097b4 Make PTHREAD_LIBS and PTHREAD_CFLAGS conditional. Also remove
-D_THREAD_SAFE from PTHREAD_CFLAGS when it isn't needed.
2004-01-23 22:31:36 +00:00
Joe Marcus Clarke
616f248e22 Fix a regression in bsd.port.mk where ports with multiple checksums per file
would fail make checksum.  Note: this is the simplest fix, but there is a
more complete fix by eik and myself that works in the spirit of the original
distinfo cleanup patch.  However, that patch needs to be tested on bento first.

PR:		61772
Submitted by:	dinoex
2004-01-23 16:22:26 +00:00
Joe Marcus Clarke
93c1cc87f6 Remove an extra blank line. 2004-01-20 22:27:01 +00:00
Joe Marcus Clarke
02da5b02ba Conditionalize the max command length on whether or not GNU_CONFIGURE is
defined.
2004-01-20 22:26:36 +00:00
Joe Marcus Clarke
5be37c5652 OPTIONSFILE now defaults to ${PORT_DBDIR}/${UNIQUENAME}/options where
${PORT_DBDIR} is /var/db/ports and ${UNIQUENAME} is
${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}.  OPTIONSFILE, PORT_DBDIR,
and UNIQUENAME are all overrideable by the porter.

Note: a better solution may be forthcoming after it can be shaken out
on bento.  This is a simple fix to workaround PORTNAME conflicts in the
tree.

Submitted by:	eivind
2004-01-20 22:17:03 +00:00
Joe Marcus Clarke
8be6ffc4f3 * Chase the shared lib version of OpenLDAP 2.2 [1]
* Make CONFIGURE_MAX_CMD_LEN default to sysctl -n kern.argmax which is more
  accurate, and has been in FreeBSD since the beginning (NOTE:
  CONFIGURE_MAX_CMD_LEN is still overrideable from a port's Makefile) [2]

Submitted by:	eik [1]
Requested by:	juli [2]
2004-01-20 19:35:27 +00:00
Joe Marcus Clarke
77e590c67f s/sanity-check/check-sanity/ since the latter is the actual target name.
Submitted by:	rushani
Pointy hats to: linimon and me
2004-01-20 16:18:33 +00:00
Joe Marcus Clarke
e587cce18d Here come the patches!
* Add ghostscript knobs [1]
* Add per-port persistent build options with a menu-driven front-end [2]
* Allow porters to override the message generated when do-configure fails [3]
* Add patch to obviate many pkg-plist files [4]
* Fix the PKG_DBDIR comment [5]
* Make ports framework more robust with regard to make index [6]
* Add new command macros to bsd.port.mk [7]
* Remove direct command use from bsd.port.mk [8]
* Make the ports system respect WITHOUT_CPU_CFLAGS [9]
* Break the SDL code out into bsd.sdl.mk [10]
* Add working support for USE_SIZE [11]
* Fix RANDOMIZE_MASTER_SITES on -CURRENT [12]
* Convert some spaces to tabs [13]
* Add new physcial categories accessibility and x11-themes [14]
* Speed up GNU configure scripts [15]
* Remove "//" from MLINKS items in PLISTs and fix make -s install and
  make -s deinstall [16]
* Be more specific about looking for files in distinfo [17]
* Add new run-autotools target, and resort configure targets [18]
* Make CONFLICTS compare prefix for installed packages and PREFIX [19]
* Change directory to ${.CURDIR} before running certain make commands [20]
* When INSTALL_AS_USER is set, run ldconfig with failures ignored [21]
* Speed up the security check phase [22]
* Fix some corner cases in the PORTDOCS code [23]
* Add a new DEPRECATED macro [24]
* Make INDEX breakage more informative [25]

Look for a full write-up to follow on ports@ and ports-developers@.

PR:		36112 [1]
		59909 [4]
		61351 [6]
		59058 [7]
		59058 [8]
		59493 [9]
		55494 [10]
		59058 [11]
		59315 [12]
		59058 [13]
		59811 [15]
		59058 [16]
		59058 [17]
		60882 [18]
		58149 [19]
		59058 [20]
		61133 [21]
		55331 [22]
		59070 [23]
		59362 [24]
		59626 [25]
Submitted by:	linimon [1]
		eivind [2]
		marcus [3]
		trevor [4]
		gerald [5]
		linimon [6]
		eik [7]
		eik [8]
		jeh [9]
		edwin [10]
		eik [11]
		Sergey Matveychuk <sem@ciam.ru> [12]
		eik [13]
		trevor gnome [14]
		adamw [15]
		eik [16]
		eik [17]
		edwin [18]
		clement [19]
		eik [20]
		edwin lev [21]
		Eugene M. Kim <ab@astralblue.com> [22]
		eik [23]
		linimon [24]
		eik [25]
2004-01-20 09:14:10 +00:00
Joe Marcus Clarke
5d0e10b310 Fix a typo that prevented proper automake257 dependencies from working.
PR:		59433
Submitted by:	Clement Laforet <sheepkiller@cultdeadsheep.org>
Approved by:	portmgr (implicit and kris)
2003-11-24 01:08:41 +00:00
Joe Marcus Clarke
35cd093dc0 Document the new PORTDOCS macro. This is a comment change only.
Submitted by:	Oliver Eikemeier <eikemeier@fillmore-labs.com>
2003-11-08 03:22:08 +00:00
Joe Marcus Clarke
e01b8f26ce Really add the fix for 56096. This was tested on bento, but somehow removed
at the last minute.  This fixes PKG_ARGS when WRKDIRPREFIX is specified.

Reminded by:	Oliver Eikemeier <eikemeier@fillmore-labs.com>
2003-11-07 17:55:41 +00:00
Joe Marcus Clarke
eb67234c29 * Improve the test for the old ports directory layout [1]
* Include SITE_PERL earlier [2]
* Use the correct versions of autoconf and automake [3]
* Add a PORTDOCS macro for automating installation of documentation files [4]
* Define a default Fortran compiler for each version of USE_GCC [5]
* Fix package builds when WRKDIRPREFIX is set [6]
* Add more comment documentation on default targets [7]
* Fix plist generation in certain cases [8]
* Fix COMMENT/COMMENTFILE checking [9]
* Use SU_CMD for deinstall and deinstall-all targets (provided
  INSTALL_AS_USER is not set) [10]
* Define a default WWWOWN and WWWGRP [11]
* Make INDEX builds work even when the port name is the same as a default
  target [12]
* Fix the new share/nls/C links [13]
* Don't look in ${LOCALBASE}/lib/compat/pkg for LIB_DEPENDS [14]
* Document package-recursive [15]
* Create a new virtual category, lisp  [16]
* Create a new real category, arabic
* Add a new GCCVERSION macro for eaisly tracking compiler version changes [17]
* Abstract out some of the common Apache bits [18]
* Enable the use of USE_OPENLDAP after including bsd.port.pre.mk [19]
* Add a new virtual category, pear [20]
* Add support for randomizing MASTER_SITES [21]
* Don't accept PORTVERSIONS that pkg_version can't handle [22]
* Add support for dynamic pkg-install, pkg-deinstall, pkg-message, and
  pkg-req scripts [23]
* Don't redirect stderr when running pkg_info -O.  This may help troubleshoot
  mysterious "Error 1" messages.
* Fix up the order of the various PKGNAME related macros to be consistent with
  portlint [24]

PR:		21885 [1]
		51588 [2]
		55325 [3]
		57778 [4]
		55674 [5]
		56096 [6]
		56355 [7]
		56533 [8]
		57272 [9]
		57378 [10]
		57403 [11]
		57438 [12]
		57488 [13]
		57664 [14]
		57928 [15]
		58232 [16]
		58317 [17]
		32604 [18]
		57529 [19]
		56582 [20]
		48377 [21]
		56960 [22]
		58885 [23]
		54351 [24]
Submitted by:	trevor [1]
		eik@fillmore-labs.com [2]
		rehsack@liwing.de, ade [3]
		eikemeier@fillmore-labs.com [4]
		thierry@pompo.net [5]
		Palle Girgensohn <girgen@pingpong.net> [6]
		edwin [7]
		leeym [8]
		edwin [9]
		fjoe [10]
		edwin [11]
		eikemeier@fillmore-labs.com [12]
		fuyuki@nigredo.org [13]
		eikemeier@fillmore-labs.com [14]
		freebsd@generalresources.com [15]
		linimon [16]
		linimon [17]
		dinoex [18]
		eikemeier@fillmore-labs.com [19]
		edwin [20]
		seanc [21]
		eikemeier@fillmore-labs.com [22]
Reviewed by:	eikemeier@fillmore-labs.com [23]
2003-11-07 08:51:46 +00:00
David E. O'Brien
8c4b61af8f <insert 20 nasty words here> and back out rev 1.467, which was committed
over a very lossy link and allowed me pilot error.
2003-09-03 19:50:24 +00:00
David E. O'Brien
9ca2ad6a8e Update Vim sites. 2003-09-03 19:46:57 +00:00
Joe Marcus Clarke
d6cd7e3e68 Clarify the RC_SUBR comments to match reality.
PR:		56111
2003-08-29 02:26:02 +00:00
Joe Marcus Clarke
6e05d97629 Fix typo in recent MySQL component addition. This typo lead to incorrect
operation when using MySQL 3.32.

PR:		56062
Submitted by:	leeym
2003-08-28 03:58:01 +00:00
Joe Marcus Clarke
4961e4ecb4 * Fix bug with already-installed check on older versions of FreeBSD [1]
* Fix bug where make install would fail if PKG_DBDIR did not already exist [2]
* Add MySQL components [3]
* Add OpenLDAP components [4]
* Separate OpenSSL components into bsd.openssl.mk [5]
* Separate GNUStep components into bsd.gnustep.mk [6]
* Add RC_SUBR support [7]
* Add a WANT_LESSTIF knob to use LessTif rather than Motif when USE_MOTIF is
  set [8]

PR:		55616, 55721, 55953 [1]
		55190 [2]
		55597 [3]
		55680 [4]
		39054 [5]
		50479 [6]
		54116 [7]
		36079 [8]
Submitted by:	Mats Dufberg <mats@dufberg.se>, marcus [1]
		Lev A. Serbryakov <lev@freebsd.org> [2]
		Clement Laforet <sheepkiller@cultdeadsheep.org> [3]
		Oliver Eikemeier <eikemeier@fillmore-labs.com> [4]
		dinoex [5] [6] [8]
		will [7]
2003-08-27 04:35:39 +00:00
Kris Kennaway
e549c662d1 * r1.455 introduced a change that uses su(1) to install the port if
built by non-root.  However, sometimes it is desirable to install the
  port as a non-privileged user.  Introduce the INSTALL_AS_USER variable
  to specify this behaviour. [1]

* Change SU to SU_CMD to allow other su-like commands to be used to
  perform the privilege escalation when installing as non-root
  (e.g. sudo) [2]

* Add support for USE_GCC=3.3 and 3.4 [3]

* Add support for the dns [4] and polish [5] categories, and the xfce
  virtual category [6]

* Use the pkg_install port on systems older than OSREVISION=460102, so
  they have the benefits of the advanced install/deinstall logic. [7]

PR:		ports/55091 [1], ports/55308 [3], ports/50444 [4],
		ports/53797 [5]
Submitted by:	dinoex [1], fjoe [2], Ulrich Spoerlein <q@uni.de> [3],
		Kimura Fuyuki <fuyuki@hadaly.org> [4],
		Aleksander Fafula <alex@fafula.com> [5], oliver [6],
		marcus [7]
2003-08-15 22:57:58 +00:00
Kris Kennaway
943ac185d5 * Remove some obsolete options: BROKEN_ELF, USE_DGS, NO_WRKDIR,
NO_EXTRACT, NO_CONFIGURE, NO_PATCH. [1]

* Remove support for USE_KDE{BASE,LIBS}_VER=2, since KDE 2.x is no
  longer in the ports collection [2]

* Add support for semi-automatic processing of GNU info files; they
  should be listed in the INFO variable (without the trailing .info),
  and appropriate installation/deinstallation code will be automatically
  added to the temporary pkg-plist before package registration. [3]

Submitted by:	arved [1][2], gerald [3]
PR:		ports/54782 [1][2], ports/54883 [3]
2003-08-04 01:17:39 +00:00
Max Khon
edbf751d82 Backout rev. 1.459.
Requested by:	kris
2003-07-30 15:42:22 +00:00
Max Khon
358875200d Convert ${SU} to ${SU_CMD}. This allows to use sudo instead of su
by defining 'SU_CMD=/usr/local/bin/sudo sh -c'.
Provide an example of using sudo instead of su as well.

Approved by:	kris, des
2003-07-30 08:53:49 +00:00
Kris Kennaway
8a48556be8 * Add USE_SDL option, which adds a dependency on the sdl12 port and
sets up SDL_CONFIG in the build environment. [1]

* Add the -o option to unzip when extracting files with USE_ZIP, to
  overwrite files when extracting, for consistency with other
  extraction targets. [2]

* Fix port installation/deinstallation on FreeBSD 4.6.2 and older
  (which does not have pkg_info -O), by falling back to the old
  installation/deinstallation logic on these systems [3]

* Correctly handle pkg-plist files that contain @cwd directives with
  the new install/deinstall code [4]

* Set up POSIX and en_US.US-ASCII locale symlinks after running mtree
  on BSD.local.dist. [5]

Submitted by:	David Yeske <dyeske@yahoo.com> [1],
		Alexey Dokuchaev <danfe@regency.nsu.ru> [2],
		Sergey Matveychuk <sem@ciam.ru> [3],
		Chris BeHanna <behanna@zbzoom.net> [3], marcus [4],
		ache [5]
PR:	ports/52309 [1], ports/52856 [2], ports/53189 [5]
2003-07-27 02:06:26 +00:00
Joe Marcus Clarke
b5a777c331 Include sed_inplace as a PATCH_DEPENDS rather than a BUILD_DEPENDS to fix
patching on older FreeBSD systems (4.5 and earlier).

PR:		54090
Submitted by:	tobez
2003-07-22 03:51:15 +00:00
Kris Kennaway
7213e2db1d If GNU_CONFIGURE is defined, replace all instances of config.guess
and config.sub found under ${WRKDIR} with the master versions from
${PORTSDIR}/Template.  This allows old ports (which contain old versions
of these scripts) to build on newer architectures like ia64 and amd64.

Submitted by:	naddy (initial patch, reworked by me)
2003-07-11 06:30:43 +00:00
Kris Kennaway
bffcbb778f * Attempt to detect and disallow installation of a port with PREFIX
set to a different value to that with which it was configured and
  built.  This is achieved by recording the PREFIX in the build-stage
  cookies [1]

* Add scheme [2], tcl84 and tk84 [5] as virtual categories

* Add the PERL_PORT variable and use it to register the dependency on
  the correct perl port when PERL_LEVEL is set [3]

* Add support for USE_AUTOHEADER [4]

* Fix 'make maintainer' when MAINTAINER is set to a bogus value (not
  in user@example.com format). [6]

* Add a 'package-recursive' target to create packages for a port and
  all of its dependencies [7]

* Fix command-line overflow errors in 'make readmes' on certain ports,
  with the bonus of providing a measurable speed-up to readme
  generation [8]

* Fix inclusion of alternative makefiles such as Makefile.inc,
  Makefile.local, etc. (broken since 1.403) [9]

* Reintroduce support for install/deinstall targets checking for older
  versions of the port, and re-add the deinstall-all target that
  removes all existing installations of a port (originally introduced
  in 1.446 and backed out in 1.450).  This patch has been reworked to
  eliminate the corner cases in the previous code.  Ports that
  dynamically generate their ${PLIST} at install-time must now do so
  before the do-install target is run, e.g. in pre-install.  [10]

* When installing ports as non-root, use su(1) to execute the targets
  that require root privilege.  This is achieved by splitting up the
  _INSTALL_SEQ target list into _INSTALL_SUSEQ [11].

PR:		23581 [1], 47238 [2], 48465 [3], 50165 [4], 51985 [6],
		52388 [7], 51609 [11]
Submitted by:	Matt Emmerton <matt@gsicomp.on.ca> [1],
		Sergey Matveychuk <sem@ciam.ru> [1] [7] [10] [11],
		Kimura Fuyuki <fuyuki@hadaly.org> [2],
		"Scot W. Hetzel" <hetzels@westbend.net> [3],
		Anton Berezin <tobez@FreeBSD.org> [3], nork [4],
		hsu [5], Mark Linimon <linimon@lonesome.com> [6],
		hoek [8], sobomax [9], marcus [10] [11], des [11]
2003-07-06 23:54:33 +00:00
Ade Lovett
b2fd75e438 libtool uber-patch
* kill devel/libtool and move to devel/libtool13, upgrading to 1.3.5
* upgrade repo-copied devel/libtool14 to 1.4.3
* break out libltdl into its own separate port
* move to version-numbered binaries/scripts (ie: there is *no* 'libtool'
  any more -- USE_LIBTOOL and USE_LIBTOOL_VER are your friends)

Approved by:	portmgr (kris) - for the bsd.port.mk hooks
Tested by:	bento 4-exp builds (repeatedly)
2003-06-26 22:58:32 +00:00
Trevor Johnson
1c3df409f6 Tidy up white space in the update-patches target.
PR:		24292
Approved by:	kris
2003-06-10 14:45:02 +00:00
Trevor Johnson
1d3db28a65 For the update-patches target, support PATCH_WRKSRC, which was
introduced in revision 1.356 of bsd.port.mk.

PR:		24292
Approved by:	kris
2003-06-10 14:43:07 +00:00
Kris Kennaway
b7fa920282 Remove excessive quoting of comment strings in created packages.
Submitted by:	lioux
2003-05-26 20:59:12 +00:00
Kris Kennaway
a5a5b115b8 Back out parts [3] and [5] of r1.446, which dealt with improved
'make deinstall' behaviour and stricter checking for an installed package.
There were some edge-case problems with these patches that we were not
able to solve in time for 5.1-RELEASE.  They'll probably reappear in
a modified form soon after release.

Discussed with:	marcus, Sergey Matveychuk <sem@ciam.ru>
2003-05-23 04:14:18 +00:00
Eric Anholt
2fb49cd5d1 Check XFREE86_HTML_MAN==yes case insensitively.
Approved by:	portmgr (kris)
2003-05-14 16:47:31 +00:00
Kris Kennaway
d7e6ae643c - Add support for the Tools/scripts/update-patches script [1]
- Stage II of pkg-comment removal; do not write out the comment to a
  temporary file, but process it inline [2].

- Add support for the CONFLICTS variable to register the fact that a
  port conflicts with installed packages.  This relies on the -C
  argument to pkg_create which is not yet present in 4.x, so the
  variable is currently a NOP on 4.x. [3]

- Fix pkg-plist support for html manpages.  This was broken as
  committed in r1.402.

Submitted by:	trevor [1], lioux [2],
		Sergey Matveychuk <sem@ciam.ru> [3]
PR:		24292 [1], 47146 [3]
2003-05-06 05:15:18 +00:00
Kris Kennaway
3888585c53 s/LIB_DEPENDS=/LIB_DEPENDS+=/ in the USE_GETOPT_LONG section.
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
2003-04-19 22:35:28 +00:00
Kris Kennaway
c8c848bfb6 - Improve USE_PACKAGE_DEPENDS to work correctly for LIB_DEPENDS, and
avoid installing packages when the target is configure or extract
  [1]

- If PYTHON_VERSION is set, do not automatically add a dependency on
  python: USE_PYTHON must now be specified explicitly.  This allows the
  variable to be set in make.conf or the environment to specify a
  preference for the python version to be used. [2]

- When checking for an existing installation of the port, check by
  port origin instead of only looking for the current version of the
  package. [3]

- Do not install perllocal.pod files; they are not used on FreeBSD. [4]

- Improve 'make deinstall' to deinstall any existing version of the
  package (e.g. older versions) instead of only trying to deinstall the
  version currently described by the port. [5]

- Check for world-writable files/directories in the security-check
  target. [6]

- Improve the patching of libtool so it works with pathnames ending in
  a slash. [7]

- Allow ports that use the INSTALL macros to install files when
  running as non-root (i.e. don't try to chown/chgrp) [8].

- Add the USE_GETOPT_LONG variable, which adds a dependency on
  libgnugetopt on systems older than 500041, and uses the system version
  otherwise. [9]

- Improve the fetch-required target to correctly deal with fetching
  dependencies that use the ':target' form. [10]

- Add support for re-fetching interrupted distfiles.  The FETCH_REGET
  variable specifies the number of times to try continuing the distfile
  fetch if it fails the md5 checksum. [11]

PR:	36083 [1], 44875 [2], 48646 [3], 48960 [4], 49017 [5], 49969 [6],
	50069 [7], 50159 [8], 50323 [9], 50669 [10], 12325 [11]
Submitted by:	dinoex [1], Gerhard Schmidt <estartu@augusta.de> [2],
	Sergey Matveychuk <sem@ciam.ru> [3] [5], tobez [4],
	Erwin Lansing <erwin@lansing.dk> [4],
	Arjan de Vet <devet@devet.org> [6],
	Hartmut Brandt <brandt@fokus.fraunhofer.de> [7], gerald [8],
	Sergei Kolobov <sergei@kolobov.com> [9],
	Erwin Lansing <erwin@lansing.dk> [10], alex [11]
2003-04-17 10:27:06 +00:00
Joe Marcus Clarke
5f81323968 Sync the GNOME comments with the latest bsd.gnome.mk.
Noticed by:	Piero <piero@poprostu.pl>
Approved by:	portmgr (kris)
2003-04-06 22:14:38 +00:00
Kris Kennaway
46e9a484f8 Reorder the 'configure-message patch-libtool' targets in _CONFIGURE_SEQ
so they appear after the *_depends targets.  This fixes builds on systems
that don't yet have libtool installed (prior to this commit the
patch-libtool target would be called before the libtool port was
installed by the dependency targets, and it would therefore fail).

Submitted by:	Claude Buisson <cbuisson@nerim.net>
2003-03-22 04:45:24 +00:00
Kris Kennaway
993f323caa * Don't include extraneous dependencies on bzip2 [1]
* Fix 'make package-depends' so it doesn't overflow on large ports [2]
* Fix logic in 'USE_PACKAGE_DEPENDS' [3]

Submitted by:	dinoex [1][3], marcus [2]
PR:		ports/48860 [1], ports/36083 [3]
2003-03-19 06:26:14 +00:00
Eric Anholt
617c57ad7c Change the imake-4 dependency to the new date.def file in XFree86 4.3.0.
Approved by:	portmgr
2003-03-12 00:28:17 +00:00
Kris Kennaway
a6cb176566 * Add considerable documentation about available variables, their
meaning and default settings [1]

* Add PATCH_DEPENDS and EXTRACT_DEPENDS, and convert various
  internal bsd.port.mk dependencies to use them [2]

* Set the default MAN3PREFIX to ${PREFIX}/lib/perl5/${PERL_VERSION}
  for perl ports, removing the need to define this locally in every
  port [3]

* Replace perllocal.pod with perllocal.pod-${PORTNAME} so that perl
  ports can be made to clean up after themselves properly [4]

* Properly quote filenames in the security-check target.  This
  unbreaks package registration for ports that install filenames
  containing metacharacters [5]

* Use "cat /dev/null >" instead of "rm -f" in the makesum target so
  that the file retains the correct ownership and permissions [6]

* Add a USE_PACKAGE_DEPENDS knob that may be set in the environment or
  make.conf, and which attempts to use existing local packages to
  satisfy port dependencies, instead of building them from ports [7]

* Add a first attempt at fetch-required and fetch-required-list
  targets which fetch or print all the distfiles that are required to
  build the port.  Dependencies that are already installed need not
  have their distfiles listed, and will not be reported [8].

  This needs more work, because ports that do things like:

    BUILD_DEPENDS=  ${NONEXISTENT}:${PORTSDIR}/foo/bar:blee

  will not have their distfiles listed and will therefore fail to fetch
  completely.  The target needs to be changed to include distfiles for
  ports that have a target listed

Submitted by:	Mark Linimon <linimon@lonesome.com> [1],
		Jim Trigg <jtrigg@spamcop.net> [2], skv [3],
		kuriyama [4], marcus [5], sheldonh [6], dinoex [7],
		Erwin Lansing <erwin@lansing.dk>
PR:		44841 [1], 29856 [2], 39662 [3], 48439 [5], 48450 [6],
		36083 [7], 48473 [8]
2003-03-02 02:06:56 +00:00
Kris Kennaway
0faeb16aba Update the description of the various "do not build this port" variables
(RESTRICTED, NO_PACKAGE, NO_CDROM, BROKEN) to match current reality.  Add
documentation of the FORBIDDEN and IGNORE variables.

Garbage collect the commented-out FORBIDDEN string for the openssl ports
since we no longer need to forbid crypto software.
2003-02-16 21:22:15 +00:00
Akinori MUSHA
37c1feacab Fix comment. LIB_DEPENDS can contain extended regular expressions. 2003-02-12 05:15:03 +00:00
Kris Kennaway
1508fdf4b8 * pkg-comment removal, take 2: introduce the COMMENTFILE variable
with the same semantics as the current COMMENT variable (location
  of the pkg-comment file), and reclaim COMMENT for the comment string
  itself.  To work around the problems with metacharacters in comment
  strings, comments are written to a temporary comment file as needed. [1]

* Support regexps in LIB_DEPENDS [2]

* Move the CD_MOUNTPTS variable to <bsd.port.pre.mk> [3]

* Improve 'make readmes' target [4]:
  - ^A and ^B have been replaced by | to avoid printing problems in
    'make readme'.
  - Add %%EMAIL%%, %%MAINTAINER%% (not used yet) and %%WEBSITE%%
    substitutions
  - Add pretty-print-www-site target.

* Add support for USE_GCC=3.2 [5]

* Use 'uname -p' instead of 'uname -m' to set the ARCH variable. [6]

* Add a ${YACC} variable [7]

* Path MANPREFIX in MAKE_ENV [8]

* Use the full patch to mkhtmlindex in MKHTMLINDEX [9]

* Avoid overflowing the commandline when constructing the _TMLINKS
  variable (fixes 'make index'). [10]

Submitted by:	lioux [1], mi [2], mbr [3][5],
		Cyrille Lefevre <clefevre@citeweb.net> [4],
		nyan [6], cy [7], dougb [8], anholt [9],
		fenner [10] (based on)
PR:		ports/34126 [2], ports/30983 [3] (based on),
		ports/31389 [4], ports/47306 [5] (based on),
		ports/35514 [6], ports/44496 [7],
		ports/44895 [8], ports/45549 [9]
2003-02-10 07:59:22 +00:00
Alan Eldridge
851233d7a5 Use the full, right paths for automake, autoconf so the error message if
something goes wrong corresponds correctly to what the build depends output
said it needed.

Approved by:	kris
2002-12-05 22:43:22 +00:00
Kris Kennaway
f9992608f9 Add the INDEXFILE variable, that defaults to INDEX-5 on 5.0 (500036) and
later, and INDEX on earlier systems.  Use this in the 'make index' and
associated targets.  This is necessary to deal with the substantially
different dependencies of ports between 4.x and 5.0 (e.g. ports that
depend on perl).
2002-12-04 17:17:48 +00:00
Alan Eldridge
346fc6d89a Added WANT_AUTO{CONF,MAKE}_VER, which set up all the variables as in USE_*,
but do not cause the program to be executed prior to configure step. This is
done to accomodate a couple of rather odd ports.

Basically, this amounts to redefining USE_*_VER in terms of USE_*, WANT_*_VER.
It's pretty gross, but it works.

Approved by:	implicitly by kris
2002-11-27 16:40:36 +00:00
Alan Eldridge
74b7d34dfd Emergency fix to move PERL_LEVEL to PRE part of bsd.port.mk, and provide
a default value of 0 if it can't be computed. This is necessary in order
to prevent make errors.

Approved by:	kris (sometime in near future)
2002-11-26 20:05:56 +00:00
Alan Eldridge
35aadeabb6 Added support for substituting chickens for goats in ritual sacrifice.
Completely rewrote the automake/autoconf support. The comments at the top of the file have been greatly expanded in order to explain just what you are allowed to do and what will get you a visit from Mr. Hose. Please read this information.

Added DOCSDIR, EXAMPLESDIR to PLIST_SUB.

Added a PERL_LEVEL variable (documented up top) that gives an integer
value that can be used for comparisons to determine whether the user's
perl is new enough or not, or to enable or disable certain dependencies
(AHEM FILE::SPEC) based on the perl version.

Added a SITE_PERL variable, which points to the correct "site-packages"
directory. This is also added to PLIST_SUB.

No gerbils were harmed (seriously, anyway) in the making of this patch,
however some of them may be a bit sore for a few days.

Submitted by:	billg
Reviewed by:	kris
Approved by:	kris
Obtained from:	you really don't want to know this one
2002-11-25 19:43:16 +00:00
Akinori MUSHA
5f192f55f3 Add several new real categories and virtual categories.
[Those marked with an asterisk (*) are virtual categories]

- accessibility* : Ports to help disabled users

  PR:		ports/39103
  Requested by:	trevor

- finance : Monetary, financial and related applications

  PR:		ports/39102
  Requested by:	trevor

- haskell* : Software related to the Haskell language

  PR:		ports/41959
  Requested by:	obraun

- hungarian : Hungarian language support

  PR:		ports/37576
  Requested by:	Janos Mohacsi <janos.mohacsi@bsd.hu>

- multimedia : Multimedia software

  Requested by:	many

- parallel* : pplications dealing with parallelism in computing

  PR:		ports/39094
  Requested by:	trevor

- portuguese : Portuguese language support

  PR:		ports/35991
  Requested by:	trevor
2002-11-18 09:30:52 +00:00
Kris Kennaway
a8090228ca Clean up handling of perl-related variables:
* Add USE_PERL_RUN and USE_PERL_BUILD to add {RUN,BUILD}_DEPENDS on the
  perl5 port if required (i.e. on 5.0 or later) (USE_PERL adds both,
  which is not always appropriate) [1]

* On 5.0 systems without perl, depend on the full path to the perl port
  binaries to not pick up the system perl wrapper

* If PERL_CONFIGURE is defined, move the USE_PERL setting earlier in
  the makefile so it actually adds a dependency. [2]

Noticed by:	dougb [1]
Submitted by:	sobomax [2]
Tested on:	bento
2002-11-17 05:16:16 +00:00
Kris Kennaway
76378afefc Revert the previous commit. A version of the previous patch was
extensively tested on the bento cluster, but the committed version
introduces significant new breakage at a very inopportune time.  This
will be revisited later.
2002-11-11 21:14:21 +00:00
Alan Eldridge
eb74687e79 Major change:
totally rewrote the autoconf/automake support section, with
	provisions for autoconf 2.54 and automake 1.7.x when they are
	ready.
Minor change:
	Added DOCSDIR, EXAMPLESDIR, and DATADIR to PLIST_SUB.

PR:		42351
Reviewed by:	kris
Approved by:	kris
2002-11-10 22:54:25 +00:00
Kris Kennaway
ba5da08bbb * Fix a typo in the MLINKS documentation
* If the ${COMMENT} file does not exist, use the value of the
  ${PORTCOMMENT} variable instead.  This will allow us to incrementally
  phase out pkg-comment [1]

* Miscellaneous fixes to the MASTER_SITES_N code [2]

* Correct fmt(1) invocation so it works on older systems [3]

* Improve the security-check target: [4]
	- Look for setuid/setgid binaries, and binaries that include
	  calls to accept()/recvfrom() (which are likely to be network
	  servers or have network server capability)
	- Check these binaries for insecure functions (if PORTS_AUDIT is
	  set in the environment, check for a larger set of functions
	  such as strcat/strcpy/sprintf)
	- Report network servers that are started by default.

Submitted by:	eric [1], lioux [2], fenner [3], kris [4]
PR:	ports/36078 [2], ports/36709 [2]
2002-11-03 05:43:49 +00:00
Kris Kennaway
d89d789ea8 Fix installation of +MTREE_DIRS introduced in r1.424
Submitted by:	sobomax
2002-10-02 07:18:17 +00:00
Kris Kennaway
12c14e0bf7 * Switch back to .tgz packages for 4.x (5.0 still uses .tbz packages) [1]
* Fix some problems in previous revision relating to writability test of
  ${DISTDIR}, by moving the check a) after we have made the directory if
  it doesn't exist, and b) inside the loop that actually fetches files,
  so the check isn't performed with every port make operation that depends
  on the fetch target (this breaks non-fetch targets as a different user)
  [2]

Submitted by:	bmah [1]
Reported by:	ijliao [2]
Tested on:	bento
2002-09-25 17:50:03 +00:00
Kris Kennaway
f772f8743d * Some spelling/grammar fixes in comments
* Replace some bare uses of cat with ${CAT}

* [ports/19112] Ignore RCS files (*,v) when applying patches

* [ports/19270] Check whether ${DISTDIR} is writable and fail with a
  better error message if not (mostly caused by trying to fetch as the
  wrong user)

* [ports/23560] Force patch backup files to be created with .orig suffix

* [ports/34717] Don't enclose PTHREAD_LIBS in quotes, because it will
  cause problems if used in an already-quoted string.

* [ports/34987] Fix an awk warning in MASTER_SORT/MASTER_SORT_REGEX code

* [misc/38724] Change some uses of the deprecated test -h to test -L

* [1] Registering real dependencies: dependency registration looks at the
  currently-installed version of the dependency and registers that version,
  instead of registering the version in ports which may be newer than
  what is installed.

* [2] Further 100% speed-up of dependency registration process by eliminating
  second call to package-depends (using information from the first call
  stored in +CONTENTS file of package being installed). Very useful
  for developing GNOME or similar packages with zillion dependencies,
  when package-depends target could take few minutes to complete;

* [2] Proper set-up of ${SHELL} variable in build environment, so that user's
  interactive shell isn't picked instead. This has various implications,
  ranging from build process speed-up due to using /bin/sh to invoke
  libtool instead of bash or any other much more bloated user's shell
  (configure scripts often pick it up from the ${SHELL} environment),
  to fixing problems some users have when building random ports.

Submitted by:	sobomax [1] [2],
		Aleksandr A. Babaylov <.@babolo.ru> [ports/19112],
		Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> [ports/19270],
		Alan Bawden <Alan@LCS.MIT.EDU> [ports/23560],
		Christian Weisgerber <naddy@mips.inka.de> [ports/34717],
		knu [ports/34987], april <april@oublinet.net> [ports/38724]
PR:		ports/19112, ports/19270, ports/23560, ports/34717,
		ports/34987, ports/36237, ports/38724
Tested on:	bento 4-exp build
2002-09-19 00:16:39 +00:00
Ying-Chieh Liao
0e9284fdf9 bump open-motif shlib version 2002-09-13 18:47:30 +00:00
Maxim Sobolev
8e28be07ef Fix MLINKS broken since bsd.port.mk speed-up commit.
Submitted & reported by:	many
PR (among others reports):	39646
Approved by:			portmgr
2002-08-19 17:12:59 +00:00
Marc Fonvieille
deef46806d Fix links to the Handbook, the FAQ and the porters-handbook.
Approved by:	portmgr
2002-08-04 09:04:12 +00:00
David E. O'Brien
c13284aa47 Use Bzip2 to compress packages for 5.0-DP#2.
Requested by:	re
Two months silence by:	portmgr
2002-08-04 06:01:48 +00:00
Maxim Sobolev
d722fa71e4 Move USE_REINPLACE detection downward, so that it is possible to set it from
bsd.gnomeng.mk. Also increase OSVERSION `sed -i'check to be 500036 on
-current, as users report that 500034 isn't sufficient to catch new sed(1)
functionality.

Approved by:	portmgr (silently)
2002-07-09 13:37:26 +00:00
Maxim Sobolev
977f850bee Backout changes that erroneously slipped into the last commit to
bsd.gnomeng.mk.

Big pointy hat to:	sobomax
2002-07-05 09:14:53 +00:00
Maxim Sobolev
1c350f1280 Correct typo: gtk12 --> glib12 2002-07-05 09:11:30 +00:00
Maxim Sobolev
0ef3cbe80a Use system sed(1) for doing in-place editing if OSVERSION is greater than
460100.

Submitted by:	obrien
2002-06-28 12:20:03 +00:00
Maxim Sobolev
683ff40aac Change the way REINPLACE_CMD works - instead of using perl(1) on systems
where sed(1) can't do in-place editing add a new USE_REINPLACE knob, which
if turned on defines REINPLACE_CMD and adds textproc/sed_inplace port into
BUILD_DEPENDS if necessary.

Not objected by:	portmgr@
2002-06-19 08:21:27 +00:00
Maxim Sobolev
1c411ca96d Add ${REINPLACE_CMD}, which will be used to get rid of depencency on perl
in current. Use it like the following:

	${REINPLACE_CMD} -e "foo" -e "bar" ${WRKSRC}/somefile

Approved by:	portmgr
2002-06-13 18:20:40 +00:00
Kris Kennaway
700aa0f16e 5.0-CURRENT no longer includes perl in the base system; don't expect
to find it there.  Also remove a redundant comment.

Submitted by:	des, obrien
2002-06-07 21:30:47 +00:00
David E. O'Brien
25f5b84389 Add a new way to specify the GCC version your port needs.
Rather than USE_GCCXY, you now use USE_GCC=X.Y

Approved by:	kris
2002-06-04 21:34:43 +00:00
Kris Kennaway
e262cbd7e6 Switch over to XFree86-4.x for ${OSVERSION}>=450005. If you are tracking
-STABLE, this will take effect after your next cvsup + kernel upgrade.
2002-04-27 11:22:59 +00:00
Maxim Sobolev
ac09919701 Heroic attempt to reduce number of PRs assigned to portmgr@:
1. Make PY_DISTUTILS recently added into <bsd.python.mk> actually working.

PR:		36537
Submitted by:	tg

2. Propagate error code from failed `make depends', when one of the ports
   we depend upon is marked BROKEN/FORBIDDEN.

PR:		25522
Submitted by:	alex

3. By default, when bsd.port.mk configurating Makefile.PL only pass
   PREFIX as argument, but some Perl module (eg. Test-Harness) needed
   INSTALLPRIVLIB and/or INSTALLARCHLIB in order to install, otherwise
   default installation will goes to /usr/lib and not ${PREFIX}/lib,
   in some case, adding these tag to CONFIGURE_ARGS is not bad.

PR:		29681
Submitted by:	Shell Hung <shell@shellhung.org>

4. Update patch-libtool target, so that it doesn't break ports with
   autoconf 2.13-generated configure script. USE_LIBTOOL is still not
   very useful for such cases, but at least it doesn't break them badly
   anymore.

PR:		31142
Submitted by:	wjv

5. Make `make search' working even when /usr/obj/usr/ports exists.

PR:		31862
Submitted by:	gad

6. When configure script fails unexpectedly don't dump thousands lines of
   config.log to the user's screen, because it usually doesn't contain
   information useful for tracking the problem anyway. Instead display a
   message asking a user to report the failure to the proper entity
   (maintainer) and what to include into the problem report.

PR:		34459, 35488
Submitted by:	Thomas Hurst <freaky@aagh.net>
		Alan Eldridge <ports@geeksrus.net>
		sobomax
		other countless hackers whose names are lost in the noise
Text of message suggested by:	asmodai

7. Make PREFIX=/usr situation more sane. When PREFIX is set to /usr,
   bsd.port.mk uses MANPREFIX=${PREFIX} and BSD.local.dist for mtree as
   always, however those defaults are not appropriate for /usr, and better
   options are available.

PR:		36030
Submitted by:	DougB

8. Use ${ECHO_CMD} instead of ${ECHO} everywhere in the bsd.port.mk to
   avoid clashing with system .mk settings (${ECHO} has a different meaning
   there). Actually the patch is imcomplete, because large portion of those
   ${ECHO_CMD}s should be ${ECHO_MSG}, but this one will at least make Bruce
   happy, which shouldn't be underestimated.

PR:		34988
Submitted by:	knu

All of the above tested by:	bento
Special thanks goes to:		kris (for his help with getting this tested)

-------------------------- THE END (to be continued) ------------------------
2002-04-25 15:28:48 +00:00
Maxim Sobolev
59de89b322 Fix another "last" bug introduced with the speed-up commit. In some conditions
the bug resulted in "sh: Argument list too long" message during dependency
registration process.

Reported by:	*many*
Submitted by:	Joe Marcus Clarke <marcus@marcuscom.com>
2002-04-04 10:06:00 +00:00
Ade Lovett
b13d153e13 Fix missing quotes around one instance of
if [ ! -z "$$select" ]

Submitted by:	lioux
2002-04-03 01:17:57 +00:00
Kris Kennaway
59ac30e126 Fix a fetch bug in MASTER_SITES_NN introduced in rev 1.396.
Submitted by:	lioux
PR:		ports/36078 (part of)
2002-04-02 05:24:33 +00:00
Ernst de Haan
d53122988d Added bsd.java.mk. This adds Java-specific support to ports by
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
2002-03-28 11:24:43 +00:00
Maxim Sobolev
c3fbe51db3 The second, and I hope the last, revision of speedup patch - make USE_SUBMAKE
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
2002-03-28 09:58:08 +00:00
Maxim Sobolev
3c634c1303 Slightly adjust speedup patch, so that it works when user specifies unnatural
targets sequence, i.e. `make clean build'. It doesn't affect default behaviour.

Reported by:	knu
2002-03-27 04:26:44 +00:00
Maxim Sobolev
d6ce894ff6 - Significantly reduce overhead associated with bsd.port.mk by replacing .USE
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
2002-03-25 08:48:47 +00:00
Will Andrews
089c1bb234 XFree86 4.2.0 Stage 1: bsd.port.mk
[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
2002-03-16 23:37:02 +00:00
Mark Murray
05e08061c2 Take Perl 5.6.1 into account. Allow for slow updaters who prefer to
stay with an older CURRENT and perl 5.6.0.
2002-03-16 22:47:00 +00:00
Andrey A. Chernov
a35cebf9cf Add -D_THREAD_SAFE for -current too
Approved by:	portmgr & ports silence
2002-02-24 16:54:34 +00:00
David E. O'Brien
b5e6b050c5 Fix a typo in the CD_MOUNTPTS bits.
Submitted by:	Alexander Zagrebin <alexz@visp.ru>
2002-02-22 18:53:28 +00:00
David E. O'Brien
2dba26a1c7 Fix the default CONFIGURE_TARGET to one that is a proper GNU tuple.
Approved by:	several portmgr members
2002-02-21 18:24:20 +00:00
Steve Price
ecaa30aadc Add a default value for _PATCH_SITES_DEFAULT so the MASTER_SITE_N
patch is functional.
2002-01-24 01:15:03 +00:00
Will Andrews
78be64afad Bring in changes tested on bento's new 4-exp tree, specially fitted for the
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.
2002-01-23 03:48:44 +00:00
Will Andrews
fa8f93bcfc Add AUTOMAKE_ARGS+=-i by default if AUTOMAKE_VER != 1.5. This generates
Makefiles more useful for non-GNU make(1).

Requested by:	obrien
Reviewed by:	steve, bento 4-exp
2001-12-22 17:13:38 +00:00
Mario Sergio Fujikawa Ferreira
0273a8420e Add USE_AUTO{CONF,MAKE}_VER following original idea from bsd.kde.mk
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)
2001-11-28 05:00:36 +00:00
Akinori MUSHA
919909471b Fix a wrong comment. PATCHDIR is now ${MASTERDIR}/files by default,
not ${MASTERDIR}/patches.

PR:		ports/30328
Submitted by;	Hye-Shik Chang <perky@python.or.kr>
2001-11-17 21:35:39 +00:00
Akinori MUSHA
5493715c67 Add bzip2 support for distribution patches. The bzip2 dependency is
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
2001-11-17 21:23:09 +00:00
Akinori MUSHA
e00f292763 Add a bunch of generally used command macros:
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})
2001-11-17 21:05:50 +00:00
Akinori MUSHA
2f28d718b7 Define EXAMPLESDIR as well as DOCSDIR and DATADIR. Of course this
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
2001-11-17 20:08:05 +00:00
Akinori MUSHA
38d33ba583 Fix PKG_IGNORE_DEPENDS so it matches the latest XFree86 3.x port.
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
2001-11-17 19:56:29 +00:00
Thomas Gellekum
5a08ef716f Add variables $ACLOCAL and $AUTOHEADER, now that the program names
contain version numbers.

Approved by:	portmgr (sobomax)
2001-11-13 13:12:11 +00:00
Akinori MUSHA
345bbe4bfd Fix a quoting bug in `make describe'.
- 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)
2001-11-09 15:48:40 +00:00
Mark Murray
494b884718 Allow the perl version and architecture to be overridden. 2001-11-05 21:28:44 +00:00
Maxim Sobolev
897f02c57d Fix abuse of ${AUTOMAKE}/${AUTOCONF} 2001-10-30 09:59:56 +00:00
David E. O'Brien
eec70b011f USE_AUTOCONF and USE_AUTOMAKE now depend and use the legacy versions.
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.
2001-10-29 01:42:08 +00:00
David E. O'Brien
25ffb4fb92 Switch to building -current ports against XFree86 4.x.
Approved by:	silence from portmgr
2001-10-09 07:37:34 +00:00
David E. O'Brien
e565d118b2 Add a "LATEST_LINK" knob. This makes it easy to set the Latest link, so that
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
2001-09-28 16:45:15 +00:00
David E. O'Brien
cb6871115a Fix a spelling mistake. 2001-09-23 00:35:08 +00:00
David E. O'Brien
1ec9e868fa Change "USE_NEWGCC" to "USE_GCC295" and add "USE_GCC30" for soon future use.
Approved by:	portmgr
2001-09-23 00:33:58 +00:00
Akinori MUSHA
96dc9224a6 Include ${PKGNAME} in the names of cookie files so that a port would
never re-use outdated, stale working directories.

Approved by:	portmgr (sobomax)
2001-09-22 11:42:33 +00:00
Will Andrews
e245a57d50 Update library pointer for Mesa3 port in USE_MESA so that if
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
2001-08-31 02:13:02 +00:00
Will Andrews
a16fefc81e Minor changes:
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
2001-08-27 00:09:05 +00:00
Thomas Gellekum
84985a3274 <expletive>
Revert, this change wasn't supposed to go in.
2001-08-03 11:35:35 +00:00
Thomas Gellekum
f535a67aba Use a variable for PYTHON_PORTVERSION. 2001-08-03 11:20:33 +00:00
Akinori MUSHA
edc6033a2d Do not build-depend on archivers/bzip2 if the system has
/usr/bin/bzip2, now that bzip2 is MFC'ed to 4-STABLE.

Approved by:	portmgr
2001-08-01 09:01:48 +00:00
Steve Price
27f71f8f05 (1) Fix a typo becuase -> because.
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>
2001-07-25 18:10:16 +00:00
Maxim Sobolev
28429a3cbd Similarly to DOCSDIR add DATADIR?=${PREFIX}/share/${PORTNAME}. Also slightly
expand comment for DOCSDIR, so it is immediately clear what its value is.

Ignored by:	obrien, portmgr
2001-07-10 07:50:17 +00:00
David E. O'Brien
9f9a41c8c3 Add "DOCSDIR=${PREFIX}/share/doc/${PORTNAME}" so every port in the world
can stop duplicating this.  We can also add knobs in the future to
autmatically create the directory and what not.

Approved by:	portmgr
2001-07-09 22:23:26 +00:00
FUJISHIMA Satsuki
2f541dec74 BUILD_DEPENDS on bzip2 only if ${OSVERSION} < 500021.
Approved by:	portmgr
2001-06-29 14:26:38 +00:00
Maxim Sobolev
94245bb96d Harden a wording of ``do not commit here'' warning at the top of the file. It
appears that previous wording was not strong enough to prevent people from
doing unauthorised changes.
2001-06-28 19:54:45 +00:00
Brian Somers
5764c1943e Remove some extraneous breaks
PR:			27909
No response from:	portmgr
2001-06-28 14:58:44 +00:00
Doug Barton
44e687d0d7 Upgrade openssl to 0.9.6a and bump the shlib version in the process
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
2001-05-23 02:47:02 +00:00
Satoshi Asami
8a8dc68a16 New category picobsd starts today. 2001-04-22 16:47:55 +00:00
Satoshi Asami
f7ed4a7d58 (1) Move inclusion of bsd.kde.mk to the right place.
Reviewed by:    will
Tested on:      bento

(2) Chase XFree86-3 revision.
2001-04-16 10:28:15 +00:00
Will Andrews
dbba8af644 Overhaul QT/KDE support:
- 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)
2001-04-03 08:14:43 +00:00
Satoshi Asami
cb7dd7e8da (1) Change maintainership of bsd.port.mk to portmgr@FreeBSD.org. This is
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)
2001-03-24 21:35:22 +00:00
Satoshi Asami
7c30b43aa0 (1) Change USE_NEWGCC dependency from lang/egcs to lang/gcc295.
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
2001-02-17 00:46:26 +00:00
Satoshi Asami
cb60d32d8c (1) Add PKGORIGIN support. Bump BSDPORTMKVERSION to reflect it.
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
2001-01-16 09:25:16 +00:00
Satoshi Asami
f440390503 Add AUTO{CONF,MAKE}_{ENV,ARGS}. Among other things, this will fix
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
2000-11-16 13:06:29 +00:00
Satoshi Asami
9d90340b60 Change PKG_IGNORE_DEPENDS to contain some ridiculous string. Otherwise
the list of dependencies become empty when XFREE86_VERSION=4.
2000-11-13 08:19:05 +00:00
Satoshi Asami
7112ba2b40 Change motif to a normal dependency. REQUIRES_MOTIF is now called
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.
2000-11-07 23:28:20 +00:00
Satoshi Asami
55b90a3c23 (1) Move all the command definitions up to the pre.mk section so they
can be used in != constructs in port Makefiles.  Use them in ARCH,
    OPSYS and OSREL defenitions.

(2) Change a few more `md5' references to `distinfo'.

PR:		22154
Submitted by:	jeh

(3) Bump XFree86-3 version (twice!) in PKG_IGNORE_DEPENDS.
2000-11-03 10:26:32 +00:00
Satoshi Asami
880f657174 (1) Some typo fixes (files/md5 -> distinfo in comment, " at wrong
place in checksum message, etc.)
Partially submitted by:		Bill "distfiles" Fenner

(2) Add PATCH_WRKSRC, BUILD_WRKSRC and INSTALL_WRKSRC alongside
    CONFIGURE_WRKSRC to deal with oddball ports that want different
    directories.  They all default to WRKSRC (of course).  Also extend
    the use of CONFIGURE_WRKSRC to include all configure-related
    activities.
Originally submitted by:	obrien
Reviewed by:			the ports list

(3) Clarify in comment that CONFIGURE_SCRIPT is supposed to be a
    relative path.  Add a "./" in the PERL_CONFIGURE case to be
    consistent with the regular case.
Requested by:			obrien

(4) Change PKG_IGNORE_DEPENDS yet again to chase XFree86-3
    PORTREVISION change.

(5) Don't print "Ignoring empty patch directory" when there are no
    files named "patch-*" -- since PATCHDIR is now equal to FILESDIR
    by default, it is quite likely that you will have a directory with
    no patch-* files in it.
Noticed by:			kris

(6) Fix distclean target, which I broke in 1.353 when I introduced
    RESTRICTED_FILES.  It was only deleting files for RESTRICTED or
    NO_CDROM ports (duh!).

(7) Don't complain if ${DISTDIR}/${DIST_SUBDIR} is empty when deleting
    distfiles -- it can be shared among ports.
Submitted by:			steve

(8) Don't create ${FILESDIR} in makesum target, since distinfo now
    lives in the main directory.
Submitted by:			knu and many others
2000-10-17 10:11:16 +00:00
Satoshi Asami
51824bb516 NEWLAYOUT is now the default. 2000-10-08 11:43:54 +00:00
Satoshi Asami
a77f4b2957 Add bsd.gnome.mk that defines gnome-related dependency stuff and hooks
in bsd.port.mk to support it.

In particular, bsd.port.mk includes bsd.gnome.mk twice (once in the
pre.mk section, once in the post.mk section) and prints out a message
notifying the user of the existence of WITH_* options when one exists.

It also adds MAKE=${GMAKE} to CONFIGURE_ENV when USE_GMAKE is defined.
(This is not related to gnome, but I assume it's useful somewhere and
it shouldn't hurt.)

Submitted by:	ade, reg
2000-10-05 01:32:21 +00:00
Satoshi Asami
568b78afbd (1) Add support for a "flat" directory structure, with no pkg/ and
patches/.  In addition, patches live in files/ and files/md5 is
    moved to "distinfo" in main directory.

    It is disabled by default, but you can test it by defining
    NEWLAYOUT.  I will convert the entire ports tree in a week and
    make NEWLAYOUT the default.

Reviewed by:	the ports list
Submitted by:	nectar ("distinfo" name)

(2) Bump XFree86 version number in PKG_IGNORE_DEPENDS.

(3) New variable RESTRICTED_FILES to be used when only a subset of a
    RESTRICTED or NO_CDROM port's distfiles/patchfiles list is not
    redistributable.  (Set RESTRICTED_FILES to the list of
    redistribution-challenged files.)

Reviewed by:	the ports list
2000-10-01 17:27:40 +00:00
Satoshi Asami
5b03182efd Forther improvement of IDEA support.
Submitted by:	kris
2000-09-22 07:21:24 +00:00
Satoshi Asami
2ad52e0d7d (1) Deal with new world order with regards to RSAREF.
Submitted by:	kris

(2) Include bsd.ruby.mk if USE_RUBY and USE_LIBRUBY are defined.
Submitted by:	ruby-czar knu

(3) USE_QT2 now uses qt22 instead of qt21.
Submitted by:	will

(4) Typo: RUN_DEPENDS= -> RUN_DEPENDS+= in USE_LINUX.
Submitted by:	Kazu TAKAMUNE <takamune@avrl.mei.co.jp>

(5) Add ${MTEE_FOLLOWS_SYMLINKS} to mtree arg.  This is either "-L" or
    undefined, so it will only change the behavior when mtree actually
    has support for the flag.
Submitted by:	ache

(6) Change nesting of .ifs around MOTIF_OPEN -- it used to be inside
    PARALLEL_PACKAGE_BUILD.  I don't know what I was smoking.

(7) Add new category french.  Now the French have the same thing the
    Germans have had for a while. :)
Requested by:	Martin Blapp <mb@imp.ch>

(8) Add new virtual category zope.
Requested by:	Neil Blakey-Milner <nbm@mithrandr.moria.org>
2000-09-22 01:17:17 +00:00
Satoshi Asami
90b96b5d66 (1) (This is actually from the previous revision -- I forgot to put it
in the log.)

    Print oun out a warning when there is a setuid/gid program or a
    startup script installed.
Submitted by:	kris

(1') Print out directory correctly by substituting ${PREFIX} properly.
Submitted by:	knu

(2) Now variable PERL_CONFIGURE, which runs Perl's Makefile.PL.
PR:		19241
Submitted by:	Christian Weisgerber <naddy@unix-ag.uni-kl.de>
Reviewed by:	markm, ache

(3) Print out distinctive message when forcefully trying BROKEN ports
    on parallel build cluster.  This is used by the errorlog parser to
    put a tag for BROKEN ports.
Requested by:	ade

(4) Print out name of failed patch plus all the applied patches when
    there is a patch failure.
Submitted by:	sobomax
Reviewed by:	the ports list

(5) Insert a few more "cd ${.CURDIR}"s so things will work even if
    /usr/obj${.CURDIR} exists.
Reviewed by:	the ports list

(6) Make implementation of XFREE86_HTML_MAN a little more streamlined.
Reviewed by:	the ports list
2000-09-13 07:16:49 +00:00
Satoshi Asami
81eed41c6d The following changes are all
Reviewed by:	the ports list

(1) Add PORTREVISION and PORTEPOCH, which are both optional, to
    PKGNAME.  PKGNAME is now defined as

    ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}[_${PORTREVISION}][,${PORTEPOCH}]

    PORTREVISION denotes some FreeBSD internal change to the port that
    requires the user to upgrade it.  A security fix or a shared
    library version change will be valid reasons to change (or define)
    PORTREVISION.

    PORTEPOCH is used to re-sort versions that is screwed up by the
    author.  PORTEPOCH is sorted before all other fields for the
    purpose of determining which version is newer than the other.

Submitted by:	kris

(2) Add fetch-recursive and fetch-recursive-list.  These are like
    fetch and fetch-list but they also descend into dependencies.
    While I'm here, clean up some internal target names and comments.

Requested by PR:	12548

(2') Fix bug in fetch-list I introduced in rev 1.347.

(3) Add new variables LINUXBASE, USE_LINUX and USE_LINUX_PREFIX.
    LINUXBASE defaults to /compat/linux and will be the default PREFIX
    if USE_LINUX_PREFIX is defined.  USE_LINUX, which is also implied
    by USE_LINUX_PREFIX, will add a runtime dependency to the
    emulators/linux_base port.

Approved by:	marcel

(4) Include bsd.python.mk when USE_PYTHON and PYTHON_VERSION are defined.

Submitted by:	tg

(5a) Change USE_FREETYPE to always depend on print/freetype -- it
     turns out that XFree86-4-libraries only used freetype internally
     and didn't install the libraries nor headers.

Submitted by:	Taguchi-san (XFree86-4-* maintainer)

(5b) Change USE_MESA to lib-depend on GLU.1:graphics/Mesa3 when
     XFREE86_VERSION=4.  The Mesa port has been changed to only
     install components missing from the XFree86 distribution when
     XF8V=4.

Submitted by:	sobomax

(5c) New variable XFREE86_HTML_MAN, which defaults to "no" when XF8V=3
     or USE_IMAKE is not defined, and "yes" when XF8V=4 and USE_IMAKE
     is defined.  When this variable's value is "yes", generate-plist
     will add html-ified manpages to the generated PLIST.

Approved by:	Taguchi-san

(6) Allow user to override MD5_FILE.

Requested by:	many

(7) Small message change: "...doesn't seem to exist on this system" ->
    "... to exist in ${_DISTDIR}".

Requested by:	some mail in the mailing lists...can't remember which ;)
2000-09-09 13:21:14 +00:00
Satoshi Asami
c4a1773d66 Bump xemacs version to 21.1.12.
Requested by:	shige
2000-08-25 19:50:45 +00:00
Satoshi Asami
8e1e056d62 (1) Move "XFREE86_VERSION?=3" up to the pre-makefile section so it can
be used inside Makefiles for testing.
Submitted by:	sobomax

(2) Use newly added /etc/mtree/BSD.x11-4.dist when XFREE86_VERSION=4.
Requested by:	taguchi@tohoku.iij.ad.jp

(3) Re-enable MASTER_SITE_OVERRIDE and MASTER_SITE_BACKUP
    functionalities by making MASTER_SORT ignore them (i.e., leave
    *_OVERRIDE at the beginning and *_BACKUP at the end).  As a side
    effect, there are new targets "master-sites" and "patch-sites"
    that will print out the correctly sorted versions of said lists.
Reviewed by:	the ports list

(3') Sort patch sites too, not only master sites.
Reviewed by:	the ports list

(4) New target "deinstall-depends" which will do a "make deinstall" in
    all ports this one depends on.

(4') Only run pkg_delete from the deinstall target when package
    exists, to avoid "no such package installed" errors.
2000-08-25 10:17:39 +00:00
Satoshi Asami
48588e3048 (1) Use USE_XPM instead of an explict LIB_DEPENDS to xpm for the
REQUIRES_MOTIF case, so it won't picking up unneeded xpm
    dependencies when XFree86-4 is being used.

(2) New variable MOTIF_OPEN which depends to x11-toolkits/open-motif
    instead of commercial variants.  This is for testing only -- I
    intend to replace the whole Motif hackery with a normal dependency
    to open-motif when it is proved sufficient.

(3) Fix typo in XAWVER, I had the XFree86-3 and 4 cases backwards.
Submitted by:	steve

(4) Add BUILD_DEPENDS to devel/imake-4 when USE_IMAKE is set and
    XFREE86_VERSION=4.  Otherwise ports won't be able to find imake.
Reported by:	alex, among others

(5) Make USE_XPM, USE_DGS, USE_MESA and USE_FREETYPE imply USE_XLIB
    when XFREE86_VERSION=4.  Otherwise some ports can't find them.

(6) Add new target "pre-everything" that is called before fetch.  Use
    this (instead of pre-fetch or .BEGIN) if you want something to be
    done before one of the normal targets are run.  Switch perl
    version check to use pre-everything, otherwise you can't even
    build a 5-current index on a 4-stable machine (for instance).

(7) Add "ruby" to list of valid categories.
Requested by:  knu
2000-08-15 22:39:00 +00:00
Satoshi Asami
c6bcad2436 (1) Add new variable, XFREE86_VERSION, to specify which version of
XFree86 (3 or 4) to depend to when USE_XLIB is set.
    XFREE86_VERSION defaults to 3 for now, but adventurous users can
    override it in /etc/make.conf.  When XFREE86_VERSION=3, USE_XLIB
    will add a dependency to x11/XFree86; when it is set to 4, the
    dependency will be to x11/XFree86-4-libraries.  When
    XFREE86_VERSION=4, the PKG_IGNORE_DEPENDS and ALWAYS_BUILD_DEPENDS
    hacks to avoid messing with XFree86 are turned off.

    Since XFree86 version 4 includes some software that used to be
    separate ports, when XFREE86_VERSION=3 the following variables are
    provided:

    USE_DGS		LIB_DEPENDS on x11/dgs
    USE_FREETYPE	LIB_DEPENDS on print/freetype
    USE_MESA		LIB_DEPENDS on graphics/Mesa3
    USE_XPM		LIB_DEPENDS on graphics/xpm

    When XFREE86_VERSION=4, these variables have no effect.  The
    LIB_DEPENDS in the tree for the above four ports have all been
    converted to the USE_* counterparts.  For your information, this
    is the count of the number of ports:

    USE_DGS		0
    USE_FREETYPE	16
    USE_MESA		36
    USE_XPM		236

    There is a new variable, XAWVER, which is set to 6 when
    XFREE86_VERSION=3 and 7 when XFREE86_VERSION=4.  This is also
    passed to PLIST_SUB so ports that build Xaw based shared libraries
    can use this variable to substitute the shlib version number.

    There is also a provision of using a separate mtree file for
    XFREE86_VERSION=4, but that part is not enabled yet.

Reviewed by:	the ports list
Tested by:	make index (XFREE86_VERSION=3 only)

(2) Add hebrew to list of valid categories.
Submitted by:	nbm
2000-08-03 09:28:57 +00:00
Satoshi Asami
d346e6965a Revert mtree change for now.
Requested by:	marcel, ache
2000-07-26 05:01:38 +00:00
Satoshi Asami
91c5e64744 -L of mtree should be before -p, not after (since -p takes an argument, d'oh!)
Submitted by:	Donn Miller <dmmiller@cvzoom.net>
2000-07-20 20:54:24 +00:00
Satoshi Asami
ca3a88aa57 (1) Add MASTER_SORT functionality. For instance, by setting
MASTER_SORT="foo.bar.co.jp bar.co.jp .jp" bsd.port.mk will try the
    machine foo.bar.co.jp, then any machine in the domain bar.co.jp,
    then any machine in the domain .jp.  It might be useful for people
    in an island (network-topologically speaking).
Submitted by:	knu
Obtained from:	NetBSD

(2) Deal with mtree's changing flags by looking at ${OSVERSION}
Submitted by:	ache

(3) Don't generate code to try to erase an empty info/dir file if
    NO_MTREE is set -- although it will probably never happen that
    /usr/share/info/dir will be empty, it's still wasted code.
2000-07-19 16:41:22 +00:00
Satoshi Asami
5260fdf083 (1) Change PERL_VERSION to 5.6.0 for newer 5-current.
Submitted by:	markm (and many others)

(2) Move one PLIST_SUB line from the pre.mk section to post.mk section
    so it won't cause unwanted side effects.
Spotted by:	sobomax
2000-07-04 08:47:50 +00:00
Satoshi Asami
ffb21b5654 Rename INSTALLS_SHLIBS to INSTALLS_SHLIB. (There was a typo in the
previous commit message to bsd.port.mk, which said INSTALL_SHLIBS.  Boo.)

Line up the rhs of variable assignments nicely.  Remove a couple of extra
whitespaces while I'm here.

Suggested by:	 sobomax
2000-06-16 21:52:40 +00:00
Satoshi Asami
15c86344a3 (1) New variables INSTALL_SHLIBS and LDCONFIG_DIRS. When
INSTALL_SHLIBS is set, ldconfig is automatically called from
    post-install and necessary @exec and @unexec lines are added to
    PLIST.

Requested by:	lioux@uol.com.br
Reviewed by:	the ports list, in particular sobomax

(1a) Add

    PREFIX=%D LOCALBASE=${LOCALBASE} X11BASE=${X11BASE}

    to PLIST_SUB.  These are needed by INSTALL_SHLIBS, but also could
    be useful in general.

(2) Move master/mirror site definitions to bsd.sites.mk and include it
    from bsd.port.mk.  Open bsd.sites.mk to other committers.
Submitted by:	reg

(2a) Add MASTER_SITE_SOURCEFORGE.
Submitted by:	sobomax (who wrote SORCEFORGE, but I assume that's a typo :)

(2b) Move MASTER_SITE_LOCAL from ".../ports/distfiles/LOCAL_PORTS/" to
    ".../ports/local-distfiles/%SUBDIR%/" which will be mirrored from
    peoples' ~user/public_distfiles on freefall.  Add two mirrors
    (Japan and Germany).
Requested by:	obrien (moving)
Submitted by:	will (German mirror)

(3) Simplify definition of PKGBASE since it can now be defined as
    simply ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}, instead of
    sed'ing out the version number from ${PKGNAME}.
Submitted by:	hoek

(4) Remove unnecessary targets prefix and mtree-file, which can be
    implemented as "make -V PREFIX" and "make -V MTREE_FILE",
    respectively.  Don't define MTREE_FILE when NO_MTREE is set so
    "make -V MTREE_FILE" won't print out anything.

(5) Various minor typo and grammar fixes.

(6) Define NONEXISTENT?=/nonexistent.  This will help quiet portlint
    warnings, among other things.
2000-06-14 02:14:49 +00:00
Satoshi Asami
071587944f (1) New directive USE_AUTOMAKE and AUTOMAKE variable for automake
support.  Implies USE_AUTOCONF.
Submitted by:	kiri@pis.toba-cmt.ac.jp
Reviewed by:	ports

(2) New variable CONFIGURE_WRKSRC (default: ${WRKSRC}) to be set when
    ${CONFIGURE_SCRIPT} needs to be run in some place other than
    ${WRKSRC}.
Submitted by:	Mario Ferreira <lioux@uol.com.br>
Reviewed by:	ports

(3) Slight change in message about the port being too old for
    bsd.port.mk due to missing PORTNAME/PORTVERSION.  Explicitly say
    that the user needs to update the port (although I'm not sure how
    anyone can interpret the old message otherwise ;).

(4) Use NO_CHECKSUM instead of the undocumented FORCE_FETCH to
    override the "distfile missing from files/md5" check.  Also change
    the NO_CHECKSUM message a bit more forceful ("If you are
    absolutely sure...").
Submitted by:	mharo

(5) Refer to the OpenSSL section in handbook by name, not number.
Approved by:	Kris
PR:		17524

(6) New file bsd.emacs.mk that will be automatically be included if
    EMACS_PORT_NAME is defined.  bsd.emacs.mk sets various variables
    to make maintenance of emacs ports easy.
Submitted by:	shige
Reviewed (in spirit) by:	ports, ports-jp

(7) Remove the automatic creation of ${PREFIX}/info/dir from
    /usr/share/info/dir (install-info from 3.1R onwards automatically
    creates the dir file if none exists).  Delete ${PREFIX}/info/dir
    upon deinstallation if it doesn't have any menu entries.
Reviewed by:	ports

(8) Two new targets mtree-file and prefix.  They print ${MTREE_FILE}
    (empty if NO_MTREE is set) and ${PREFIX}, respectively.  They are
    used by package building scripts.

(9) Don't register package dependency in +REQUIRED_BY for
    PKG_IGNORE_DEPENDS ports.  Otherwise you'll end up with bogus
    entries since "pkg_delete oneko" won't delete oneko from
    XFree86/+REQUIRED_BY, etc.
Found by:	bento
2000-05-06 10:45:35 +00:00
Satoshi Asami
39e8b5baff (1) Switch USE_QT2 to use qt21.
Submitted by:	imura

(2) Don't complain about distfiles not listed in files/md5 if we are doing
    "make makesum".

Reported by:	mharo, cpiazza
Reviewed by:	mharo
2000-04-20 01:06:12 +00:00
Satoshi Asami
f4a3cea333 (1) Do not accept old-style ports anymore. PORTNAME/PORTVERSION is
now required.

(2) Check whether a distfile is in files/md5 before fetching instead
    of after.  Also print out a distinct message so we can easily catch
    someone screwing up the distfile list (usually via DISTNAME).
2000-04-16 11:35:52 +00:00
Satoshi Asami
5e49915a14 (1) Include ${.CURDIR}/../Makefile.inc before ${MASTERDIR}/../Makefile.inc
if ${.CURDIR} != ${MASTERDIR} (i.e., this is a slave port).
Suggested by:	knu

(2) Move PKGNAME/DISTNAME definition into the pre.mk section so it can
    be used in ports' Makefiles.
2000-04-11 21:38:02 +00:00
Satoshi Asami
7d2acfd09e Add PKGNAMEPREFIX and PKGNAMESUFFIX - these are to be used in case the
package name includes "language specifics" or "compilation options" as
specified in the handbook.  PKGNAME is now defined as
${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}.

Suggested by:	mharo (prefix), reg (suffix)
Reviewed by:	the ports list
2000-04-10 12:31:02 +00:00
Satoshi Asami
c05540facf (1) Change the way the port name and version is specified.
New variables:
      PORTNAME - Base name of port
      PORTVERSION - Version of port
    Modified variables:
      PKGNAME - Always ${PORTNAME}-${PORTVERSION}; error to override this
      DISTNAME - Defaults to ${PKGNAME}

    Right now old style is still accepted (unless REQUIRE_PORTNAME is
    defined) but all port Makefiles will be converted this weekend and
    bsd.port.mk will be changed again to have the new style be mandatory.

Reviewed by:	the ports list, mharo in particular

(2) Change "clean" to be more generic -- it now has
    pre-clean/post-clean helpers (it only had pre-clean before) and
    the actual work is in do-clean so porters can redefine it if
    necessary.

Requested by:	"Matthew N. Dodd" <winter@jurai.net>
Reviewed by:	dirk
2000-04-04 07:05:36 +00:00
Satoshi Asami
d24cef0dbb (1) libtool version upgrade to 1.3.4. Also move patch-libtool from
after post-patch to before pre-patch.
Submitted by:	reg (libtool maintainer)

(2) Misc. cleanup, pass MAKE_ENV to ${XMKMF}, etc.
Submitted by:	reg

(3) Document ALL_TARGET and INSTALL_TARGET.
PR:		17334
Submitted by:	Patrick Seal <patseal@hyperhost.net>
2000-04-02 08:32:26 +00:00
Satoshi Asami
a9fa2235b4 ftp.cdrom.com -> ftp.freesoftware.com in MASTER_SITE_* macros.
(ftp.FreeBSD.org moved with the machine so those don't have to be changed.)

PR:		17145
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-03-11 21:42:08 +00:00
Satoshi Asami
ae1b358097 (1) Speedup dependency cleaning.
Submitted by:	Jeremy Lea <reg@shale.csir.co.za>
Reviewed by:	From: Will Andrews <andrews@TECHNOLOGIST.COM>
PR:		14760

(2) More OpenSSL refinement.
Submitted by:	Kris Kennaway <kris@FreeBSD.org>

(3) Forgot to add USE_NEWGCC to USE_QT comment in previous commit.
Submitted by:	Will Andrews <andrews@technologist.com>
2000-03-03 01:23:49 +00:00
Satoshi Asami
2a9150bf37 Switch USE_QT to qt145. Add USE_NEWGCC to be consistent with it.
While I'm here, bump the mk version, we've changed quite a bit recently.
2000-02-24 07:03:31 +00:00
Satoshi Asami
a48090e816 (1) Add virtual category "linux".
Seconded by:	a whole bunch of people, including Marcel, our linux-czar

(2) Fix typo in openssl messages.
Submitted by:	Will Andrews <andrews@technologist.com>
2000-02-21 01:59:45 +00:00
Satoshi Asami
972a8c8868 (1) OpenSSL support.
Submitted by:	kris

(2) gnome master site cleanup.
Submitted by:	ade
2000-02-06 16:27:38 +00:00
Satoshi Asami
f682f47599 (1) Add new USE_BISON directive, which will expand to BUILD_DEPENDS on
4-current post bison-removal and to a no-op otherwise.  Note this
    should only be used when the software in question uses a feature
    in bison that is not in byacc -- otherwise it should be patched to
    use byacc (or detect the absense of bison correctly).  [bsd.port.mk]

(2) Do not assume all category names are lowercase.  In particular,
    remove package links by removing them one by one, instead of doing
    a "rm [a-z]*/${PKGNAME}.tgz". [bsd.port.mk]

(3) Do not assume the category name doesn't include a path separator
    (/).  Make links accordingly. [bsd.port.mk,README.category,README.port]

(4) Do not assume all category makefiles are directly under
    ${PORTSDIR}.  [bsd.port.mk,README.category]

(5) Add new "package-name" target which prints out the directory name
    to be used in the parent README.html.  [bsd.port.subdir.mk]

(2) through (5) are in preparation for going to multi-level
categories.  They shouldn't make any difference yet, but are committed
first so people can start testing.
2000-01-21 11:08:23 +00:00
Satoshi Asami
3b3f6a3a1f (1) Add check for including bsd.port{,.pre,.post}.mk twice. You can't do that.
(2) Add ipv6 and tcl/tk83 to list of valid categories.
Requested by:	sumikawa, jseger

(2) Change OSVERSION for NEWGCC check to a more appropriate time for the
    actual cutover.

(3) Change XFree86 version in PKG_IGNORE_DEPENDS from 3.3.5 to 3.3.6.

(4) Change some ${ECHO_MSG}'s in fatal errors to ${ECHO}, no need to be quiet
    if there's something terribly wrong.
2000-01-17 12:43:10 +00:00
Satoshi Asami
cd372a0c66 (1) Fix the distfile deletion for cases where distfiles are specified
with directory names.
Submitted by:	jdp

(2) Preserve +REQUIRED_BY file when FORCE_PKG_REGISTER is defined.
Reviewed by:	steve

(3) Add new variable EXTRA_PATCHES, which can be set to some files
    outside of ${PATCHDIR} (which usually means ${WRKDIR}).  These
    will be applied after distribution patches but before the normal
    ${PATCHDIR} patches.

    Useful when you have dynamic patches.

(4) Move USE_QT2 earlier, the USE_NEWGCC dependency wasn't working
    because it came after the USE_NEWGCC check.  Move USE_QT alongside
    new location of USE_QT2.
Submitted by:	imura

(5) Substitute ftp.cdrom.com for ftp.funet.fi in MASTER_SITE_SUNSITE,
    which no longer seems to be a full mirror anymore.
Submitted by:	Ade Lovett <ade@lovett.com>
PR:		14221

(6) Fix typo in MASTER_SITE_FREEBSD case -- it used ${MASTER_SITES}
    (instead of ${PATCH_SITES}) to fetch distribution patches.  That
    obviously would fail if the user attempted to build a port before
    the distribution patches showed up at ftp.FreeBSD.org.

(7) Remove tcl75, tk41 and tk81 from the list of valid categories.
    (tcl81 is still used.)
Submitted by:	jseger

(8) Make delete-package-list a little more verbose by making it check
    the existence of a package file and print out what it's doing.
    Silence bogus warnings from delete-distfiles-list by redirecting
    stderr from rmdir to /dev/null.

(9) Remove OpenBSD_MAINTAINER=imp, he hasn't been doing any work with
    this file on the OpenBSD repository for a long time.
Submitted by:	imp
1999-11-11 02:36:15 +00:00
SADA Kenji
7ef513a621 Removed ftp://ftp.t-cnet.or.jp from MASTER_SITE_PORTS_JP.
Submitted by:	Issei Suzuki <issei@jp.freebsd.org>
1999-10-10 17:19:49 +00:00
Satoshi Asami
4b4bdf5221 Change qt2 directory according to 2.0.1 -> 2.0.2 upgrade. 1999-10-02 04:12:33 +00:00
Satoshi Asami
86e007742a Handle distfiles with directory names in it. Helps when the master site
has things in different directories.

PR:		13926
Submitted by:	jdp
Reviewed by:	steve
1999-10-01 09:28:32 +00:00
Satoshi Asami
fec28e384a (1) x11-toolkits/qt2 -> x11-toolkits/qt201
Submitted by:	many people

(2) Surround the perl describe target with an echo ``.  We'll see if
    it will help with the index corruption problems.

(3) Manpage handling fix to avoid command line too long errors for
    ports with a lot of manpages.
Submitted by:	hoek
1999-09-22 01:04:30 +00:00
Satoshi Asami
de095461c0 (1) Adjust to new libtools.
Submitted by:	libtools maintainer

(2) Typo/updates in master sites.
Submitted by:	jkoshy, chris, cpiazza

(3) "automagically" -> "automatically".  I prefer words in dictionaries.
Submitted by:	Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
PR:		13638

(4) Quote ${DEPENDS_TARGET} in command line so make reinstall won't fail.
Submitted by:	Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
PR:		13638
1999-09-11 01:11:21 +00:00
Satoshi Asami
a768b7da1b (1) New variable USE_QT2 to say that the port uses QT version 2.
Submitted by:	cpiazza
Approved by:	imura (qt2 maintainer)

(2) Add CC and CXX to MAKE_ENV if USE_NEWGCC is defined.
Suggested by:	cpiazza

(3) Update XFree version PKG_IGNORE_DEPENDS.

(4) Add ${WHICH}=/usr/bin/which and use it.
Submitted by:	Yoshiaki Sakae <sakae@is.titech.ac.jp>

(5) Update afterstep and windowmaker master sites.
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>

(6) Add tcl82 and tk82 to list of valid categories.
Submitted by:	A whole bunch of people

(7) Use .MAKEFLAGS, not DEPENDS_ARGS to pass FORCE_PKG_REGISTER to
    submake when DEPENDS is defined -- the latter is too late.
1999-09-08 06:04:43 +00:00
David E. O'Brien
544e6f5400 Id->FreeBSD rename bis
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.
1999-08-25 04:40:22 +00:00