Commit graph

24 commits

Author SHA1 Message Date
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
Barbara Guida
1ca3341c36 Add libtool:oldver to USES 2014-05-12 11:24:47 +00:00
Emanuel Haupt
f339670a45 - Support staging
- Define DOCS
- Use gmake USES macro instead of USE_GMAKE
- Update LICENSE
- Use new LIB_DEPENDS syntax
2014-02-09 12:52:03 +00:00
Baptiste Daroussin
855fb638fb Add NO_STAGE all over the place in preparation for the staging support (cat: multimedia) 2013-09-20 20:57:48 +00:00
Baptiste Daroussin
992586fa08 Finish converting the whole ports tree to USES=pkgconfig 2013-04-23 14:20:25 +00:00
Barbara Guida
b0f0834d53 - Convert to OptionsNG
- Improve handling of different options combinations
- Trim Makefile header
- Update my email address

Approved by:	flo, rene (mentors)
2012-12-27 22:54:33 +00:00
Baptiste Daroussin
9346b215f0 new devel/pkgconf added to replace devel/pkg-config. new version of pkg-config
are no more self hosting so we are stuck with 0.25 version while pkgconf provide
the same set of features as 0.27 and a compatible frontend. A symlink to
pkg-config has been added for convenience and compatibility

This also introduces a new macro to use pkgconf in your ports:
USE_PKGCONFIG

it can take the following arguments:
 - yes (meaning build only dep)
 - build (meaning build only dep)
 - run (meaning run only dep)
 - both (meaning run and build dep)

From now USE_GNOME= pkgconfig is deprecated in favour of USE_PKGCONFIG
The old gnome macro has been modified to use pkgconf but still the sameway: run
and build dep to avoid large breakage.

While here fix some ports relying on pkg-config but not specifying it, fix some
ports broken because testing wrong .pc files, and fix ports using pkg-config
--version to determine pkg-config version instead of
pkg-config --modversion pkg-config like recommanded by pkg-config

With Hat:	portmgr
Exp-runs by:	bapt (pointhat-west), beat (pointyhat)
2012-07-26 05:40:22 +00:00
Christian Weisgerber
bcd6fbdee4 libogg.so.8: Bump PORTREVISION for ports that depend on libogg,
directly or indirectly (via libvorbis, libtheora).
2012-07-19 20:15:37 +00:00
Dirk Meyer
2b74a89bc8 - update png to 1.5.10 2012-06-01 05:26:28 +00:00
Martin Wilke
e1c6649edf - Remove WITH_FBSD10_FIX, is no longer needed 2011-11-09 15:26:04 +00:00
Martin Wilke
3a61669522 - Fix build FreeBSD 10 2011-10-28 18:00:25 +00:00
Dennis Herrmann
72fb99d972 - Update to 0.4.1
PR:		ports/160347
Submitted by:	Barbara <barbara.xxx1975@libero.it> (maintainer)
2011-09-13 16:53:58 +00:00
Stephen Montgomery-Smith
60bba17b80 - Update to 0.3.8.
PR:		ports/158563
Submitted by:	Barbara <barbara.xxx1975@libero.it>
Approved by:	gabor (mentor)
2011-07-03 18:30:19 +00:00
Olli Hauer
4c503beb39 - remove MD5 2011-07-03 13:38:45 +00:00
Mark Linimon
53848dd146 Over to new volunteer.
Approved by:	maintainer
2011-07-01 22:23:55 +00:00
Martin Wilke
268477f7ef - Bump PORTREVISION to force rebuild after python update. 2011-03-05 12:05:28 +00:00
Christian Weisgerber
30587b71c2 Bump PORTREVISION for ports that depend on libogg, directly or indirectly
(via libvorbis, libtheora).
2010-06-06 20:44:03 +00:00
Martin Matuska
8ffeedb3e3 - Update to 0.3.7
- Make HTML docs optional

PR:		ports/145236
Submitted by:	myself
Approved by:	maintainer (timeout)
2010-04-14 08:46:09 +00:00
Dirk Meyer
6e7a54ad67 - fix build for png-1.4.1 2010-04-03 05:06:14 +00:00
Dirk Meyer
de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00
Christian Weisgerber
94d47b2ecd Bump PORTREVISION after libogg and libvorbisfile major version increment. 2009-07-06 21:25:59 +00:00
Pav Lucistnik
5d25b9571f - This port does not need gnomelibs
PR:		ports/132076
Reported by:	Marcin Cieslak <saper@SYSTEM.PL>
Approved by:	maintainer timeout (anders; 1 month)
2009-03-30 22:02:19 +00:00
Anders Nordby
3d340abc2b Remove unnecessary patch. 2008-10-18 17:45:19 +00:00
Anders Nordby
5c1c98a112 Add libkate, codec for karaoke and text encapsulation for Ogg. 2008-10-18 17:33:44 +00:00