diff options
author | prlw1 <prlw1@pkgsrc.org> | 2021-05-04 14:05:43 +0000 |
---|---|---|
committer | prlw1 <prlw1@pkgsrc.org> | 2021-05-04 14:05:43 +0000 |
commit | dcb778a1aa84e604921bc95fdf843a9e55f9635b (patch) | |
tree | 20a3be9c977f0943560824c460658735ff0424fc | |
parent | 04e7479becce6598b7192407970418b042be7c4f (diff) | |
download | pkgsrc-dcb778a1aa84e604921bc95fdf843a9e55f9635b.tar.gz |
Add gl2ps 1.4.2
Based on thor@'s wip/gl2ps
GL2PS is a C library providing high quality vector output for any
OpenGL application. The main difference between GL2PS and other
similar libraries (see section 7) is the use of sorting algorithms
capable of handling intersecting and stretched polygons, as well
as non manifold objects. GL2PS provides advanced smooth shading and
text rendering, culling of invisible primitives, mixed vector/bitmap
output, and much more... GL2PS can currently create PostScript (PS),
Encapsulated PostScript (EPS), Portable Document Format (PDF) and
Scalable Vector Graphics (SVG) files, as well as L^AT[E]X files for the
text fragments. GL2PS also provides limited, experimental support for
Portable LaTeX Graphics (PGF). Adding new vector output formats should
be relatively easy; you can also use the excellent pstoedit program to
transform the PostScript files generated by GL2PS into many other vector
formats such as xfig, cgm, wmf, etc.
-rw-r--r-- | graphics/Makefile | 3 | ||||
-rw-r--r-- | graphics/gl2ps/DESCR | 14 | ||||
-rw-r--r-- | graphics/gl2ps/Makefile | 22 | ||||
-rw-r--r-- | graphics/gl2ps/PLIST | 12 | ||||
-rw-r--r-- | graphics/gl2ps/buildlink3.mk | 18 | ||||
-rw-r--r-- | graphics/gl2ps/distinfo | 6 |
6 files changed, 74 insertions, 1 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index f6e0f78dc20..2f7272abda7 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.929 2021/05/03 06:25:11 thor Exp $ +# $NetBSD: Makefile,v 1.930 2021/05/04 14:05:43 prlw1 Exp $ # COMMENT= Graphics tools and libraries @@ -193,6 +193,7 @@ SUBDIR+= gimp-warp-sharp SUBDIR+= gimp2-wideangle SUBDIR+= giram SUBDIR+= girara +SUBDIR+= gl2ps SUBDIR+= gle SUBDIR+= glew SUBDIR+= glfw diff --git a/graphics/gl2ps/DESCR b/graphics/gl2ps/DESCR new file mode 100644 index 00000000000..d354bcf9203 --- /dev/null +++ b/graphics/gl2ps/DESCR @@ -0,0 +1,14 @@ +GL2PS is a C library providing high quality vector output for any +OpenGL application. The main difference between GL2PS and other +similar libraries (see section 7) is the use of sorting algorithms +capable of handling intersecting and stretched polygons, as well +as non manifold objects. GL2PS provides advanced smooth shading and +text rendering, culling of invisible primitives, mixed vector/bitmap +output, and much more... GL2PS can currently create PostScript (PS), +Encapsulated PostScript (EPS), Portable Document Format (PDF) and +Scalable Vector Graphics (SVG) files, as well as L^AT[E]X files for the +text fragments. GL2PS also provides limited, experimental support for +Portable LaTeX Graphics (PGF). Adding new vector output formats should +be relatively easy; you can also use the excellent pstoedit program to +transform the PostScript files generated by GL2PS into many other vector +formats such as xfig, cgm, wmf, etc. diff --git a/graphics/gl2ps/Makefile b/graphics/gl2ps/Makefile new file mode 100644 index 00000000000..3ed0c221513 --- /dev/null +++ b/graphics/gl2ps/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1 2021/05/04 14:05:44 prlw1 Exp $ + +DISTNAME= gl2ps-1.4.2 +CATEGORIES= graphics +MASTER_SITES= https://geuz.org/gl2ps/src/ +EXTRACT_SUFX= .tgz + +MAINTAINER= thomas.orgis@uni-hamburg.de +HOMEPAGE= https://geuz.org/gl2ps/ +COMMENT= OpenGL to PostScript printing library +LICENSE= gnu-lgpl-v2 + +USE_CMAKE= yes + +DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin + +.include "../../graphics/MesaLib/buildlink3.mk" +.include "../../graphics/freeglut/buildlink3.mk" +.include "../../graphics/png/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/gl2ps/PLIST b/graphics/gl2ps/PLIST new file mode 100644 index 00000000000..6b584beb25e --- /dev/null +++ b/graphics/gl2ps/PLIST @@ -0,0 +1,12 @@ +@comment $NetBSD: PLIST,v 1.1 2021/05/04 14:05:44 prlw1 Exp $ +include/gl2ps.h +lib/libgl2ps.a +lib/libgl2ps.so +lib/libgl2ps.so.1 +lib/libgl2ps.so.${PKGVERSION} +share/doc/gl2ps/COPYING.GL2PS +share/doc/gl2ps/COPYING.LGPL +share/doc/gl2ps/README.txt +share/doc/gl2ps/gl2ps.pdf +share/doc/gl2ps/gl2psTest.c +share/doc/gl2ps/gl2psTestSimple.c diff --git a/graphics/gl2ps/buildlink3.mk b/graphics/gl2ps/buildlink3.mk new file mode 100644 index 00000000000..d38c40b8437 --- /dev/null +++ b/graphics/gl2ps/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1 2021/05/04 14:05:44 prlw1 Exp $ + +BUILDLINK_TREE+= gl2ps + +.if !defined(GL2PS_BUILDLINK3_MK) +GL2PS_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.gl2ps+= gl2ps>=1.4.2 +BUILDLINK_PKGSRCDIR.gl2ps?= ../../graphics/gl2ps + +.include "../../graphics/MesaLib/buildlink3.mk" +.include "../../graphics/freeglut/buildlink3.mk" +.include "../../graphics/png/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" + +.endif # GL2PS_BUILDLINK3_MK + +BUILDLINK_TREE+= -gl2ps diff --git a/graphics/gl2ps/distinfo b/graphics/gl2ps/distinfo new file mode 100644 index 00000000000..69a7087c965 --- /dev/null +++ b/graphics/gl2ps/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2021/05/04 14:05:44 prlw1 Exp $ + +SHA1 (gl2ps-1.4.2.tgz) = ee1eb8972e9d07bbe325552e4ec15d6828e8197c +RMD160 (gl2ps-1.4.2.tgz) = 8f680025808a65c217c8dad3be3a524e6c0c337c +SHA512 (gl2ps-1.4.2.tgz) = 46652e1b3825ace61dbd77c4b0bf451e7671c248eb18bbd3369e2fac00056ea4cd5d2578561984313c239e3b02f78b9d9a76d963c935af65a13bc2abfc538620 +Size (gl2ps-1.4.2.tgz) = 301134 bytes |