Commit Graph

44 Commits

Author SHA1 Message Date
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00
Baptiste Daroussin 8157e9f800 Add a new USES=waf to handle the waf building system, allowing to factorise code
Plug waf into MAKE_CMD and CONFIGURE_CMD so the regular defined targets can be
reused

Always define _MAKE_JOBS so that when bsd.port.mk will stop overwritting
_MAKE_JOBS when parallel jobs are disabled we can enforce -j1 (which is needed
to really disable parallelisation with waf

WAF_CMD has been created to allow one to override the location of the waf script
relatively to WRKSRC

CONFIGURE_TARGET is by default defined to "configure"
ALL_TARGET is by default defined to "build"
INSTALL_TARGET is by default defined to "install"

USES=waf is by default stagedir safe
2015-04-08 15:05:48 +00:00
Tijl Coosemans 7a4b04fe60 Restore PORTEPOCH 2015-01-16 17:10:41 +00:00
Timur I. Bakeyev 154bb26172 Upgrade supplimentary net/samba ports to the minimal common required versions. 2015-01-16 03:49:35 +00:00
Marcus von Appen e1555011ab - Convert ports from databases/ and deskutils/ to new USES=python
Approved by:	portmgr (implicit)
2014-10-19 08:50:17 +00:00
Marcus von Appen 900db324a3 Convert the Python framework bits to USES=python.
Please use USES=python instead of USE_PYTHON.

  USE_PYTHON=yes becomes USES=python
  USE_PYTHON=2.7+ becomes USES=python:2.7+
  USE_PYTHON_BUILD=3.3 becomes USES=python:3.3,build
  ...

A new PYTHON_FEATURES variable was added, which enables certain features for a
port and replaces some knobs at the same time;

  PYTHON_FEATURES=distutils replaces USE_PYDISTUTILS
  PYTHON_FEATURES=autoplist replaces PYDISTUTILS_AUTOPLIST
  PYTHON_FEATURES=py3kplist replaces PYTHON_PY3K_PLIST_HACK
  PYTHON_FEATURES=noegginfo replaces PYDISTUTILS_NOEGGINFO
  PYTHON_FEATURES=concurrent replaces PYTHON_CONCURRENT_INSTALL
  PYTHON_FEATURES=pythonprefix replaces USE_PYTHON_PREFIX

Some knobs have been deprecated and are to be removed in the near future:

  PYTHON_MASTER_SITES - use MASTER_SITE_PYTHON instead
  PYTHON_PKGNAMESUFFIX - use PYTHON_PKGNAMEPREFIX instead
  PYDISTUTILS_INSTALLNOSINGLE - deprecated without replacement

Some knobs have been removed completely:

  PYTHON_MASTER_SITE_SUBDIR
  PYTHON_DISTNAME
  PYTHON_WRKSRC

Several variables specific to the Python framework are no longer passed to the
build environment to avoid polluting dependency builds.

  PYTHON_VERSION is not passed to .MAKEFLAGS anymore
  PYTHON_DEFAULT_VERSION,
  PYTHON_DEFAULT_PORTVERSION and
  PYTHONBASE are not passed to the make environment anymore

The conversion required a couple of ports to be updated to fit the changes and
new requirements. Those included "bsd.python.mk" directly or contained checks
in places, for which the USES framework would fail to provide correct values.

Python modules directly using the upstream Python package (such as py-tkinter
or py-sqlite3) were updated to avoid using the now unnecessary and remmoved
knobs from "bsd.python.mk".

Phabric:	D399
exp-run:	167368 192357
PR:		167368 192357
Reviewed by:	antoine, wg
Exp-run award:	antoine
With hat:	python@
Approved by:	portmgr
2014-08-09 15:44:27 +00:00
Adam Weinberger 04ff64e713 A couple ports added support for OPTIONS but forgot to add them to
OPTIONS_DEFINE.
2014-08-03 19:30:08 +00:00
Timur I. Bakeyev 0345c64a75 Add NO_PYTHON knob to make lev@ a bit happier. Minor version update of tdb. 2014-04-20 23:46:59 +00:00
Timur I. Bakeyev 1627a9eded Usage of .pre.mk requires corresponding .post.mk 2014-03-13 02:12:35 +00:00
Timur I. Bakeyev d9f1fb7fca Convert to the staged environment 2014-03-13 00:28:12 +00:00
Baptiste Daroussin f8e4d2f78f Reduce over inclusion of bsd.port.mk 2014-01-15 23:51:19 +00:00
Rene Ladan 50f8eaece1 Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:00:02 +00:00
Baptiste Daroussin 36117d7097 Add NO_STAGE all over the place in preparation for the staging support (cat: databases) 2013-09-20 16:13:47 +00:00
Alex Kozlov 97e5e7dc3d - Remove last vestiges of MAKE_JOBS_SAFE knob
Approved by:	portmgr (bapt)
2013-09-20 10:54:22 +00:00
Marcus von Appen d222909e26 - Fix build after the recent lang/python changes 2013-08-17 23:54:21 +00:00
Alex Kozlov d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Timur I. Bakeyev 69b373d2cb Update relevant ports to the latest release and fix disappeared --prefix
from the bsd.ports.mk.

PR:		180102, 180103, 180136
2013-07-01 02:36:07 +00:00
Baptiste Daroussin 992586fa08 Finish converting the whole ports tree to USES=pkgconfig 2013-04-23 14:20:25 +00:00
Baptiste Daroussin 14bc5a6c11 Convert to new options framework left unconverted ports in databases category 2013-03-21 17:43:46 +00:00
Timur I. Bakeyev 3fcb8de796 Update port to the latest version 2013-01-31 15:03:47 +00:00
Ruslan Makhmatkhanov 878ac10d51 - strict python version to 2.x (doesn't build with python3)
PR:		170072
Submitted by:	Kimmo Paasiala <kpaasial at gmail dot com>
Approved by:	timur (maintainer)
2012-07-23 07:14:38 +00:00
Timur I. Bakeyev 2e62e3630f Fix damage cause by commits of eadler and miwi 2012-05-03 22:55:40 +00:00
Timur I. Bakeyev f5ad64cebb Update to version 1.2.9 2011-08-01 20:05:57 +00:00
Ade Lovett 4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Timur I. Bakeyev 35ec7fdb86 Fix unnecessary conflict with samba subports, in particular - libsmbclient. 2010-10-29 12:49:53 +00:00
Timur I. Bakeyev bcce1a8c6b Had to revert back to 1.2.1 version, as 1.2.2 breaks samba35. 2010-10-26 13:51:43 +00:00
Timur I. Bakeyev eed9126195 Bumped port version to the 1.2.2. Fixed installation of the manpages. 2010-10-26 13:07:59 +00:00
Timur I. Bakeyev 15d6e71863 Update port to the 1.2.1 version. It's needed for Samba 3.5 and Samba 4alpha13. 2010-10-25 22:07:46 +00:00
Ade Lovett 6abd00a86b Punt autoconf267->autoconf268 2010-10-16 11:52:47 +00:00
Ade Lovett 8262a7b51d Autotools update. Read ports/UPDATING 20100915 for details.
Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
2010-09-15 18:35:24 +00:00
Timur I. Bakeyev d81e457eaa Upgrade tdb to tne new version 1.2.0. 2010-02-05 00:50:46 +00:00
Timur I. Bakeyev 66383dd483 Fix CONFLICTS 2009-08-01 23:44:59 +00:00
Timur I. Bakeyev 7cc2dd23f0 Bump port version to the 1.1.5, using sources that come together with
net/samba4-devel.
2009-07-12 21:43:55 +00:00
Cheng-Lung Sung 4de56a776b - s,INSTALLS_SHLIB,USE_LDCONFIG,g
- these include comms/ converters/ databases/ devel/ maintained by ports@

PR:		ports/101916
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
2006-08-14 22:55:18 +00:00
Ade Lovett 8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00
Pav Lucistnik aa1836b7e9 - Add SHA256 2005-11-24 01:23:57 +00:00
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00
Joe Marcus Clarke 9e5632dd66 Apply a big libtool patch to allow porters to use the libtool installed by
the libtoolX ports instead of the one included with each port.  Ports that
set USE_LIBTOOL_VER=X will now use the ports version of libtool instead of
the included version.  To restore previous behavior, use the new macro,
USE_INC_LIBTOOL_VER.  Both macros accept the same argument: a libtool version.

For example, to use the ports version of libtool-1.5, add the following to
your Makefile:

USE_LIBTOOL_VER=        15

To use the included version of libtool with extra hacks provided by
libtool-1.5, add the following to your Makefile:

USE_INC_LIBTOOL_VER=    15

With this change, ports that had to add additional libtool hacks to prevent
.la files from being installed or to fix certain threading issues can now
delete those hacks (after appropriate testing, of course).

PR:		63944
Based on work by:eik and marcus
Approved by:	ade (autotools maintainer)
Tested by:	kris on pointyhat
Bound to be hidden problems:	You bet
2004-07-09 17:43:11 +00:00
Trevor Johnson 0c881ba59c SIZEify. 2004-01-29 07:24:56 +00:00
Kirill Ponomarev 762a33b466 - Remove gdbm dependency
- Fix build on -current

PR:		55658
Submitted by:	Matthias Andree <matthias.andree@gmx.de>
2003-08-17 18:28:02 +00:00
Akinori MUSHA 7cc1393a93 De-pkg-comment. 2003-02-20 17:07:10 +00:00
Mario Sergio Fujikawa Ferreira f0a1969d34 o Rollback PORTCOMMENT modifications while this feature's implementation
is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
2002-11-10 16:48:51 +00:00
Adam Weinberger d9611f9375 Use PORTCOMMENT in the Makefile, and whack the pkg-comment.
Approved by:	pat
2002-11-06 22:47:41 +00:00
Ying-Chieh Liao adffaf811e add tdb 1.0.6
Trivial Database
2002-10-12 13:02:16 +00:00