aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2014-09-29 01:47:50 +0800
committermva <mva@FreeBSD.org>2014-09-29 01:47:50 +0800
commit5f7f3c911b60eb00836f406937121f35de271e2f (patch)
tree1296fb3930fe01f1b181458867098daab3ae2570
parent17ec88c2484254617b8a0c5253566cca4078a03c (diff)
downloadfreebsd-ports-gnome-5f7f3c911b60eb00836f406937121f35de271e2f.tar.gz
freebsd-ports-gnome-5f7f3c911b60eb00836f406937121f35de271e2f.tar.zst
freebsd-ports-gnome-5f7f3c911b60eb00836f406937121f35de271e2f.zip
- Convert to USES=python
Approved by: portmgr (implicit)
-rw-r--r--databases/rrdtool12/Makefile4
-rw-r--r--databases/rrdtool12/pkg-plist1
2 files changed, 2 insertions, 3 deletions
diff --git a/databases/rrdtool12/Makefile b/databases/rrdtool12/Makefile
index de2ddb23e7d9..0a355e56b235 100644
--- a/databases/rrdtool12/Makefile
+++ b/databases/rrdtool12/Makefile
@@ -29,9 +29,7 @@ OPTIONS_DEFAULT= PERL
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPYTHON}
-USE_PYTHON= yes
-INSTALLS_EGGINFO=yes
-PYDISTUTILS_EGGINFO=py_rrdtool-0.2.1-${PYTHON_VERSION:S/thon//}.egg-info
+USES+= python
PLIST_SUB+= WITH_PYTHON=""
CONFIGURE_ARGS+= --enable-python
.else
diff --git a/databases/rrdtool12/pkg-plist b/databases/rrdtool12/pkg-plist
index 0431825817ce..d04292078692 100644
--- a/databases/rrdtool12/pkg-plist
+++ b/databases/rrdtool12/pkg-plist
@@ -135,6 +135,7 @@ man/man1/rrdlastupdate.1.gz
%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDs/RRDs.so
%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDs/.packlist
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/rrdtoolmodule.so
+%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/py_rrdtool-0.2.1-py%%PYTHON_VER%%.egg-info
%%WITH_RUBY%%%%RUBY_SITEARCHLIBDIR%%/RRD.so
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%/txt