summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorAlan Eldridge <alane@FreeBSD.org>2003-01-02 12:42:09 +0000
committerAlan Eldridge <alane@FreeBSD.org>2003-01-02 12:42:09 +0000
commit5932ccd2584ccecb18b2d2c40f01eda98cc938fa (patch)
treeae12d2998b3bcf32ecf00c1f0db598032d21e310 /databases
parentUpgrade to 1.5.16 (diff)
A graphical ERD designer. It's a bit rough, but give it a version or two
more. This port is up for maintainership grabs, so I hope somebody takes it and sticks with it. I'm just putting it here.
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/pydbdesigner/Makefile67
-rw-r--r--databases/pydbdesigner/distinfo1
-rw-r--r--databases/pydbdesigner/pkg-comment1
-rw-r--r--databases/pydbdesigner/pkg-descr6
5 files changed, 76 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index c9898491f93b..bbf0c5133b44 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -136,6 +136,7 @@
SUBDIR += py-psycopg
SUBDIR += py-pyPgSQL
SUBDIR += py-sqlrelay
+ SUBDIR += pydbdesigner
SUBDIR += rdb
SUBDIR += rdfdb
SUBDIR += ruby-bdb
diff --git a/databases/pydbdesigner/Makefile b/databases/pydbdesigner/Makefile
new file mode 100644
index 000000000000..604f22e2f5ed
--- /dev/null
+++ b/databases/pydbdesigner/Makefile
@@ -0,0 +1,67 @@
+# ex:ts=8 -*-mode: makefile-*-
+#
+# New ports collection makefile for: pydbdesigner
+# Date created: 2003-01-02
+# Whom: Alan Eldridge <alane@geeksrus.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pydbdesigner
+PORTVERSION= 0.1.3
+PORTREVISION= 0
+PORTEPOCH= 0
+CATEGORIES= databases
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=${PORTNAME}
+
+MAINTAINER= freebsd-ports@FreeBSD.org
+
+BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/wxPython/__init__.py:${PORTSDIR}/x11-toolkits/py-wxPython
+RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/wxPython/__init__.py:${PORTSDIR}/x11-toolkits/py-wxPython
+
+USE_PYTHON= yes
+PLIST= ${WRKDIR}/plist
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+PYTHON_SITELIBSUBDIR= ${PYTHON_SITELIBDIR:S|^${PREFIX}/||}
+MY_SITELIBDIR= ${PYTHON_SITELIBDIR}/${PORTNAME}
+MY_SITELIBSUBDIR= ${PYTHON_SITELIBSUBDIR}/${PORTNAME}
+
+.include <bsd.port.pre.mk>
+
+CPIO?= /usr/bin/cpio
+
+PYVERSION= ${PYTHON_VERSION:S/^python//}
+.if defined(PYTHON_VERSION) && ${PYVERSION:S/.//} < 22
+.undef NO_IGNORE
+BROKEN= This port requires python 2.2 or later
+.endif # defined(PYVERSION) && ${PYVERSION:S/.//} < 22
+
+post-patch:
+ cd ${WRKSRC}; ${RM} -f *.tar.gz; >${PLIST}
+
+# make the plist here (for now)
+do-build:
+ cd ${WRKSRC};\
+ echo bin/${PORTNAME} >${PLIST};\
+ ${FIND} . ! -type d | cut -c3- | sort \
+ | ${SED} -e "s|^|${MY_SITELIBSUBDIR}/|" >>${PLIST};\
+ ${FIND} . -type d | cut -c3- | sort -r \
+ | ${SED} -e "s|^|@dirrm ${MY_SITELIBSUBDIR}/|" >>${PLIST}
+
+do-install:
+ ${MKDIR} ${MY_SITELIBDIR}
+ cd ${WRKSRC};\
+ ${FIND} . | cut -c3- \
+ | ${CPIO} -pdmv -R ${LIBOWN}:${LIBGRP} ${MY_SITELIBDIR};\
+ cd ${MY_SITELIBDIR};\
+ ${FIND} . -type d | cut -c3- | ${XARGS} ${CHMOD} ${BINMODE};\
+ ${FIND} . -type f | cut -c3- | ${XARGS} ${CHMOD} ${LIBMODE};\
+ ${RM} -f ${PREFIX}/bin/${PORTNAME};\
+ ${LN} -s ${MY_SITELIBDIR}/main.py ${PREFIX}/bin/${PORTNAME}
+ ${CHMOD} ${BINMODE} ${MY_SITELIBDIR}/main.py
+
+.include <bsd.port.post.mk>
+
+#EOF
diff --git a/databases/pydbdesigner/distinfo b/databases/pydbdesigner/distinfo
new file mode 100644
index 000000000000..0df8d76874ab
--- /dev/null
+++ b/databases/pydbdesigner/distinfo
@@ -0,0 +1 @@
+MD5 (pydbdesigner-0.1.3.tar.gz) = ae920596bc6d0b672f06da17fb66eae7
diff --git a/databases/pydbdesigner/pkg-comment b/databases/pydbdesigner/pkg-comment
new file mode 100644
index 000000000000..7bf18406cd9d
--- /dev/null
+++ b/databases/pydbdesigner/pkg-comment
@@ -0,0 +1 @@
+Graphical designer for relational databases
diff --git a/databases/pydbdesigner/pkg-descr b/databases/pydbdesigner/pkg-descr
new file mode 100644
index 000000000000..dc79d6719cc6
--- /dev/null
+++ b/databases/pydbdesigner/pkg-descr
@@ -0,0 +1,6 @@
+PyDBDesigner is a graphical designer for relational databases.
+
+WWW: http://pydbdesigner.sourceforge.net/
+
+--AlanE <alane@FreeBSD.org>
+