fa655b8e1e
A Perl script that can either trim pages of any whitespace border, or trim them of a fixed border.
31 lines
691 B
Makefile
31 lines
691 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2011/10/27 18:05:13 minskim Exp $
|
|
|
|
DISTNAME= pdfcrop
|
|
PKGNAME= tex-${DISTNAME}-1.32
|
|
TEXLIVE_REV= 23499
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
COMMENT= Crop PDF graphics
|
|
|
|
CONFLICTS= teTeX-bin<3.0nb49
|
|
|
|
USE_TOOLS+= gs:run perl:run
|
|
|
|
REPLACE_PERL= bin/pdfcrop
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_MESSAGE.paths= Setting paths to commands.
|
|
SUBST_STAGE.paths= pre-configure
|
|
SUBST_FILES.paths= bin/pdfcrop
|
|
SUBST_SED.paths+= -e 's,@GHOSTSCRIPT@,${TOOLS_PATH.gs},g'
|
|
|
|
TEX_TEXMF_DIRS= # empty
|
|
|
|
.include "../../print/texlive/package.mk"
|
|
|
|
post-extract:
|
|
${MKDIR} ${WRKSRC}/bin
|
|
${MV} ${WRKSRC}/texmf-dist/scripts/pdfcrop/pdfcrop.pl \
|
|
${WRKSRC}/bin/pdfcrop
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|