diff options
author | tota <tota@FreeBSD.org> | 2010-08-08 00:07:21 +0800 |
---|---|---|
committer | tota <tota@FreeBSD.org> | 2010-08-08 00:07:21 +0800 |
commit | 31848cd49fc1bbbc3e39ec776e0bad3dbd46afe0 (patch) | |
tree | 4b131e2a5e3a4ccebbadc12f28e9b537f57be5e8 /graphics | |
parent | 57785421e6972622c8e1c43cb70b7a014e11092d (diff) | |
download | freebsd-ports-gnome-31848cd49fc1bbbc3e39ec776e0bad3dbd46afe0.tar.gz freebsd-ports-gnome-31848cd49fc1bbbc3e39ec776e0bad3dbd46afe0.tar.zst freebsd-ports-gnome-31848cd49fc1bbbc3e39ec776e0bad3dbd46afe0.zip |
- Add a new port: graphics/py-aafigure
aafigure is an ASCII art to image converter.
ASCII art figures can be parsed and output as SVG, PNG, JPEG, PDF and more.
This project provides a Python package, a command line script as well as
Docutils and MoinMoin plugins.
WWW: https://launchpad.net/aafigure/
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/py-aafigure/Makefile | 39 | ||||
-rw-r--r-- | graphics/py-aafigure/distinfo | 3 | ||||
-rw-r--r-- | graphics/py-aafigure/pkg-descr | 7 | ||||
-rw-r--r-- | graphics/py-aafigure/pkg-plist | 29 |
5 files changed, 79 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 886fa8db8055..991297286845 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -748,6 +748,7 @@ SUBDIR += pstoepsi SUBDIR += pvmpov SUBDIR += py-PyX + SUBDIR += py-aafigure SUBDIR += py-amanith SUBDIR += py-cairo SUBDIR += py-cgkit diff --git a/graphics/py-aafigure/Makefile b/graphics/py-aafigure/Makefile new file mode 100644 index 000000000000..48460b243837 --- /dev/null +++ b/graphics/py-aafigure/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: py-aafigure +# Date created: 2010-08-07 +# Whom: TAKATSU Tomonari <tota@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= aafigure +PORTVERSION= 0.5 +CATEGORIES= graphics python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= tota@FreeBSD.org +COMMENT= An ASCII art to image converter written in Python + +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging \ + ${PYTHON_SITELIBDIR}/reportlab/__init__.py:${PORTSDIR}/print/py-reportlab2 + +USE_PYTHON= yes +USE_PYDISTUTILS= yes + +DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} +EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} + +PORTDOCS= README.txt +PORTEXAMPLES= * + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} +.endif +.if !defined(NOPORTEXAMPLES) + ${MKDIR} ${EXAMPLESDIR} + cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR} +.endif + +.include <bsd.port.mk> diff --git a/graphics/py-aafigure/distinfo b/graphics/py-aafigure/distinfo new file mode 100644 index 000000000000..1e04aa3e2a16 --- /dev/null +++ b/graphics/py-aafigure/distinfo @@ -0,0 +1,3 @@ +MD5 (aafigure-0.5.tar.gz) = 5322888a21eb0bb2e749fbf98eddf574 +SHA256 (aafigure-0.5.tar.gz) = 090c88beb091d28a233f854e239713aa15d8d1906ea16211855345c912e8a091 +SIZE (aafigure-0.5.tar.gz) = 49280 diff --git a/graphics/py-aafigure/pkg-descr b/graphics/py-aafigure/pkg-descr new file mode 100644 index 000000000000..e3f85621b56c --- /dev/null +++ b/graphics/py-aafigure/pkg-descr @@ -0,0 +1,7 @@ +aafigure is an ASCII art to image converter. + +ASCII art figures can be parsed and output as SVG, PNG, JPEG, PDF and more. +This project provides a Python package, a command line script as well as +Docutils and MoinMoin plugins. + +WWW: https://launchpad.net/aafigure/ diff --git a/graphics/py-aafigure/pkg-plist b/graphics/py-aafigure/pkg-plist new file mode 100644 index 000000000000..f52596b5d297 --- /dev/null +++ b/graphics/py-aafigure/pkg-plist @@ -0,0 +1,29 @@ +bin/aafigure +%%PYTHON_SITELIBDIR%%/aafigure/PILhelper.py +%%PYTHON_SITELIBDIR%%/aafigure/PILhelper.pyc +%%PYTHON_SITELIBDIR%%/aafigure/PILhelper.pyo +%%PYTHON_SITELIBDIR%%/aafigure/__init__.py +%%PYTHON_SITELIBDIR%%/aafigure/__init__.pyc +%%PYTHON_SITELIBDIR%%/aafigure/__init__.pyo +%%PYTHON_SITELIBDIR%%/aafigure/aa.py +%%PYTHON_SITELIBDIR%%/aafigure/aa.pyc +%%PYTHON_SITELIBDIR%%/aafigure/aa.pyo +%%PYTHON_SITELIBDIR%%/aafigure/aafigure.py +%%PYTHON_SITELIBDIR%%/aafigure/aafigure.pyc +%%PYTHON_SITELIBDIR%%/aafigure/aafigure.pyo +%%PYTHON_SITELIBDIR%%/aafigure/error.py +%%PYTHON_SITELIBDIR%%/aafigure/error.pyc +%%PYTHON_SITELIBDIR%%/aafigure/error.pyo +%%PYTHON_SITELIBDIR%%/aafigure/pdf.py +%%PYTHON_SITELIBDIR%%/aafigure/pdf.pyc +%%PYTHON_SITELIBDIR%%/aafigure/pdf.pyo +%%PYTHON_SITELIBDIR%%/aafigure/pil.py +%%PYTHON_SITELIBDIR%%/aafigure/pil.pyc +%%PYTHON_SITELIBDIR%%/aafigure/pil.pyo +%%PYTHON_SITELIBDIR%%/aafigure/shapes.py +%%PYTHON_SITELIBDIR%%/aafigure/shapes.pyc +%%PYTHON_SITELIBDIR%%/aafigure/shapes.pyo +%%PYTHON_SITELIBDIR%%/aafigure/svg.py +%%PYTHON_SITELIBDIR%%/aafigure/svg.pyc +%%PYTHON_SITELIBDIR%%/aafigure/svg.pyo +@dirrm %%PYTHON_SITELIBDIR%%/aafigure |