aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mydbf2mysql
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2011-03-07 08:27:15 +0800
committerwen <wen@FreeBSD.org>2011-03-07 08:27:15 +0800
commita182f977b7ba31c381f4d597eab35684f45006c2 (patch)
tree24e2dd8ee8ec2b988d700c25b0e786a13ad30b9c /databases/mydbf2mysql
parent633c6c3bbf2a1a23fae98b84cae23bdd5924c810 (diff)
downloadfreebsd-ports-gnome-a182f977b7ba31c381f4d597eab35684f45006c2.tar.gz
freebsd-ports-gnome-a182f977b7ba31c381f4d597eab35684f45006c2.tar.zst
freebsd-ports-gnome-a182f977b7ba31c381f4d597eab35684f45006c2.zip
- Fix build with python-2.7
PR: ports/155077 Submitted by: Wen Heping (myself) Approved by: portmgr@
Diffstat (limited to 'databases/mydbf2mysql')
-rw-r--r--databases/mydbf2mysql/Makefile1
-rw-r--r--databases/mydbf2mysql/distinfo1
-rw-r--r--databases/mydbf2mysql/pkg-plist2
3 files changed, 2 insertions, 2 deletions
diff --git a/databases/mydbf2mysql/Makefile b/databases/mydbf2mysql/Makefile
index 8af74f75ab9b..fde048fb5a2e 100644
--- a/databases/mydbf2mysql/Makefile
+++ b/databases/mydbf2mysql/Makefile
@@ -17,6 +17,7 @@ COMMENT= Flexible tool for DBF import into MySQL
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb
RUN_DEPENDS+= ydbf=0.0.1:${PORTSDIR}/devel/py-ydbf
+PLIST_SUB+= PYTHON_VER=${PYTHON_VER}
USE_PYTHON= 2.6+
USE_PYDISTUTILS=yes
USE_BZIP2= yes
diff --git a/databases/mydbf2mysql/distinfo b/databases/mydbf2mysql/distinfo
index afbbd6159002..8d7907962ef8 100644
--- a/databases/mydbf2mysql/distinfo
+++ b/databases/mydbf2mysql/distinfo
@@ -1,3 +1,2 @@
-MD5 (MyDBF2MySQL-0.8.4.5.tar.bz2) = 1ba9d8e35b7a86a6a9f2bb4abf93cc9c
SHA256 (MyDBF2MySQL-0.8.4.5.tar.bz2) = 5656a1b2f9bb73aba48266261f7f8d1c8e5d2c61cabcf47ebf470ad1b147bd60
SIZE (MyDBF2MySQL-0.8.4.5.tar.bz2) = 20031
diff --git a/databases/mydbf2mysql/pkg-plist b/databases/mydbf2mysql/pkg-plist
index 5b11859df301..c02d633fd7ae 100644
--- a/databases/mydbf2mysql/pkg-plist
+++ b/databases/mydbf2mysql/pkg-plist
@@ -1,5 +1,5 @@
bin/mydbf2mysql
-%%PYTHON_SITELIBDIR%%/MyDBF2MySQL-0.8.4.5-py2.6.egg-info
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL-0.8.4.5-py%%PYTHON_VER%%.egg-info
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/__init__.py
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/__init__.pyc
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/__init__.pyo