aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2014-09-29 01:42:15 +0800
committermva <mva@FreeBSD.org>2014-09-29 01:42:15 +0800
commit17ec88c2484254617b8a0c5253566cca4078a03c (patch)
tree3d29e45e05ab72438054eb034d29022301bbc63a /databases
parenteffc17070eb927b8a12f11980d4acee161ce5b73 (diff)
downloadfreebsd-ports-graphics-17ec88c2484254617b8a0c5253566cca4078a03c.tar.gz
freebsd-ports-graphics-17ec88c2484254617b8a0c5253566cca4078a03c.tar.zst
freebsd-ports-graphics-17ec88c2484254617b8a0c5253566cca4078a03c.zip
- Convert to USES=python
Approved by: portmgr (implicit)
Diffstat (limited to 'databases')
-rw-r--r--databases/rrdtool/Makefile4
-rw-r--r--databases/rrdtool/pkg-plist1
2 files changed, 2 insertions, 3 deletions
diff --git a/databases/rrdtool/Makefile b/databases/rrdtool/Makefile
index f8d611d14af..45409159903 100644
--- a/databases/rrdtool/Makefile
+++ b/databases/rrdtool/Makefile
@@ -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
diff --git a/databases/rrdtool/pkg-plist b/databases/rrdtool/pkg-plist
index 81ce140461b..84e61941a08 100644
--- a/databases/rrdtool/pkg-plist
+++ b/databases/rrdtool/pkg-plist
@@ -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