aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-02-12 17:20:41 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-02-12 17:20:41 +0000
commit578e813048999e610922fbd6bc07887fce569fa7 (patch)
tree1eadb733216934278c0f6cfa7b3b059428441e17
parenteebaebfc46ebfea3748650758916c9c9e803dce2 (diff)
downloadports-578e813048999e610922fbd6bc07887fce569fa7.tar.gz
ports-578e813048999e610922fbd6bc07887fce569fa7.zip
Flixible tool for inserting data from DBF into MySQL.
WWW: http://mydbf2mysql.sourceforge.net/ PR: ports/142416 Submitted by: Andrey Polyakov <andrey.polyakov at unix.net>
Notes
Notes: svn path=/head/; revision=249706
-rw-r--r--databases/Makefile1
-rw-r--r--databases/mydbf2mysql/Makefile31
-rw-r--r--databases/mydbf2mysql/distinfo3
-rw-r--r--databases/mydbf2mysql/pkg-descr3
-rw-r--r--databases/mydbf2mysql/pkg-plist32
5 files changed, 70 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 92ff082c1380..4ae808a4e12b 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -180,6 +180,7 @@
SUBDIR += msql
SUBDIR += msql3
SUBDIR += mtop
+ SUBDIR += mydbf2mysql
SUBDIR += mydumper
SUBDIR += mylibrary
SUBDIR += mysql++
diff --git a/databases/mydbf2mysql/Makefile b/databases/mydbf2mysql/Makefile
new file mode 100644
index 000000000000..7925cae25368
--- /dev/null
+++ b/databases/mydbf2mysql/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: mydbf2mysql
+# Date created: 10 Jan 2010
+# Whom: Andrey Polyakov <andrey.polyakov@unix.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mydbf2mysql
+PORTVERSION= 0.8.4.5
+CATEGORIES= databases python
+MASTER_SITES= SF/mydbf2mysql/mydbf2mysql/${PORTVERSION}/
+DISTNAME= MyDBF2MySQL-${PORTVERSION}
+
+MAINTAINER= andrey.polyakov@unix.net
+COMMENT= Flexiable tool for DBF import into MySQL
+
+RUN_DEPENDS+= py26-MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb
+RUN_DEPENDS+= ydbf=0.0.1:${PORTSDIR}/devel/py-ydbf
+
+USE_PYTHON= 2.6+
+USE_PYDISTUTILS=yes
+USE_BZIP2= yes
+PYDISTUTILS_NOEGGINFO= yes
+PYDISTUTILS_PKGNAME= MyDBF2MySQL
+PYDISTUTILS_PKGVERSION= ${PORTVERSION}
+
+WRKSRC= ${WRKDIR}/${PORTNAME}/${PORTNAME}/dist/${DISTNAME}/
+
+MAN1= mydbf2mysql.1
+
+.include <bsd.port.mk>
diff --git a/databases/mydbf2mysql/distinfo b/databases/mydbf2mysql/distinfo
new file mode 100644
index 000000000000..afbbd6159002
--- /dev/null
+++ b/databases/mydbf2mysql/distinfo
@@ -0,0 +1,3 @@
+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-descr b/databases/mydbf2mysql/pkg-descr
new file mode 100644
index 000000000000..a2369f97b95e
--- /dev/null
+++ b/databases/mydbf2mysql/pkg-descr
@@ -0,0 +1,3 @@
+Flixible tool for inserting data from DBF into MySQL.
+
+WWW: http://mydbf2mysql.sourceforge.net/
diff --git a/databases/mydbf2mysql/pkg-plist b/databases/mydbf2mysql/pkg-plist
new file mode 100644
index 000000000000..5b11859df301
--- /dev/null
+++ b/databases/mydbf2mysql/pkg-plist
@@ -0,0 +1,32 @@
+bin/mydbf2mysql
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL-0.8.4.5-py2.6.egg-info
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/__init__.py
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/__init__.pyc
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/__init__.pyo
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/codes.py
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/codes.pyc
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/codes.pyo
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/counter.py
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/counter.pyc
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/counter.pyo
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/filters.py
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/filters.pyc
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/filters.pyo
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/log.py
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/log.pyc
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/log.pyo
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/misc.py
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/misc.pyc
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/misc.pyo
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/threads.py
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/threads.pyc
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/threads.pyo
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/utils.py
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/utils.pyc
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/utils.pyo
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/version.py
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/version.pyc
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/version.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/MyDBF2MySQL
+@dirrm %%PYTHON_SITELIBDIR%%
+@dirrm %%PYTHON_LIBDIR%%