mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
- 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>
This commit is contained in:
parent
5551abccb7
commit
f94ab36da3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=159959
@ -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 -
|
||||
|
||||
USE_PYTHON= 2.2+
|
||||
REINPLACE_ARGS= -i ""
|
||||
WRKSRC= ${WRKDIR}/PyDBDesigner
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
PYTHON_SITELIBSUBDIR= ${PYTHON_SITELIBDIR:S|^${PREFIX}/||}
|
||||
MY_SITELIBDIR= ${PYTHON_SITELIBDIR}/${PORTNAME}
|
||||
MY_SITELIBSUBDIR= ${PYTHON_SITELIBSUBDIR}/${PORTNAME}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
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_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>
|
||||
|
@ -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
|
||||
|
91
databases/pydbdesigner/pkg-plist
Normal file
91
databases/pydbdesigner/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user