pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/ps2eps Import ps2eps.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7ee20e4bd18f
branches:  trunk
changeset: 511075:7ee20e4bd18f
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sat Apr 08 22:55:40 2006 +0000

description:
Import ps2eps.

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.

diffstat:

 graphics/ps2eps/DESCR            |   7 +++++++
 graphics/ps2eps/Makefile         |  28 ++++++++++++++++++++++++++++
 graphics/ps2eps/PLIST            |   5 +++++
 graphics/ps2eps/distinfo         |   6 ++++++
 graphics/ps2eps/patches/patch-aa |  12 ++++++++++++
 5 files changed, 58 insertions(+), 0 deletions(-)

diffs (78 lines):

diff -r b6a05ace8514 -r 7ee20e4bd18f graphics/ps2eps/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ps2eps/DESCR     Sat Apr 08 22:55:40 2006 +0000
@@ -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 -r b6a05ace8514 -r 7ee20e4bd18f graphics/ps2eps/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ps2eps/Makefile  Sat Apr 08 22:55:40 2006 +0000
@@ -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@localhost
+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 -r b6a05ace8514 -r 7ee20e4bd18f graphics/ps2eps/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ps2eps/PLIST     Sat Apr 08 22:55:40 2006 +0000
@@ -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 -r b6a05ace8514 -r 7ee20e4bd18f graphics/ps2eps/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ps2eps/distinfo  Sat Apr 08 22:55:40 2006 +0000
@@ -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 -r b6a05ace8514 -r 7ee20e4bd18f graphics/ps2eps/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ps2eps/patches/patch-aa  Sat Apr 08 22:55:40 2006 +0000
@@ -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
+ # -------------------------------------------------------------------



Home | Main Index | Thread Index | Old Index