pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/tex-a2ping Import tex-a2ping-2.77p as graphic...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/42701b46c7b8
branches:  trunk
changeset: 396818:42701b46c7b8
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon Aug 03 23:48:44 2009 +0000

description:
Import tex-a2ping-2.77p as graphics/tex-a2ping.

a2ping is a Perl script command line utility written for Unix that
converts many raster image and vector graphics formats to EPS or PDF
and other page description formats.  Accepted input file formats are:
PS (PostScript), EPS, PDF, PNG, JPEG, TIFF, PNM, BMP, GIF, LBM, XPM,
PCX, TGA.  Accepted output formats are: EPS, PCL5, PDF, PDF1, PBM,
PGM, PPM, PS, markedEPS, markedPS, PNG, XWD, BMP, TIFF, JPEG, GIF,
XPM.  a2ping delegates the low- level work to Ghostscript (GS),
pdftops and sam2p.  a2ping fixes many glitches during the EPS to EPS
conversion, so its output is often more compatible and better
embeddable than its input.

diffstat:

 graphics/tex-a2ping/DESCR            |  10 ++++++++++
 graphics/tex-a2ping/Makefile         |  34 ++++++++++++++++++++++++++++++++++
 graphics/tex-a2ping/PLIST            |   2 ++
 graphics/tex-a2ping/distinfo         |   6 ++++++
 graphics/tex-a2ping/patches/patch-aa |  16 ++++++++++++++++
 5 files changed, 68 insertions(+), 0 deletions(-)

diffs (88 lines):

diff -r b0ca7597f5e2 -r 42701b46c7b8 graphics/tex-a2ping/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/tex-a2ping/DESCR Mon Aug 03 23:48:44 2009 +0000
@@ -0,0 +1,10 @@
+a2ping is a Perl script command line utility written for Unix that
+converts many raster image and vector graphics formats to EPS or PDF
+and other page description formats.  Accepted input file formats are:
+PS (PostScript), EPS, PDF, PNG, JPEG, TIFF, PNM, BMP, GIF, LBM, XPM,
+PCX, TGA.  Accepted output formats are: EPS, PCL5, PDF, PDF1, PBM,
+PGM, PPM, PS, markedEPS, markedPS, PNG, XWD, BMP, TIFF, JPEG, GIF,
+XPM.  a2ping delegates the low- level work to Ghostscript (GS),
+pdftops and sam2p.  a2ping fixes many glitches during the EPS to EPS
+conversion, so its output is often more compatible and better
+embeddable than its input.
diff -r b0ca7597f5e2 -r 42701b46c7b8 graphics/tex-a2ping/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/tex-a2ping/Makefile      Mon Aug 03 23:48:44 2009 +0000
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/08/03 23:48:44 minskim Exp $
+# TeX Live Revision 10592
+
+DISTNAME=      a2ping
+PKGNAME=       tex-${DISTNAME}-2.77p
+
+MAINTAINER=    minskim%NetBSD.org@localhost
+COMMENT=       Advanced PS, PDF, EPS converter
+
+CONFLICTS+=    teTeX-bin<=3.0nb34
+
+USE_TOOLS+=    perl:run sh:run
+
+REPLACE_SH=    bin/a2ping
+
+SUBST_CLASSES+=                perl
+SUBST_MESSAGE.perl=    Setting path to perl.
+SUBST_STAGE.perl=      pre-configure
+SUBST_FILES.perl=      bin/a2ping
+SUBST_SED.perl=                -e 's,@PERL@,${PERL5},g'
+
+TEX_TEXMF_DIRS=        none
+
+.include "../../print/texlive/module.mk"
+
+post-extract:
+       ${MKDIR} ${WRKSRC}/bin
+       ${MV} ${WRKSRC}/texmf/scripts/a2ping/a2ping.pl ${WRKSRC}/bin/a2ping
+       ${RM} -r ${WRKSRC}/texmf
+
+pre-install:
+       ${RM} ${WRKSRC}/bin/*.orig
+
+.include "../../mk/bsd.pkg.mk"
diff -r b0ca7597f5e2 -r 42701b46c7b8 graphics/tex-a2ping/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/tex-a2ping/PLIST Mon Aug 03 23:48:44 2009 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/08/03 23:48:44 minskim Exp $
+bin/a2ping
diff -r b0ca7597f5e2 -r 42701b46c7b8 graphics/tex-a2ping/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/tex-a2ping/distinfo      Mon Aug 03 23:48:44 2009 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/08/03 23:48:44 minskim Exp $
+
+SHA1 (tex-a2ping-2.77p/a2ping.tar.lzma) = 5e44b2124efa48a9a3cee9b802a32689e50b2095
+RMD160 (tex-a2ping-2.77p/a2ping.tar.lzma) = b5b9e5e90d6f737658262ca532da601ea75af9c0
+Size (tex-a2ping-2.77p/a2ping.tar.lzma) = 31089 bytes
+SHA1 (patch-aa) = 5c6415bf9c79011e953b87e67aad169a38fe1f7f
diff -r b0ca7597f5e2 -r 42701b46c7b8 graphics/tex-a2ping/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/tex-a2ping/patches/patch-aa      Mon Aug 03 23:48:44 2009 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/08/03 23:48:44 minskim Exp $
+
+--- bin/a2ping.orig    2008-03-03 11:18:05.000000000 -0800
++++ bin/a2ping
+@@ -1,8 +1,8 @@
+ #! /bin/sh
+ eval '(exit $?0)' && eval 'PERL_BADLANG=x;export PERL_BADLANG;: \
+-;exec perl -x -S -- "$0" ${1+"$@"};#'if 0;
+-eval 'setenv PERL_BADLANG x;exec perl -x -S -- "$0" $argv:q;#'.q+
+-#!perl -w
++;exec @PERL@ -x -S -- "$0" ${1+"$@"};#'if 0;
++eval 'setenv PERL_BADLANG x;exec @PERL@ -x -S -- "$0" $argv:q;#'.q+
++#!@PERL@ -w
+ package Htex::a2ping;  $0=~/(.*)/s;unshift@INC,'.';do($1);die$@if$@;__END__+if !1;
+ # This Perl script was generated by JustLib2 at Wed Apr 23 09:14:13 2003.
+ # Don't touch/remove any lines above; http://www.inf.bme.hu/~pts/justlib



Home | Main Index | Thread Index | Old Index