summaryrefslogtreecommitdiff
path: root/print/tex-glossaries/Makefile
blob: 63a95a8e2af69359a3420498c9a49656790e5fe7 (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
41
42
43
# $NetBSD: Makefile,v 1.2 2007/06/09 07:34:01 jmmv Exp $

DISTNAME=	glossaries
PKGNAME=	tex-${DISTNAME}-1.02
CATEGORIES=	print
MASTER_SITES=	${MASTER_SITE_TEX_CTAN:=macros/latex/contrib/}
EXTRACT_SUFX=	.zip

MAINTAINER=	jmmv@NetBSD.org
HOMEPAGE=	http://www.ctan.org/tex-archive/help/Catalogue/entries/glossaries.html
COMMENT=	Macros for creation of glossaries

DEPENDS+=	tex-xkeyval>=2.5f:../../print/tex-xkeyval

DIST_SUBDIR=	${PKGNAME_NOREV}
USE_DIRS+=	texmf-1.4
USE_TOOLS+=	perl:run

REPLACE_PERL=	scripts/makeglossaries

.include "../../print/teTeX/module.mk"

do-build:
	cd ${WRKSRC} && latex glossaries.ins

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/scripts/makeglossaries ${PREFIX}/bin
	${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/doc/latex/glossaries
	${INSTALL_DATA} ${WRKSRC}/doc/glossaries.pdf \
		${PKG_LOCALTEXMFPREFIX}/doc/latex/glossaries
	${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries
	${INSTALL_DATA} ${WRKSRC}/glossaries.sty \
		${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries
	${INSTALL_DATA} ${WRKSRC}/glossary-hypernav.sty \
		${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries
	${INSTALL_DATA} ${WRKSRC}/glossary-list.sty \
		${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries
	${INSTALL_DATA} ${WRKSRC}/glossary-long.sty \
		${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries
	${INSTALL_DATA} ${WRKSRC}/glossary-super.sty \
		${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries

.include "../../mk/bsd.pkg.mk"