Commit graph

17 commits

Author SHA1 Message Date
Baptiste Daroussin
2e9911f602 Switch from swig 2.0 to swig 3.0 2017-12-20 19:34:11 +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
Jan Beich
7277ec6a16 Assume "pkg-config libusb*" works after 9.x EOL
FreeBSD appears to use different pkg-config name for 0.1.x API but it
doesn't matter much as 0.1, 1.0 and 2.0 share CFLAGS/LIBS.
2017-01-05 22:58:02 +00:00
Mathieu Arnold
7f4572eae4 Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 13:29:15 +00:00
Raphael Kubo da Costa
e628c12f71 Update to 3.1p1.
PR:		206959
Submitted by:	osidorkin@gmail.com
Approved by:	johan@stromnet.se (maintainer)
2016-03-05 20:36:18 +00:00
Dmitry Marakasov
dace74104b - Update to 3.1p0
PR:		200245
Submitted by:	johan@stromnet.se (maintainer)
Reported by:	admin@lissyara.su
2015-08-26 16:29:55 +00:00
Mathieu Arnold
bb271f0bf7 Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3412?
2015-08-19 13:29:59 +00:00
Antoine Brodin
dc7c4d1d72 gmake:lite is only intended to be used for possible gmake dependencies 2015-03-07 13:19:46 +00:00
Thomas Zander
9668e7a3d6 Fix build with non-default OPTION owfs
PR:		196421
Submitted by:	osidorkin@gmail.com
Approved by:	johan@stromnet.se (maintainer)
MFH:		2015Q1
2015-01-03 16:56:18 +00:00
Pawel Pekala
fb0d280a9f Fix build on FreeBSD 8.x and 9.x by using gmake
PR:		196156
Submitted by:	maintainer
2014-12-22 18:37:57 +00:00
Baptiste Daroussin
0e0a3aa28c Convert to USES=autoreconf 2014-12-18 11:40:00 +00:00
Mathieu Arnold
eee58d187e Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
Perl version, minimizing the upgrade when the major Perl version is changed.
It uses a version dependent directory for modules with compiled bits.

As PERL_ARCH is no longer needed in plists, it has been removed from
PLIST_SUB.

The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now
always removed, as is perllocal.pod.

The old site_perl and site_perl/arch directories have been kept in the
default Perl @INC for all Perl ports, and will be phased out as these old
Perl versions expire.

PR:		194969
Differential Revision:	https://reviews.freebsd.org/D1019
Exp-run by:	antoine
Reviewed by:	perl@
Approved by:	portmgr
2014-11-26 13:08:24 +00:00
Alex Kozlov
71f698193d - Update to 2.9p8
- Add OWMUTEXDEBUG option
- Add USE_LDCONFIG
- Fix USES=tk syntax

PR: 194261
Submitted by:	johan@stromnet.se (maintainer)
2014-11-07 17:52:36 +00:00
Mathieu Arnold
d291ad32ca Replace some occurences of mach with PERL_ARCH (and a couple of other small noop fixes.)
With hat:	perl@
Sponsored by:	Absolight
2014-11-07 13:51:10 +00:00
Baptiste Daroussin
2c8db67726 Cleanup plist 2014-10-20 09:31:33 +00:00
Tijl Coosemans
a5bee80ce4 Use default LIBTOOLIZE_ARGS 2014-09-13 18:25:04 +00:00
John Marino
22f2f2c795 Add new port comms/owfs
PR:		189222
Submitted by:	Johan (stromnet.se)

OWFS -- 1-Wire file system.
OWFS is an easy way to use the powerful 1-wire system of Dallas/Maxim.
OWFS is a simple and flexible program to monitor and control the physical
environment. You can write scripts to read temperature, flash lights, write
to an LCD, log and graph, ...
2014-08-16 09:15:17 +00:00