pkgsrc/graphics/tex-a2ping/Makefile
minskim 2091cc9e09 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.
2009-08-03 23:48:44 +00:00

34 lines
737 B
Makefile

# $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"