diff options
author | Marcus von Appen <mva@FreeBSD.org> | 2014-06-13 16:54:00 +0000 |
---|---|---|
committer | Marcus von Appen <mva@FreeBSD.org> | 2014-06-13 16:54:00 +0000 |
commit | 8d0555fa5249f78e20c01d2a859b83b2ef55b65a (patch) | |
tree | 83ad22da4809c71f7eaf68d46af3835d4dc2f720 /graphics/py-PyX12 | |
parent | e9d1a5ffdd36993c601fc58da4df998f3737882c (diff) | |
download | ports-8d0555fa5249f78e20c01d2a859b83b2ef55b65a.tar.gz ports-8d0555fa5249f78e20c01d2a859b83b2ef55b65a.zip |
Notes
Diffstat (limited to 'graphics/py-PyX12')
-rw-r--r-- | graphics/py-PyX12/Makefile | 40 | ||||
-rw-r--r-- | graphics/py-PyX12/distinfo | 2 | ||||
-rw-r--r-- | graphics/py-PyX12/pkg-descr | 17 |
3 files changed, 59 insertions, 0 deletions
diff --git a/graphics/py-PyX12/Makefile b/graphics/py-PyX12/Makefile new file mode 100644 index 000000000000..65a607279f13 --- /dev/null +++ b/graphics/py-PyX12/Makefile @@ -0,0 +1,40 @@ +# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= PyX +PORTVERSION= 0.12.1 +CATEGORIES= graphics python +MASTER_SITES= SF +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= 12 + +MAINTAINER= mva@FreeBSD.org +COMMENT= Python package for creating encapsulated PostScript figures + +LICENSE= GPLv2 + +USE_PYTHON= 2 +USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes +USE_TEX= latex:build + +OPTIONS_DEFINE= T1CODE KPATHSEA +OPTIONS_DEFAULT= T1CODE KPATHSEA +T1CODE_DESC= Fast t1 font encoding/decoding +KPATHSEA_DESC= Python wrapper around kpathsea + +T1CODE_CFLAGS= -I${LOCALBASE}/include +KPATHSEA_CFLAGS= -I${LOCALBASE}/include +KPATHSEA_LDFLAGS= -L${LOCALBASE}/lib + +.include <bsd.port.options.mk> + +post-patch: +.if ${PORT_OPTIONS:MT1CODE} + @${REINPLACE_CMD} -e 's|build_t1code=0|build_t1code=1|' ${WRKSRC}/setup.cfg +.endif +.if ${PORT_OPTIONS:MKPATHSEA} + @${REINPLACE_CMD} -e 's|build_pykpathsea=0|build_pykpathsea=1|' ${WRKSRC}/setup.cfg +.endif + +.include <bsd.port.mk> diff --git a/graphics/py-PyX12/distinfo b/graphics/py-PyX12/distinfo new file mode 100644 index 000000000000..ce1ed51fb4ac --- /dev/null +++ b/graphics/py-PyX12/distinfo @@ -0,0 +1,2 @@ +SHA256 (PyX-0.12.1.tar.gz) = e837b26a8b1c27524cf3f3dd6c0d563451249159edaa2e366d87e7143a867e8e +SIZE (PyX-0.12.1.tar.gz) = 561989 diff --git a/graphics/py-PyX12/pkg-descr b/graphics/py-PyX12/pkg-descr new file mode 100644 index 000000000000..ed0d80b6f720 --- /dev/null +++ b/graphics/py-PyX12/pkg-descr @@ -0,0 +1,17 @@ +PyX is a Python package for the creation of encapsulated PostScript figures. +It provides both an abstraction of PostScript and a TeX/LaTeX interface. +Complex tasks like 2d and 3d plots in publication-ready quality are built out +of these primitives. + +Features + * PostScript output for device independent, free scalable figures + * seamless TeX/LaTeX integration + * full access to PostScript features like paths, linestyles, fill patterns, + transformations, clipping, etc. + * advanced geometric operations on paths like intersections, transformations, + splitting, etc. + * sophisticated graph generation: modular design, pluggable axes, axes + partitioning based on rational number arithmetics, flexible graph styles, + etc. + +WWW: http://pyx.sourceforge.net/ |