- Convert to USES=python

Approved by:	portmgr (implicit)
This commit is contained in:
Marcus von Appen 2014-09-28 17:42:15 +00:00
parent cbbbd4b36c
commit 2666f5c903
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369472
2 changed files with 2 additions and 3 deletions

View file

@ -40,9 +40,7 @@ RUBY_MODULE_DESC= Build RUBY bindings
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPYTHON_MODULE}
USE_PYTHON= yes
INSTALLS_EGGINFO=yes
PYDISTUTILS_EGGINFO=py_rrdtool-0.2.2-${PYTHON_VERSION:S/thon//}.egg-info
USES+= python
PLIST_SUB+= WITH_PYTHON=""
CONFIGURE_ARGS+= --enable-python
.else

View file

@ -53,6 +53,7 @@ libdata/pkgconfig/librrd.pc
%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/RRDs.pm
%%WITH_PERL%%%%SITE_PERL%%/RRDp.pm
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/rrdtoolmodule.so
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/py_rrdtool-0.2.2-py%%PYTHON_VER%%.egg-info
%%WITH_RUBY%%%%RUBY_SITEARCHLIBDIR%%/RRD.so
%%PORTEXAMPLES%%share/rrdtool/examples/rrdcached/RRDCached.pm
%%PORTEXAMPLES%%share/rrdtool/examples/rrdcached/rrdcached-size.pl