aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-rrdtool_lgpl
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2013-09-28 19:13:15 +0800
committermva <mva@FreeBSD.org>2013-09-28 19:13:15 +0800
commit1ec7a061324e09f0cfa19d0733c74dbd80dc9996 (patch)
tree69a496f998353664c19d5adcc39836d8d3443ce5 /databases/py-rrdtool_lgpl
parent1f8dd8ef54ff8fa32b7771423a3ad4fb46dfa55a (diff)
downloadfreebsd-ports-gnome-1ec7a061324e09f0cfa19d0733c74dbd80dc9996.tar.gz
freebsd-ports-gnome-1ec7a061324e09f0cfa19d0733c74dbd80dc9996.tar.zst
freebsd-ports-gnome-1ec7a061324e09f0cfa19d0733c74dbd80dc9996.zip
- Convert to PYDISTUTILS_AUTOPLIST
- Enable stage support - Limit to the supported python versions - Change to new LIB_DEPENDS where necessary - Switch to new OPTIONS framework where necessary
Diffstat (limited to 'databases/py-rrdtool_lgpl')
-rw-r--r--databases/py-rrdtool_lgpl/Makefile6
-rw-r--r--databases/py-rrdtool_lgpl/pkg-plist4
2 files changed, 3 insertions, 7 deletions
diff --git a/databases/py-rrdtool_lgpl/Makefile b/databases/py-rrdtool_lgpl/Makefile
index 45583586deda..9fbf1b08f186 100644
--- a/databases/py-rrdtool_lgpl/Makefile
+++ b/databases/py-rrdtool_lgpl/Makefile
@@ -12,13 +12,13 @@ DISTNAME= py-rrdtool-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python interface to RRDTool, the graphing and logging utility
-LIB_DEPENDS= rrd:${PORTSDIR}/databases/rrdtool
+LIB_DEPENDS= librrd.so:${PORTSDIR}/databases/rrdtool
-USE_PYTHON= yes
+USE_PYTHON= -2.7
USE_PYDISTUTILS=yes
+PYDISTUTILS_AUTOPLIST= yes
PYDISTUTILS_PKGNAME= py-rrdtool
LIBDIR?= ${LOCALBASE}/lib # directory where librrd.so lives
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/databases/py-rrdtool_lgpl/pkg-plist b/databases/py-rrdtool_lgpl/pkg-plist
deleted file mode 100644
index a767b70a4607..000000000000
--- a/databases/py-rrdtool_lgpl/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-%%PYTHON_SITELIBDIR%%/rrdtool.py
-%%PYTHON_SITELIBDIR%%/rrdtool.pyc
-%%PYTHON_SITELIBDIR%%/rrdtool.pyo
-%%PYTHON_SITELIBDIR%%/_rrdtool.so