From 3231e6666808c2dfd74147edab022ae39b83e6b1 Mon Sep 17 00:00:00 2001 From: minskim Date: Mon, 3 Aug 2009 23:48:44 +0000 Subject: 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. --- 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(+) create mode 100644 graphics/tex-a2ping/DESCR create mode 100644 graphics/tex-a2ping/Makefile create mode 100644 graphics/tex-a2ping/PLIST create mode 100644 graphics/tex-a2ping/distinfo create mode 100644 graphics/tex-a2ping/patches/patch-aa (limited to 'graphics/tex-a2ping') diff --git a/graphics/tex-a2ping/DESCR b/graphics/tex-a2ping/DESCR new file mode 100644 index 00000000000..9ad95c99b01 --- /dev/null +++ b/graphics/tex-a2ping/DESCR @@ -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 --git a/graphics/tex-a2ping/Makefile b/graphics/tex-a2ping/Makefile new file mode 100644 index 00000000000..155ffa94ba7 --- /dev/null +++ b/graphics/tex-a2ping/Makefile @@ -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 +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 --git a/graphics/tex-a2ping/PLIST b/graphics/tex-a2ping/PLIST new file mode 100644 index 00000000000..7616331ceaf --- /dev/null +++ b/graphics/tex-a2ping/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2009/08/03 23:48:44 minskim Exp $ +bin/a2ping diff --git a/graphics/tex-a2ping/distinfo b/graphics/tex-a2ping/distinfo new file mode 100644 index 00000000000..c245161c1ce --- /dev/null +++ b/graphics/tex-a2ping/distinfo @@ -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 --git a/graphics/tex-a2ping/patches/patch-aa b/graphics/tex-a2ping/patches/patch-aa new file mode 100644 index 00000000000..bfe39536f6a --- /dev/null +++ b/graphics/tex-a2ping/patches/patch-aa @@ -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 -- cgit v1.2.3