diff options
author | tota <tota@FreeBSD.org> | 2011-08-07 13:58:44 +0800 |
---|---|---|
committer | tota <tota@FreeBSD.org> | 2011-08-07 13:58:44 +0800 |
commit | d50e4bbe36977ef7e79a407ed7b6c0f9c34275b7 (patch) | |
tree | 5ff98a059013638e3743193fdeb016f9168dc388 | |
parent | 72d557b5e006bf62807ecdf6f59269f1142f8183 (diff) | |
download | freebsd-ports-gnome-d50e4bbe36977ef7e79a407ed7b6c0f9c34275b7.tar.gz freebsd-ports-gnome-d50e4bbe36977ef7e79a407ed7b6c0f9c34275b7.tar.zst freebsd-ports-gnome-d50e4bbe36977ef7e79a407ed7b6c0f9c34275b7.zip |
- Add a new port: graphics/py-seqdiag
`seqdiag` generate sequence-diagram image file from spec-text file.
Features
* Generate sequence-diagram from dot like text (basic feature).
* Multilingualization for node-label (utf-8 only).
WWW: http://blockdiag.com/seqdiag/build/html/
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/py-seqdiag/Makefile | 54 | ||||
-rw-r--r-- | graphics/py-seqdiag/distinfo | 2 | ||||
-rw-r--r-- | graphics/py-seqdiag/pkg-descr | 7 | ||||
-rw-r--r-- | graphics/py-seqdiag/pkg-plist | 42 |
5 files changed, 106 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index b184fe39330c..aade8d2dd29a 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -791,6 +791,7 @@ SUBDIR += py-pyproj SUBDIR += py-qt4-svg SUBDIR += py-rabbyt + SUBDIR += py-seqdiag SUBDIR += py-sorl-thumbnail SUBDIR += py-soya3d SUBDIR += py-visual diff --git a/graphics/py-seqdiag/Makefile b/graphics/py-seqdiag/Makefile new file mode 100644 index 000000000000..a9513c5863d1 --- /dev/null +++ b/graphics/py-seqdiag/Makefile @@ -0,0 +1,54 @@ +# New ports collection makefile for: py-seqdiag +# Date created: 2011-08-07 +# Whom: TAKATSU Tomonari <tota@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= seqdiag +PORTVERSION= 0.3.8 +CATEGORIES= graphics python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= tota@FreeBSD.org +COMMENT= A simple sequence-diagram image generator + +LICENSE= ASL +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PKGNAMEPREFIX}imaging>=1.1.5:${PORTSDIR}/graphics/py-imaging \ + ${PKGNAMEPREFIX}blockdiag>=0.8.1:${PORTSDIR}/graphics/py-blockdiag \ + ${PKGNAMEPREFIX}funcparserlib>=0.3.4:${PORTSDIR}/devel/py-funcparserlib + +USE_PYTHON= yes +USE_PYDISTUTILS= easy_install + +DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME} +EXAMPLESDIR= ${PREFIX}/share/examples/${UNIQUENAME} + +PORTDOCS= README.txt +PORTEXAMPLES= * + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${INSTALL_WRKSRC}/src/${PORTDOCS} ${DOCSDIR} +.endif +.if !defined(NOPORTEXAMPLES) + @${MKDIR} ${EXAMPLESDIR} + @${INSTALL_DATA} ${INSTALL_WRKSRC}/examples/${PORTEXAMPLES} ${EXAMPLESDIR} +.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-seqdiag/distinfo b/graphics/py-seqdiag/distinfo new file mode 100644 index 000000000000..f2cb8d083c45 --- /dev/null +++ b/graphics/py-seqdiag/distinfo @@ -0,0 +1,2 @@ +SHA256 (seqdiag-0.3.8.tar.gz) = 6c4a5b236b443246bb3065fb9606f9ea11b9dafee48b337f7419370fed715575 +SIZE (seqdiag-0.3.8.tar.gz) = 23343 diff --git a/graphics/py-seqdiag/pkg-descr b/graphics/py-seqdiag/pkg-descr new file mode 100644 index 000000000000..466522361314 --- /dev/null +++ b/graphics/py-seqdiag/pkg-descr @@ -0,0 +1,7 @@ +`seqdiag` generate sequence-diagram image file from spec-text file. + +Features + * Generate sequence-diagram from dot like text (basic feature). + * Multilingualization for node-label (utf-8 only). + +WWW: http://blockdiag.com/seqdiag/build/html/ diff --git a/graphics/py-seqdiag/pkg-plist b/graphics/py-seqdiag/pkg-plist new file mode 100644 index 000000000000..87e4fa4983b6 --- /dev/null +++ b/graphics/py-seqdiag/pkg-plist @@ -0,0 +1,42 @@ +bin/seqdiag +%%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%%/seqdiag/DiagramDraw.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag/DiagramDraw.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag/DiagramDraw.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag/DiagramMetrix.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag/DiagramMetrix.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag/DiagramMetrix.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag/builder.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag/builder.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag/builder.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag/command.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag/command.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag/command.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag/diagparser.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag/diagparser.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag/diagparser.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag/elements.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag/elements.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag/elements.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag/tests/test_pep8.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag/tests/test_pep8.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag/tests/test_pep8.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag_sphinxhelper.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag_sphinxhelper.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag_sphinxhelper.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sphinxcontrib_seqdiag.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sphinxcontrib_seqdiag.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sphinxcontrib_seqdiag.pyo +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag/tests +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/seqdiag +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% |