blob: e77bf75f8d23e3a7c0b17d0a4ae92a7b17a8c9a4 (
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
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.13 2020/08/31 18:11:05 wiz Exp $
DISTNAME= pkfix
PKGNAME= tex-${DISTNAME}-1.7
PKGREVISION= 5
TEXLIVE_REV= 26032
MAINTAINER= minskim@NetBSD.org
COMMENT= Script to replace pk fonts in PostScript with Type 1 fonts
LICENSE= lppl-1.3c
CONFLICTS+= tex-bin-dvipsk<=2008.12898
DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk
DEPENDS+= kpathsea-[0-9]*:../../print/kpathsea
DEPENDS+= web2c-[0-9]*:../../print/web2c
USE_TOOLS+= perl:run
REPLACE_PERL= bin/pkfix
SUBST_CLASSES+= paths
SUBST_MESSAGE.paths= Setting paths to commands.
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths= bin/pkfix
SUBST_SED.paths= -e 's,@DVIPS@,${LOCALBASE}/bin/dvips,g'
SUBST_SED.paths+= -e 's,@KPSEWHICH@,${LOCALBASE}/bin/kpsewhich,g'
SUBST_SED.paths+= -e 's,@TEX@,${LOCALBASE}/bin/tex,g'
INSTALLATION_DIRS+= bin
TEX_TEXMF_DIRS= none
TEXLIVE_UNVERSIONED= yes
.include "../../print/texlive/package.mk"
post-extract:
${MKDIR} ${WRKSRC}/bin
${MV} ${WRKSRC}/texmf-dist/scripts/pkfix/pkfix.pl ${WRKSRC}/bin/pkfix
${RM} -rf ${WRKSRC}/texmf-dist
.include "../../mk/bsd.pkg.mk"
|