aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/py-PyX/Makefile4
-rw-r--r--graphics/py-PyX/distinfo4
-rw-r--r--graphics/py-PyX12/Makefile40
-rw-r--r--graphics/py-PyX12/distinfo2
-rw-r--r--graphics/py-PyX12/pkg-descr17
6 files changed, 64 insertions, 4 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 80c0000af2f3..6a169f8756fb 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -815,6 +815,7 @@
SUBDIR += pure-gl
SUBDIR += pvmpov
SUBDIR += py-PyX
+ SUBDIR += py-PyX12
SUBDIR += py-aafigure
SUBDIR += py-actdiag
SUBDIR += py-blockdiag
diff --git a/graphics/py-PyX/Makefile b/graphics/py-PyX/Makefile
index d7aa062852a5..cd4403cd31af 100644
--- a/graphics/py-PyX/Makefile
+++ b/graphics/py-PyX/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= PyX
-PORTVERSION= 0.12.1
+PORTVERSION= 0.13.0
CATEGORIES= graphics python
MASTER_SITES= SF
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +12,7 @@ COMMENT= Python package for creating encapsulated PostScript figures
LICENSE= GPLv2
-USE_PYTHON= yes
+USE_PYTHON= 3
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USE_TEX= latex:build
diff --git a/graphics/py-PyX/distinfo b/graphics/py-PyX/distinfo
index ce1ed51fb4ac..c6f07be1e047 100644
--- a/graphics/py-PyX/distinfo
+++ b/graphics/py-PyX/distinfo
@@ -1,2 +1,2 @@
-SHA256 (PyX-0.12.1.tar.gz) = e837b26a8b1c27524cf3f3dd6c0d563451249159edaa2e366d87e7143a867e8e
-SIZE (PyX-0.12.1.tar.gz) = 561989
+SHA256 (PyX-0.13.tar.gz) = 1952962c965000d8e04a00d1b85c600cdef4588cea88c9face2adbedf21d42c6
+SIZE (PyX-0.13.tar.gz) = 1237082
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/