diff options
author | thierry <thierry@FreeBSD.org> | 2004-05-08 06:33:55 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2004-05-08 06:33:55 +0800 |
commit | 82cb58e86ebb250d9e43c6cf65d496c4afb16418 (patch) | |
tree | 58385b720d7dc87aa3620036c09a0681cd64ca71 /devel | |
parent | bb801225e9b23cd619410c62c8c4362949566dde (diff) | |
download | freebsd-ports-graphics-82cb58e86ebb250d9e43c6cf65d496c4afb16418.tar.gz freebsd-ports-graphics-82cb58e86ebb250d9e43c6cf65d496c4afb16418.tar.zst freebsd-ports-graphics-82cb58e86ebb250d9e43c6cf65d496c4afb16418.zip |
Add gaphor 0.3.1, UML modeling environment written in Python.
PR: 65816
Submitted by: rehsack@liwing.de
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/gaphor/Makefile | 52 | ||||
-rw-r--r-- | devel/gaphor/distinfo | 2 | ||||
-rw-r--r-- | devel/gaphor/pkg-descr | 5 | ||||
-rw-r--r-- | devel/gaphor/pkg-plist | 144 |
5 files changed, 204 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 67fbfbccd20..2266e971951 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -251,6 +251,7 @@ SUBDIR += g-wrap SUBDIR += g2c SUBDIR += gaa + SUBDIR += gaphor SUBDIR += gauche-readline SUBDIR += gauche-sdl SUBDIR += gaul diff --git a/devel/gaphor/Makefile b/devel/gaphor/Makefile new file mode 100644 index 00000000000..5aa8b9f354a --- /dev/null +++ b/devel/gaphor/Makefile @@ -0,0 +1,52 @@ +# New ports collection makefile for: gaphor +# Date created: 06 August 2003 +# Whom: rehsack@liwing.de +# +# $FreeBSD$ +# + +PORTNAME= gaphor +PORTVERSION= 0.3.1 +CATEGORIES= devel gnome +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DIST_SUBDIR= gnome2 + +MAINTAINER= rehsack@liwing.de +COMMENT= UML modeling environment written in Python + +BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/diacanvas/_canvasmodule.so:${PORTSDIR}/graphics/diacanvas2 +RUN_DEPENDS= ${BUILD_DEPENDS} + +USE_PYTHON= 2.2+ + +.if !defined(DISPLAY) +BUILD_DEPENDS+= Xvfb:${PORTSDIR}/x11-servers/XFree86-4-VirtualFramebufferServer +DISPLAYHACK= localhost:1001 +.endif + +do-configure: +.if exists(${WRKDIR}/.Xvfb.pid) + @-${CAT} ${WRKDIR}/.Xvfb.pid | ${XARGS} kill + @${RM} -f ${WRKDIR}/.Xvfb.pid +.endif +.if !defined(DISPLAY) + # + # This is a UGLY hack to not have to specify a X-Display. + # + ${X11BASE}/bin/Xvfb :1001 -screen 0 800x600x24 > /dev/null 2>&1 & ${ECHO} $$! > ${WRKDIR}/.Xvfb.pid + @sleep 5 + @cd ${WRKSRC}; ${ENV} DISPLAY=${DISPLAYHACK} ${PYTHON_CMD} setup.py config + @-${CAT} ${WRKDIR}/.Xvfb.pid | ${XARGS} kill + @${RM} -f ${WRKDIR}/.Xvfb.pid +.else + @cd ${WRKSRC}; ${PYTHON_CMD} setup.py config +.endif + +do-build: + @cd ${WRKSRC}; ${PYTHON_CMD} setup.py build; ${PYTHON_CMD} setup.py build_mo + +do-install: + @cd ${WRKSRC}; ${PYTHON_CMD} setup.py install --install-data=${PREFIX}/share/gaphor; ${PYTHON_CMD} setup.py install_mo + +.include <bsd.port.mk> diff --git a/devel/gaphor/distinfo b/devel/gaphor/distinfo new file mode 100644 index 00000000000..77afb6fd744 --- /dev/null +++ b/devel/gaphor/distinfo @@ -0,0 +1,2 @@ +MD5 (gnome2/gaphor-0.3.1.tar.gz) = e4bb1c929a822de961eb91c0ae6dedbb +SIZE (gnome2/gaphor-0.3.1.tar.gz) = 221360 diff --git a/devel/gaphor/pkg-descr b/devel/gaphor/pkg-descr new file mode 100644 index 00000000000..007b6893b93 --- /dev/null +++ b/devel/gaphor/pkg-descr @@ -0,0 +1,5 @@ +Gaphor is an easy to use modeling environment. This means that you are able + to create nice UML diagrams for documentation and to assist you with design + decisions. Gaphor will help you create your applications. + +WWW: http://gaphor.sourceforge.net/ diff --git a/devel/gaphor/pkg-plist b/devel/gaphor/pkg-plist new file mode 100644 index 00000000000..eb05b559e8e --- /dev/null +++ b/devel/gaphor/pkg-plist @@ -0,0 +1,144 @@ +bin/gaphor +%%PYTHON_SITELIBDIR%%/gaphor/UML/__init__.py +%%PYTHON_SITELIBDIR%%/gaphor/UML/__init__.pyc +%%PYTHON_SITELIBDIR%%/gaphor/UML/a.py +%%PYTHON_SITELIBDIR%%/gaphor/UML/a.pyc +%%PYTHON_SITELIBDIR%%/gaphor/UML/collection.py +%%PYTHON_SITELIBDIR%%/gaphor/UML/collection.pyc +%%PYTHON_SITELIBDIR%%/gaphor/UML/diagram.py +%%PYTHON_SITELIBDIR%%/gaphor/UML/diagram.pyc +%%PYTHON_SITELIBDIR%%/gaphor/UML/element.py +%%PYTHON_SITELIBDIR%%/gaphor/UML/element.pyc +%%PYTHON_SITELIBDIR%%/gaphor/UML/elementfactory.py +%%PYTHON_SITELIBDIR%%/gaphor/UML/elementfactory.pyc +%%PYTHON_SITELIBDIR%%/gaphor/UML/properties.py +%%PYTHON_SITELIBDIR%%/gaphor/UML/properties.pyc +%%PYTHON_SITELIBDIR%%/gaphor/UML/uml2.py +%%PYTHON_SITELIBDIR%%/gaphor/UML/uml2.pyc +%%PYTHON_SITELIBDIR%%/gaphor/UML/umllex.py +%%PYTHON_SITELIBDIR%%/gaphor/UML/umllex.pyc +%%PYTHON_SITELIBDIR%%/gaphor/__init__.py +%%PYTHON_SITELIBDIR%%/gaphor/__init__.pyc +%%PYTHON_SITELIBDIR%%/gaphor/diagram/__init__.py +%%PYTHON_SITELIBDIR%%/gaphor/diagram/__init__.pyc +%%PYTHON_SITELIBDIR%%/gaphor/diagram/actions.py +%%PYTHON_SITELIBDIR%%/gaphor/diagram/actions.pyc +%%PYTHON_SITELIBDIR%%/gaphor/diagram/actor.py +%%PYTHON_SITELIBDIR%%/gaphor/diagram/actor.pyc +%%PYTHON_SITELIBDIR%%/gaphor/diagram/association.py +%%PYTHON_SITELIBDIR%%/gaphor/diagram/association.pyc +%%PYTHON_SITELIBDIR%%/gaphor/diagram/attribute.py +%%PYTHON_SITELIBDIR%%/gaphor/diagram/attribute.pyc +%%PYTHON_SITELIBDIR%%/gaphor/diagram/classifier.py +%%PYTHON_SITELIBDIR%%/gaphor/diagram/classifier.pyc +%%PYTHON_SITELIBDIR%%/gaphor/diagram/comment.py +%%PYTHON_SITELIBDIR%%/gaphor/diagram/comment.pyc +%%PYTHON_SITELIBDIR%%/gaphor/diagram/commentline.py +%%PYTHON_SITELIBDIR%%/gaphor/diagram/commentline.pyc +%%PYTHON_SITELIBDIR%%/gaphor/diagram/dependency.py +%%PYTHON_SITELIBDIR%%/gaphor/diagram/dependency.pyc +%%PYTHON_SITELIBDIR%%/gaphor/diagram/diagramitem.py +%%PYTHON_SITELIBDIR%%/gaphor/diagram/diagramitem.pyc +%%PYTHON_SITELIBDIR%%/gaphor/diagram/diagramline.py +%%PYTHON_SITELIBDIR%%/gaphor/diagram/diagramline.pyc +%%PYTHON_SITELIBDIR%%/gaphor/diagram/feature.py +%%PYTHON_SITELIBDIR%%/gaphor/diagram/feature.pyc +%%PYTHON_SITELIBDIR%%/gaphor/diagram/generalization.py +%%PYTHON_SITELIBDIR%%/gaphor/diagram/generalization.pyc +%%PYTHON_SITELIBDIR%%/gaphor/diagram/itemactions.py +%%PYTHON_SITELIBDIR%%/gaphor/diagram/itemactions.pyc +%%PYTHON_SITELIBDIR%%/gaphor/diagram/klass.py +%%PYTHON_SITELIBDIR%%/gaphor/diagram/klass.pyc +%%PYTHON_SITELIBDIR%%/gaphor/diagram/modelelement.py +%%PYTHON_SITELIBDIR%%/gaphor/diagram/modelelement.pyc +%%PYTHON_SITELIBDIR%%/gaphor/diagram/operation.py +%%PYTHON_SITELIBDIR%%/gaphor/diagram/operation.pyc +%%PYTHON_SITELIBDIR%%/gaphor/diagram/package.py +%%PYTHON_SITELIBDIR%%/gaphor/diagram/package.pyc +%%PYTHON_SITELIBDIR%%/gaphor/diagram/placementtool.py +%%PYTHON_SITELIBDIR%%/gaphor/diagram/placementtool.pyc +%%PYTHON_SITELIBDIR%%/gaphor/diagram/relationship.py +%%PYTHON_SITELIBDIR%%/gaphor/diagram/relationship.pyc +%%PYTHON_SITELIBDIR%%/gaphor/diagram/text.py +%%PYTHON_SITELIBDIR%%/gaphor/diagram/text.pyc +%%PYTHON_SITELIBDIR%%/gaphor/diagram/usecase.py +%%PYTHON_SITELIBDIR%%/gaphor/diagram/usecase.pyc +%%PYTHON_SITELIBDIR%%/gaphor/i18n.py +%%PYTHON_SITELIBDIR%%/gaphor/i18n.pyc +%%PYTHON_SITELIBDIR%%/gaphor/misc/__init__.py +%%PYTHON_SITELIBDIR%%/gaphor/misc/__init__.pyc +%%PYTHON_SITELIBDIR%%/gaphor/misc/action.py +%%PYTHON_SITELIBDIR%%/gaphor/misc/action.pyc +%%PYTHON_SITELIBDIR%%/gaphor/misc/aspects.py +%%PYTHON_SITELIBDIR%%/gaphor/misc/aspects.pyc +%%PYTHON_SITELIBDIR%%/gaphor/misc/command.py +%%PYTHON_SITELIBDIR%%/gaphor/misc/command.pyc +%%PYTHON_SITELIBDIR%%/gaphor/misc/conf.py +%%PYTHON_SITELIBDIR%%/gaphor/misc/conf.pyc +%%PYTHON_SITELIBDIR%%/gaphor/misc/console.py +%%PYTHON_SITELIBDIR%%/gaphor/misc/console.pyc +%%PYTHON_SITELIBDIR%%/gaphor/misc/logger.py +%%PYTHON_SITELIBDIR%%/gaphor/misc/logger.pyc +%%PYTHON_SITELIBDIR%%/gaphor/misc/signal.py +%%PYTHON_SITELIBDIR%%/gaphor/misc/signal.pyc +%%PYTHON_SITELIBDIR%%/gaphor/misc/singleton.py +%%PYTHON_SITELIBDIR%%/gaphor/misc/singleton.pyc +%%PYTHON_SITELIBDIR%%/gaphor/misc/uniqueid.py +%%PYTHON_SITELIBDIR%%/gaphor/misc/uniqueid.pyc +%%PYTHON_SITELIBDIR%%/gaphor/misc/wrapbox.so +%%PYTHON_SITELIBDIR%%/gaphor/parser.py +%%PYTHON_SITELIBDIR%%/gaphor/parser.pyc +%%PYTHON_SITELIBDIR%%/gaphor/storage.py +%%PYTHON_SITELIBDIR%%/gaphor/storage.pyc +%%PYTHON_SITELIBDIR%%/gaphor/ui/__init__.py +%%PYTHON_SITELIBDIR%%/gaphor/ui/__init__.pyc +%%PYTHON_SITELIBDIR%%/gaphor/ui/abstractwindow.py +%%PYTHON_SITELIBDIR%%/gaphor/ui/abstractwindow.pyc +%%PYTHON_SITELIBDIR%%/gaphor/ui/consolewindow.py +%%PYTHON_SITELIBDIR%%/gaphor/ui/consolewindow.pyc +%%PYTHON_SITELIBDIR%%/gaphor/ui/diagramactions.py +%%PYTHON_SITELIBDIR%%/gaphor/ui/diagramactions.pyc +%%PYTHON_SITELIBDIR%%/gaphor/ui/diagramtab.py +%%PYTHON_SITELIBDIR%%/gaphor/ui/diagramtab.pyc +%%PYTHON_SITELIBDIR%%/gaphor/ui/diagramview.py +%%PYTHON_SITELIBDIR%%/gaphor/ui/diagramview.pyc +%%PYTHON_SITELIBDIR%%/gaphor/ui/diagramwindow.py +%%PYTHON_SITELIBDIR%%/gaphor/ui/diagramwindow.pyc +%%PYTHON_SITELIBDIR%%/gaphor/ui/editoractions.py +%%PYTHON_SITELIBDIR%%/gaphor/ui/editoractions.pyc +%%PYTHON_SITELIBDIR%%/gaphor/ui/editorwindow.py +%%PYTHON_SITELIBDIR%%/gaphor/ui/editorwindow.pyc +%%PYTHON_SITELIBDIR%%/gaphor/ui/mainactions.py +%%PYTHON_SITELIBDIR%%/gaphor/ui/mainactions.pyc +%%PYTHON_SITELIBDIR%%/gaphor/ui/mainwindow.py +%%PYTHON_SITELIBDIR%%/gaphor/ui/mainwindow.pyc +%%PYTHON_SITELIBDIR%%/gaphor/ui/menufactory.py +%%PYTHON_SITELIBDIR%%/gaphor/ui/menufactory.pyc +%%PYTHON_SITELIBDIR%%/gaphor/ui/namespace.py +%%PYTHON_SITELIBDIR%%/gaphor/ui/namespace.pyc +%%PYTHON_SITELIBDIR%%/gaphor/ui/stock.py +%%PYTHON_SITELIBDIR%%/gaphor/ui/stock.pyc +%%PYTHON_SITELIBDIR%%/gaphor/version.py +%%PYTHON_SITELIBDIR%%/gaphor/version.pyc +%%DATADIR%%/pixmaps/actor24.png +%%DATADIR%%/pixmaps/association24.png +%%DATADIR%%/pixmaps/class24.png +%%DATADIR%%/pixmaps/comment24.png +%%DATADIR%%/pixmaps/commentline24.png +%%DATADIR%%/pixmaps/dependency24.png +%%DATADIR%%/pixmaps/diagram16.png +%%DATADIR%%/pixmaps/diagram24.png +%%DATADIR%%/pixmaps/extend24.png +%%DATADIR%%/pixmaps/generalization24.png +%%DATADIR%%/pixmaps/include24.png +%%DATADIR%%/pixmaps/package24.png +%%DATADIR%%/pixmaps/pointer24.png +%%DATADIR%%/pixmaps/ucassociation24.png +%%DATADIR%%/pixmaps/usecase24.png +@dirrm %%DATADIR%%/pixmaps +@dirrm %%DATADIR%% +@dirrm %%PYTHON_SITELIBDIR%%/gaphor/ui +@dirrm %%PYTHON_SITELIBDIR%%/gaphor/misc +@dirrm %%PYTHON_SITELIBDIR%%/gaphor/diagram +@dirrm %%PYTHON_SITELIBDIR%%/gaphor/UML +@dirrm %%PYTHON_SITELIBDIR%%/gaphor |