summaryrefslogtreecommitdiffstats
path: root/net/py-ldap2
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2001-04-24 04:51:14 +0000
committerdinoex <dinoex@FreeBSD.org>2001-04-24 04:51:14 +0000
commit799c8eb6cdca0ade0663aa1588b8fd5ae525839a (patch)
treef2043b341348773a8f2ccbb12718bfc50b469d87 /net/py-ldap2
parent4554b25f7d033c734509b117e8f21486b779be90 (diff)
downloadFreeBSD-ports-799c8eb6cdca0ade0663aa1588b8fd5ae525839a.zip
FreeBSD-ports-799c8eb6cdca0ade0663aa1588b8fd5ae525839a.tar.gz
- Update port to use phyton2.0
- Use %%PYTHON_VERSION%% in pkg-plist - bump Portrevision Submitted by: juha.o.ylitalo@nokia.com (Ylitalo Juha . O)
Diffstat (limited to 'net/py-ldap2')
-rw-r--r--net/py-ldap2/Makefile6
-rw-r--r--net/py-ldap2/pkg-plist26
2 files changed, 17 insertions, 15 deletions
diff --git a/net/py-ldap2/Makefile b/net/py-ldap2/Makefile
index dad0896..06491c2 100644
--- a/net/py-ldap2/Makefile
+++ b/net/py-ldap2/Makefile
@@ -6,6 +6,7 @@
PORTNAME= ldapmodule
PORTVERSION= 1.10alpha3
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://python-ldap.sourceforge.net/pub/python-ldap/
DISTNAME= python-ldap-${PORTVERSION}-src
@@ -13,9 +14,10 @@ DISTNAME= python-ldap-${PORTVERSION}-src
MAINTAINER= dirk.meyer@dinoex.sub.org
LIB_DEPENDS= ldap.1:${PORTSDIR}/net/openldap
-BUILD_DEPENDS= python1.5:${PORTSDIR}/lang/python15
-RUN_DEPENDS= python1.5:${PORTSDIR}/lang/python15
+BUILD_DEPENDS= python:${PORTSDIR}/lang/python
+RUN_DEPENDS= python:${PORTSDIR}/lang/python
+USE_PYTHON= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
WRKSRC= ${WRKDIR}/${DISTNAME:S=-src==}
diff --git a/net/py-ldap2/pkg-plist b/net/py-ldap2/pkg-plist
index 6a9574e..757f576 100644
--- a/net/py-ldap2/pkg-plist
+++ b/net/py-ldap2/pkg-plist
@@ -1,13 +1,13 @@
-lib/python1.5/site-packages/python-ldap/ldap.py
-lib/python1.5/site-packages/python-ldap/ldap.pyc
-lib/python1.5/site-packages/python-ldap/ldap.pyo
-lib/python1.5/site-packages/python-ldap/ldif.py
-lib/python1.5/site-packages/python-ldap/ldif.pyc
-lib/python1.5/site-packages/python-ldap/ldif.pyo
-lib/python1.5/site-packages/python-ldap/perldap.py
-lib/python1.5/site-packages/python-ldap/perldap.pyc
-lib/python1.5/site-packages/python-ldap/perldap.pyo
-lib/python1.5/site-packages/_ldapmodule.so
-lib/python1.5/site-packages/ldap.pth
-@dirrm lib/python1.5/site-packages/python-ldap
-@dirrm lib/python1.5/site-packages
+lib/%%PYTHON_VERSION%%/site-packages/python-ldap/ldap.py
+lib/%%PYTHON_VERSION%%/site-packages/python-ldap/ldap.pyc
+lib/%%PYTHON_VERSION%%/site-packages/python-ldap/ldap.pyo
+lib/%%PYTHON_VERSION%%/site-packages/python-ldap/ldif.py
+lib/%%PYTHON_VERSION%%/site-packages/python-ldap/ldif.pyc
+lib/%%PYTHON_VERSION%%/site-packages/python-ldap/ldif.pyo
+lib/%%PYTHON_VERSION%%/site-packages/python-ldap/perldap.py
+lib/%%PYTHON_VERSION%%/site-packages/python-ldap/perldap.pyc
+lib/%%PYTHON_VERSION%%/site-packages/python-ldap/perldap.pyo
+lib/%%PYTHON_VERSION%%/site-packages/_ldapmodule.so
+lib/%%PYTHON_VERSION%%/site-packages/ldap.pth
+@dirrm lib/%%PYTHON_VERSION%%/site-packages/python-ldap
+@dirrm lib/%%PYTHON_VERSION%%/site-packages
OpenPOWER on IntegriCloud