aboutsummaryrefslogtreecommitdiffstats
path: root/databases/pydbdesigner
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2006-04-19 23:38:58 +0800
committergarga <garga@FreeBSD.org>2006-04-19 23:38:58 +0800
commit4b0a3ec7c33557914a9dcaa10197ca6edd0fea3f (patch)
treebfe41f0c6c0ee5009a3202a61f88cf115c84c6d2 /databases/pydbdesigner
parentc5373a13c58283168b4a0d87de83bb10dbd685e5 (diff)
downloadfreebsd-ports-gnome-4b0a3ec7c33557914a9dcaa10197ca6edd0fea3f.tar.gz
freebsd-ports-gnome-4b0a3ec7c33557914a9dcaa10197ca6edd0fea3f.tar.zst
freebsd-ports-gnome-4b0a3ec7c33557914a9dcaa10197ca6edd0fea3f.zip
- Update to 0.1.4.1
- Add a static pkg-plist - Use USE_PYTHON facilities - Pass maintainership to submitter PR: ports/96041 Submitted by: Soeren Straarup <xride@x12.dk>
Diffstat (limited to 'databases/pydbdesigner')
-rw-r--r--databases/pydbdesigner/Makefile41
-rw-r--r--databases/pydbdesigner/distinfo6
-rw-r--r--databases/pydbdesigner/pkg-plist91
3 files changed, 105 insertions, 33 deletions
diff --git a/databases/pydbdesigner/Makefile b/databases/pydbdesigner/Makefile
index 4783167064b1..674ba378d45a 100644
--- a/databases/pydbdesigner/Makefile
+++ b/databases/pydbdesigner/Makefile
@@ -1,5 +1,3 @@
-# ex:ts=8 -*-mode: makefile-*-
-#
# New ports collection makefile for: pydbdesigner
# Date created: 2003-01-02
# Whom: Alan Eldridge <alane@geeksrus.net>
@@ -8,46 +6,29 @@
#
PORTNAME= pydbdesigner
-PORTVERSION= 0.1.3
-PORTREVISION= 6
-PORTEPOCH= 0
+PORTVERSION= 0.1.4.1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=${PORTNAME}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= xride@x12.dk
COMMENT= Graphical designer for relational databases
-BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/wxPython/__init__.py:${PORTSDIR}/x11-toolkits/py-wxPython24
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/wxPython/__init__.py:${PORTSDIR}/x11-toolkits/py-wxPython24
-USE_PYTHON= yes
-PLIST= ${WRKDIR}/plist
-WRKSRC= ${WRKDIR}/${PORTNAME}
+EXTRACT_AFTER_ARGS= | ${TAR} --exclude CVS -xf -
-PYTHON_SITELIBSUBDIR= ${PYTHON_SITELIBDIR:S|^${PREFIX}/||}
-MY_SITELIBDIR= ${PYTHON_SITELIBDIR}/${PORTNAME}
-MY_SITELIBSUBDIR= ${PYTHON_SITELIBSUBDIR}/${PORTNAME}
+USE_PYTHON= 2.2+
+REINPLACE_ARGS= -i ""
+WRKSRC= ${WRKDIR}/PyDBDesigner
-.include <bsd.port.pre.mk>
+NO_BUILD= yes
-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
+MY_SITELIBDIR= ${PYTHON_SITELIBDIR}/${PORTNAME}
post-patch:
- cd ${WRKSRC}; ${RM} -f *.tar.gz; >${PLIST}
-
-# make the plist here (for now)
-do-build:
- cd ${WRKSRC};\
- ${ECHO_CMD} 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}
+ @${REINPLACE_CMD} -e 's,/usr/bin/env *python,${PYTHON_CMD},' \
+ ${WRKSRC}/main.py
do-install:
${MKDIR} ${MY_SITELIBDIR}
@@ -61,4 +42,4 @@ do-install:
${LN} -s ${MY_SITELIBDIR}/main.py ${PREFIX}/bin/${PORTNAME}
${CHMOD} ${BINMODE} ${MY_SITELIBDIR}/main.py
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/databases/pydbdesigner/distinfo b/databases/pydbdesigner/distinfo
index 9c989918f09b..b9c756d4aea1 100644
--- a/databases/pydbdesigner/distinfo
+++ b/databases/pydbdesigner/distinfo
@@ -1,3 +1,3 @@
-MD5 (pydbdesigner-0.1.3.tar.gz) = ae920596bc6d0b672f06da17fb66eae7
-SHA256 (pydbdesigner-0.1.3.tar.gz) = e28ae6589ced6fdda02932e10f8f377654f1956c38e75615e40802c3a4a01e25
-SIZE (pydbdesigner-0.1.3.tar.gz) = 51722
+MD5 (pydbdesigner-0.1.4.1.tar.gz) = 6c26225f7a43e2e74100d5cd9c274499
+SHA256 (pydbdesigner-0.1.4.1.tar.gz) = ed5b51e7ee6e2417c7917ee09740e0d0dfadf719bb9f8027b2b22823d6ee05c3
+SIZE (pydbdesigner-0.1.4.1.tar.gz) = 53584
diff --git a/databases/pydbdesigner/pkg-plist b/databases/pydbdesigner/pkg-plist
new file mode 100644
index 000000000000..a9ca6e3a7e7b
--- /dev/null
+++ b/databases/pydbdesigner/pkg-plist
@@ -0,0 +1,91 @@
+bin/pydbdesigner
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Gui/Dialogs/PhysicalEntityDialog.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Gui/Dialogs/PhysicalPropertiesDialog.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Gui/Dialogs/__init__.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Gui/Dialogs/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Gui/Dialogs/PhysicalEntityDialog.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Gui/Dialogs/PhysicalPropertiesDialog.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Gui/EntityView.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Gui/ModelView.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Gui/PhysicalEntityView.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Gui/PhysicalModelView.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Gui/PhysicalRelationView.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Gui/PrintFramework.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Gui/RelationView.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Gui/__init__.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Gui/pydbMainApp.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Gui/pydbMainFrame.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Gui/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Gui/pydbMainApp.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Gui/pydbMainFrame.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Gui/PhysicalModelView.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Gui/ModelView.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Gui/PrintFramework.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Gui/EntityView.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Gui/PhysicalEntityView.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Gui/PhysicalRelationView.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Gui/RelationView.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/test/crm.drop.sql
+%%PYTHON_SITELIBDIR%%/pydbdesigner/test/crm.sql
+%%PYTHON_SITELIBDIR%%/pydbdesigner/test/crm.xml
+%%PYTHON_SITELIBDIR%%/pydbdesigner/test/crm.xml.view
+%%PYTHON_SITELIBDIR%%/pydbdesigner/test/test.drop.sql
+%%PYTHON_SITELIBDIR%%/pydbdesigner/test/test.sql
+%%PYTHON_SITELIBDIR%%/pydbdesigner/test/test.xml
+%%PYTHON_SITELIBDIR%%/pydbdesigner/test/test.xml.view
+%%PYTHON_SITELIBDIR%%/pydbdesigner/ChangeLog
+%%PYTHON_SITELIBDIR%%/pydbdesigner/LICENSE
+%%PYTHON_SITELIBDIR%%/pydbdesigner/README
+%%PYTHON_SITELIBDIR%%/pydbdesigner/TODO
+%%PYTHON_SITELIBDIR%%/pydbdesigner/main.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/BasicElement.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/BasicType.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/Entity.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/Model.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/PhysicalEntity.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/PhysicalModel.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/PhysicalProperty.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/PhysicalPropertyLink.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/PhysicalPropertyTypes.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/PhysicalRelation.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/Property.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/PropertyLink.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/PropertyType.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/Relation.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/__init__.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/Entity.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/BasicElement.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/PropertyLink.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/Property.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/PhysicalEntity.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/PhysicalProperty.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/PhysicalPropertyTypes.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/PropertyType.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/BasicType.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/PhysicalPropertyLink.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/PhysicalModel.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/Model.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/Relation.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Objects/PhysicalRelation.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Utils/Utils.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Utils/__init__.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Utils/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Utils/Utils.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Workers/ReadModel.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Workers/SaveModel.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Workers/SaveMySQLModel.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Workers/SaveSqlModel.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Workers/__init__.py
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Workers/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Workers/ReadModel.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Workers/SaveModel.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Workers/SaveSqlModel.pyc
+%%PYTHON_SITELIBDIR%%/pydbdesigner/Workers/SaveMySQLModel.pyc
+@dirrm %%PYTHON_SITELIBDIR%%/pydbdesigner/test
+@dirrm %%PYTHON_SITELIBDIR%%/pydbdesigner/Workers
+@dirrm %%PYTHON_SITELIBDIR%%/pydbdesigner/Utils
+@dirrm %%PYTHON_SITELIBDIR%%/pydbdesigner/Objects
+@dirrm %%PYTHON_SITELIBDIR%%/pydbdesigner/Gui/Dialogs
+@dirrm %%PYTHON_SITELIBDIR%%/pydbdesigner/Gui
+@dirrm %%PYTHON_SITELIBDIR%%/pydbdesigner