Commit graph

32 commits

Author SHA1 Message Date
Mathieu Arnold
4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00
Mathieu Arnold
e50a689d56 Use the correct variable for dependency lines.
PKGNAMEPREFIX the name of the current package prefix, it is not correct
to use it for other package names.

Sponsored by:	Absolight
2018-06-20 16:58:29 +00:00
Mathieu Arnold
551be3c723 Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
  current python flavor.  It can be used in dependency lines when the
  port itself is not python flavored.  For example, deskutils/calibre.

  By default, all the flavors are generated.  To only generate flavors
  for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
  BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.

  In all the ports with Python dependencies, the *_DEPENDS entries MUST
  end with the flavor so that the framework knows which to build/use.
  This is done by appending '@${PY_FLAVOR}' after the origin (or
  @${FLAVOR} if in a Python module with Python flavors, as the content
  will be the same).  For example:

    RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}

PR:		223071
Reviewed by:	portmgr, python
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D12464
2017-11-30 15:50:30 +00:00
TAKATSU Tomonari
319e368afe - Update to 0.5.4
- Fix Python version
- Make use of options helpers
2016-04-10 09:37:11 +00:00
Mathieu Arnold
4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00
Mathieu Arnold
21a283f3be Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.

Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.

Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)

Reviewed by:	antoine, bapt
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3336
2015-08-17 14:20:40 +00:00
TAKATSU Tomonari
ac5cbf76f4 - Update to 0.5.3
- Add LICENSE_FILE
- Convert to USES=python
- Update WWW: in pkg-descr
2014-09-26 07:40:06 +00:00
TAKATSU Tomonari
4d1f34ba47 - Update to 0.5.1
* Switch run-time dependency from PIL to Pillow
- Use USE_PYDISTUTILS= yes instead of USE_PYDISTUTILS= easy_install
- Use PYDISTUTILS_AUTOPLIST
  * Remove pkg-plist, accordingly
- Support STAGEDIR
  * Make DOCS unconditional to stage
- Unmute INSTALL_DATA and INSTALL_MAN in post-install target

PR:		ports/188882 (based on)
Submitted by:	Bartek Rutkowski <ports@robakdesign.com>
2014-04-26 21:18:07 +00:00
Emanuel Haupt
e51ae914b5 Remove trailing whitespaces from category graphics 2014-02-21 13:37:15 +00:00
Emanuel Haupt
5005b67362 According to the Porter's Handbook (5.12.2.3.) default options must be added to
OPTIONS_DEFINE. This policy has been implemented only recently that's why we
have many ports violating this policy.

This patch adds the default options specified in the Porter's Handbook to
OPTIONS_DEFINE where they are being used. Ports maintained by
gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded.

Approved by:    portmgr (bapt)
2014-02-10 13:54:26 +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
Olli Hauer
4fb1cfb1cd - rename AL2 to APACHE20 in Mk/bsd.licenses.db.mk
- svn move Templates/Licenses/AL2 Templates/Licenses/APACHE20
- add APACHE10 and APACHE11 to Mk/bsd.licenses.db.mk
- add entry in UPDATING
- bulk change all ports AL2 => APACHE20

- math/openfst/pkg-plist: remove share/licenses/openfst-1.3.4

PR:		ports/184785
Submitted by:	ohauer
Reviewed by:	tabthorpe
Approved by:	portmgr (tabthorpe@)
2013-12-30 20:55:18 +00:00
Baptiste Daroussin
eb08c5441c Add NO_STAGE all over the place in preparation for the staging support (cat: graphics) 2013-09-20 18:35:44 +00:00
TAKATSU Tomonari
7c39ed7ea8 - Update to 0.4.3
- Remove indefinite article from COMMENT
- Replace NOPORTDOCS with PORT_OPTIONS:MDOCS
2013-02-11 01:28:43 +00:00
TAKATSU Tomonari
e349fdf20e - Update to 0.4.1
Feature safe:	yes
2012-10-29 22:37:47 +00:00
TAKATSU Tomonari
eb2171dd3f - Update to 0.4.0
Feature safe:	yes
2012-10-24 16:16:29 +00:00
TAKATSU Tomonari
89d84f4b7b - Remove LICENSE_FILE for well-known licenses
- Fix USE_PYTHON to -2.7 because 2.4 and 2.5 have been removed from the tree

Pointed out by:	rm@ (via private e-mail)
2012-10-01 22:01:23 +00:00
TAKATSU Tomonari
a5acbce2ad - Update to 0.3.4
- Convert to new Makefile header
- Trim WWW: line in pkg-descr
2012-09-30 20:28:33 +00:00
TAKATSU Tomonari
2024594afe - Update to 0.3.3
- Fix minimal version of dependency on blockdiag which should have been
  set to 1.1.2 since actdiag 0.3.1
2012-04-25 12:18:10 +00:00
TAKATSU Tomonari
4e695f488e - Update to 0.3.2
Feature safe:	yes
2012-03-16 19:42:19 +00:00
TAKATSU Tomonari
25345b92b1 - Update to 0.3.1 2012-02-16 11:42:07 +00:00
Thomas Abthorpe
e0ac1afbf4 - The proper acronym for Apache Software License 2 is really AL2
- Thanks to crees@ for generating the initial patch

PR:		ports/163521
Submitted by:	Pedro Giffuni <pfg apache.org>
Hat:		portmgr
Exp run by:	pav
2012-01-09 15:41:08 +00:00
TAKATSU Tomonari
93c9dea0b2 - Update to 0.3.0
Feature safe:	yes
2011-11-23 04:38:29 +00:00
TAKATSU Tomonari
d4faa2634e - Update to 0.2.4
Feature safe:	yes
2011-11-11 21:34:46 +00:00
TAKATSU Tomonari
26336485a2 - Update to 0.2.3 2011-11-07 17:15:33 +00:00
TAKATSU Tomonari
8fd67d36e2 - Update to 0.2.2 2011-11-03 05:02:15 +00:00
TAKATSU Tomonari
bbf6775c2c - Update to 0.2.1 2011-11-03 01:50:09 +00:00
TAKATSU Tomonari
37a387b312 - Fix minimal version of blockdiag dependency in RUN_DEPENDS 2011-10-21 23:08:41 +00:00
TAKATSU Tomonari
1a9dc00b24 - Update to 0.2.0 2011-10-21 16:25:58 +00:00
TAKATSU Tomonari
665ce736d9 - Update to 0.1.9
- Add manpage
2011-10-12 22:15:54 +00:00
TAKATSU Tomonari
7596564617 - Update to 0.1.8
- Restrict USE_PYTHON range
2011-10-01 02:34:22 +00:00
TAKATSU Tomonari
744e22022f - Add a new port: graphics/py-actdiag
`actdiag` generate activity-diagram image file from spec-text file.

  Features
    * Generate activity-diagram from dot like text (basic feature).
    * Multilingualization for node-label (utf-8 only).

  WWW:	http://blockdiag.com/actdiag/build/html/
2011-08-07 09:46:45 +00:00