pkgsrc/print/tex-attachfile2/Makefile
2020-05-08 01:28:01 +00:00

34 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.2 2020/05/08 01:28:01 markd Exp $
DISTNAME= attachfile2
PKGNAME= tex-${DISTNAME}-2.11
TEXLIVE_REV= 52929
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://ctan.org/pkg/attachfile2
COMMENT= Attach files into PDF
LICENSE= lppl-1.3c
DEPENDS+= tex-graphics-[0-9]*:../../print/tex-graphics
DEPENDS+= tex-hycolor-[0-9]*:../../print/tex-hycolor
DEPENDS+= tex-hyperref-[0-9]*:../../print/tex-hyperref
DEPENDS+= tex-iftex-[0-9]*:../../print/tex-iftex
DEPENDS+= tex-infwarerr-[0-9]*:../../print/tex-infwarerr
DEPENDS+= tex-kvoptions-[0-9]*:../../print/tex-kvoptions
DEPENDS+= tex-ltxcmds-[0-9]*:../../print/tex-ltxcmds
DEPENDS+= tex-pdfescape-[0-9]*:../../print/tex-pdfescape
DEPENDS+= tex-pdftexcmds-[0-9]*:../../print/tex-pdftexcmds
USE_TOOLS+= perl:run
REPLACE_PERL= bin/pdfatfi
INSTALLATION_DIRS+= bin
.include "../../print/texlive/package.mk"
post-extract:
${MKDIR} ${WRKSRC}/bin
${MV} ${WRKSRC}/texmf-dist/scripts/attachfile2/pdfatfi.pl ${WRKSRC}/bin/pdfatfi
.include "../../mk/bsd.pkg.mk"