diff options
-rw-r--r-- | graphics/ps2eps/DESCR | 7 | ||||
-rw-r--r-- | graphics/ps2eps/Makefile | 28 | ||||
-rw-r--r-- | graphics/ps2eps/PLIST | 5 | ||||
-rw-r--r-- | graphics/ps2eps/distinfo | 6 | ||||
-rw-r--r-- | graphics/ps2eps/patches/patch-aa | 12 |
5 files changed, 58 insertions, 0 deletions
diff --git a/graphics/ps2eps/DESCR b/graphics/ps2eps/DESCR new file mode 100644 index 00000000000..e458f763106 --- /dev/null +++ b/graphics/ps2eps/DESCR @@ -0,0 +1,7 @@ +ps2eps is a tool (written in Perl) to produce Encapsulated PostScript +Files (EPS/EPSF) from usual one-paged Postscript documents. It +calculates correct Bounding Boxes for those EPS files and filters some +special postscript command sequences that can produce erroneous +results on printers. EPS files are often needed for including +(scalable) graphics of high quality into TeX/LaTeX (or even Word) +documents. diff --git a/graphics/ps2eps/Makefile b/graphics/ps2eps/Makefile new file mode 100644 index 00000000000..be6cb90223d --- /dev/null +++ b/graphics/ps2eps/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/04/08 22:55:40 minskim Exp $ + +DISTNAME= ps2eps-1.58 +CATEGORIES= graphics +MASTER_SITES= http://www.tm.uka.de/~bless/ +EXTRACT_SUFX= .zip + +MAINTAINER= minskim@NetBSD.org +HOMEPAGE= http://www.tm.uka.de/~bless/ps2eps +COMMENT= Tool for generating EPS Format files from one-page PS documents + +USE_TOOLS+= perl:run +WRKSRC= ${WRKDIR}/ps2eps + +REPLACE_PERL+= bin/ps2eps + +INSTALLATION_DIRS+= bin man/man1 + +do-build: + cd ${WRKSRC:Q}/src/C && ${CC} ${CFLAGS} -o bbox bbox.c + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC:Q}/src/C/bbox ${PREFIX:Q}/bin + ${INSTALL_SCRIPT} ${WRKSRC:Q}/bin/ps2eps ${PREFIX:Q}/bin + ${INSTALL_MAN} ${WRKSRC:Q}/doc/man/man1/*.1 \ + ${PREFIX:Q}/${PKGMANDIR:Q}/man1 + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/ps2eps/PLIST b/graphics/ps2eps/PLIST new file mode 100644 index 00000000000..55a4ad17cf3 --- /dev/null +++ b/graphics/ps2eps/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/04/08 22:55:40 minskim Exp $ +bin/bbox +bin/ps2eps +man/man1/bbox.1 +man/man1/ps2eps.1 diff --git a/graphics/ps2eps/distinfo b/graphics/ps2eps/distinfo new file mode 100644 index 00000000000..bf02da79157 --- /dev/null +++ b/graphics/ps2eps/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/04/08 22:55:40 minskim Exp $ + +SHA1 (ps2eps-1.58.zip) = ebe396ee783e1ff1464a372e0c3d70a6524fe12d +RMD160 (ps2eps-1.58.zip) = c2262b34c09e7190245b13cd51f35b912a3538f9 +Size (ps2eps-1.58.zip) = 115600 bytes +SHA1 (patch-aa) = b411e4aff2d932b85c36ea30ed16eedcc6b8e20d diff --git a/graphics/ps2eps/patches/patch-aa b/graphics/ps2eps/patches/patch-aa new file mode 100644 index 00000000000..0b8e23de880 --- /dev/null +++ b/graphics/ps2eps/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2006/04/08 22:55:40 minskim Exp $ + +--- bin/ps2eps.orig 2005-01-24 06:42:19.000000000 -0800 ++++ bin/ps2eps +@@ -1,6 +1,3 @@ +-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S $0 $argv:q' # -*-perl-*- +- if 0; +-# The expression in the previous line replaces the unix specific line +-# {#!/usr/bin/perl}. ++#!/usr/bin/perl + # ps2eps - convert PostScript to EPS (Encapsulated PostScript) files + # ------------------------------------------------------------------- |