pkgsrc/print/tex-glossaries/Makefile
2020-08-31 18:06:29 +00:00

40 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.27 2020/08/31 18:11:04 wiz Exp $
DISTNAME= glossaries
PKGNAME= tex-${DISTNAME}-4.46
PKGREVISION= 1
TEXLIVE_REV= 54402
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://ctan.org/pkg/glossaries
COMMENT= Create glossaries and lists of acronyms
LICENSE= lppl-1.3c
DEPENDS+= tex-amsmath-[0-9]*:../../print/tex-amsmath
DEPENDS+= tex-etoolbox-[0-9]*:../../devel/tex-etoolbox
DEPENDS+= tex-latex-[0-9]*:../../print/tex-latex
DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
DEPENDS+= tex-oberdiek-[0-9]*:../../print/tex-oberdiek
DEPENDS+= tex-supertabular-[0-9]*:../../print/tex-supertabular
DEPENDS+= tex-tools-[0-9]*:../../print/tex-tools
DEPENDS+= tex-tracklang-[0-9]*:../../print/tex-tracklang
DEPENDS+= tex-xfor-[0-9]*:../../print/tex-xfor
DEPENDS+= tex-xkeyval-[0-9]*:../../print/tex-xkeyval
USE_TOOLS+= perl:run
REPLACE_PERL= bin/makeglossaries
INSTALLATION_DIRS+= bin
TEX_TEXMF_DIRS= ${PREFIX}/share/texmf-dist
.include "../../print/texlive/package.mk"
post-extract:
${MKDIR} ${WRKSRC}/bin
${MV} ${WRKSRC}/texmf-dist/scripts/glossaries/makeglossaries \
${WRKSRC}/bin/
${RM} -rf ${WRKSRC}/texmf-dist/scripts/glossaries/makeglossaries.bat
${RM} -rf ${WRKSRC}/texmf-dist/scripts/glossaries/makeglossaries-lite.lua
.include "../../mk/bsd.pkg.mk"