diff options
author | tota <tota@FreeBSD.org> | 2011-08-07 17:46:45 +0800 |
---|---|---|
committer | tota <tota@FreeBSD.org> | 2011-08-07 17:46:45 +0800 |
commit | 1c3b72eeab8262337abb7497313f120c6099c6d0 (patch) | |
tree | f43000a6ffbb0ead9f5610ef390132d18beda048 /graphics | |
parent | 97e92e5fc8591ab810e0490102e297083b46ba61 (diff) | |
download | freebsd-ports-gnome-1c3b72eeab8262337abb7497313f120c6099c6d0.tar.gz freebsd-ports-gnome-1c3b72eeab8262337abb7497313f120c6099c6d0.tar.zst freebsd-ports-gnome-1c3b72eeab8262337abb7497313f120c6099c6d0.zip |
- Add a new port: graphics/py-actdiag
`actdiag` generate activity-diagram image file from spec-text file.
Features
* Generate activity-diagram from dot like text (basic feature).
* Multilingualization for node-label (utf-8 only).
WWW: http://blockdiag.com/actdiag/build/html/
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/py-actdiag/Makefile | 45 | ||||
-rw-r--r-- | graphics/py-actdiag/distinfo | 2 | ||||
-rw-r--r-- | graphics/py-actdiag/pkg-descr | 7 | ||||
-rw-r--r-- | graphics/py-actdiag/pkg-plist | 42 |
5 files changed, 97 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 142a080226e3..1659aa938d16 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -756,6 +756,7 @@ SUBDIR += pvmpov SUBDIR += py-PyX SUBDIR += py-aafigure + SUBDIR += py-actdiag SUBDIR += py-amanith SUBDIR += py-blockdiag SUBDIR += py-cairo diff --git a/graphics/py-actdiag/Makefile b/graphics/py-actdiag/Makefile new file mode 100644 index 000000000000..9ac30195ca24 --- /dev/null +++ b/graphics/py-actdiag/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: py-actdiag +# Date created: 2011-08-07 +# Whom: TAKATSU Tomonari <tota@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= actdiag +PORTVERSION= 0.1.7 +CATEGORIES= graphics python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= tota@FreeBSD.org +COMMENT= A simple activity-diagram image generator + +LICENSE= ASL +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PKGNAMEPREFIX}blockdiag>=0.8.1:${PORTSDIR}/graphics/py-blockdiag + +USE_PYTHON= yes +USE_PYDISTUTILS= easy_install + +DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME} +PORTDOCS= README.txt + +.if !defined(NOPORTDOCS) +post-install: + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${INSTALL_WRKSRC}/src/${PORTDOCS} ${DOCSDIR} +.endif + +x-generate-plist: + ${ECHO} bin/${PORTNAME} > pkg-plist.new + ${FIND} ${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG} -type f | ${SORT} | \ + ${SED} -e 's,${PYTHON_SITELIBDIR},%%PYTHON_SITELIBDIR%%,' \ + -e 's,${PYEASYINSTALL_EGG},%%PYEASYINSTALL_EGG%%,' \ + >> pkg-plist.new + ${FIND} ${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG} -type d -depth | ${SORT} -r | \ + ${SED} -e 's,${PYTHON_SITELIBDIR},@dirrm %%PYTHON_SITELIBDIR%%,' \ + -e 's,${PYEASYINSTALL_EGG},%%PYEASYINSTALL_EGG%%,' \ + >> pkg-plist.new + +.include <bsd.port.mk> diff --git a/graphics/py-actdiag/distinfo b/graphics/py-actdiag/distinfo new file mode 100644 index 000000000000..27ed1be1db80 --- /dev/null +++ b/graphics/py-actdiag/distinfo @@ -0,0 +1,2 @@ +SHA256 (actdiag-0.1.7.tar.gz) = 80fd39d1ee3704162eb27e6373447030687951002e9c1b1917642d78028b97af +SIZE (actdiag-0.1.7.tar.gz) = 21092 diff --git a/graphics/py-actdiag/pkg-descr b/graphics/py-actdiag/pkg-descr new file mode 100644 index 000000000000..4de01c2c8dda --- /dev/null +++ b/graphics/py-actdiag/pkg-descr @@ -0,0 +1,7 @@ +`actdiag` generate activity-diagram image file from spec-text file. + +Features + * Generate activity-diagram from dot like text (basic feature). + * Multilingualization for node-label (utf-8 only). + +WWW: http://blockdiag.com/actdiag/build/html/ diff --git a/graphics/py-actdiag/pkg-plist b/graphics/py-actdiag/pkg-plist new file mode 100644 index 000000000000..d8ab731923b6 --- /dev/null +++ b/graphics/py-actdiag/pkg-plist @@ -0,0 +1,42 @@ +bin/actdiag +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/entry_points.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag/DiagramDraw.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag/DiagramDraw.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag/DiagramDraw.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag/DiagramMetrix.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag/DiagramMetrix.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag/DiagramMetrix.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag/builder.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag/builder.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag/builder.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag/command.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag/command.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag/command.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag/diagparser.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag/diagparser.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag/diagparser.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag/elements.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag/elements.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag/elements.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag/tests/test_pep8.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag/tests/test_pep8.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag/tests/test_pep8.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag_sphinxhelper.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag_sphinxhelper.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag_sphinxhelper.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sphinxcontrib_actdiag.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sphinxcontrib_actdiag.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sphinxcontrib_actdiag.pyo +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag/tests +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/actdiag +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% |