Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
30 lines
820 B
Makefile
30 lines
820 B
Makefile
# $NetBSD: Makefile,v 1.10 2014/05/29 23:37:18 wiz Exp $
|
|
|
|
DISTNAME= texlive.infra
|
|
PKGNAME= tex-${DISTNAME}-2013
|
|
PKGREVISION= 1
|
|
TEXLIVE_REV= 31673
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
COMMENT= Basic TeX Live infrastructure
|
|
|
|
USE_TOOLS+= perl:run
|
|
|
|
TEXLIVE_IGNORE_PATTERNS= texmf-dist/scripts
|
|
|
|
INSTALLATION_DIRS+= ${PERL5_SUB_INSTALLVENDORLIB}/TeXLive
|
|
TEX_TEXMF_DIRS+= ${PREFIX}/share/texmf-dist
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_MESSAGE.paths= Setting paths to commands.
|
|
SUBST_STAGE.paths= pre-configure
|
|
SUBST_FILES.paths= tlpkg/TeXLive/TLPaper.pm tlpkg/TeXLive/TLUtils.pm
|
|
SUBST_SED.paths= -e 's,@KPSEWHICH@,${PREFIX}/bin/kpsewhich,g'
|
|
|
|
.include "../../print/texlive/package.mk"
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/tlpkg/TeXLive/*.pm \
|
|
${DESTDIR}${PREFIX}/${PERL5_SUB_INSTALLVENDORLIB}/TeXLive/
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|