blob: 9ddbfe8a1cf836f387cc330e604bde11790ed81d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $NetBSD: Makefile,v 1.3 2020/08/31 18:11:04 wiz Exp $
DISTNAME= attachfile2
PKGNAME= tex-${DISTNAME}-2.11
PKGREVISION= 1
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"
|