summaryrefslogtreecommitdiff
path: root/print/tex-igo/Makefile
blob: 70dd27f5b785c366bdf9307d941fe8540c5d0261 (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
# $NetBSD: Makefile,v 1.1.1.1 2006/06/11 06:13:35 minskim Exp $

DISTNAME=	igo
PKGNAME=	tex-${DISTNAME}-0
CATEGORIES=	print
MASTER_SITES=	${MASTER_SITE_TEX_CTAN:=fonts/}
EXTRACT_SUFX=	.zip

MAINTAINER=	minskim@NetBSD.org
HOMEPAGE=	http://www.ctan.org/tex-archive/fonts/igo/
COMMENT=	Fonts and macro to typeset Go diagrams

USE_DIRS+=	texmf-1.2

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

do-configure:
	${GREP} "^maketfm" ${WRKSRC}/fonts/makefonts.bat | \
	${SED} -e 's/maketfm/mktextfm/g' > ${WRKSRC}/fonts/makefonts.sh

do-build:
	cd ${WRKSRC}/fonts && ${SH} makefonts.sh

do-install:
	${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/doc/latex/igo
	${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/igo.pdf ${WRKSRC}/igo.tex \
		${PKG_LOCALTEXMFPREFIX}/doc/latex/igo
	${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/tex/latex/igo
	${INSTALL_DATA} ${WRKSRC}/igo.sty ${WRKSRC}/repeat.tex \
		${PKG_LOCALTEXMFPREFIX}/tex/latex/igo
	${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/fonts/source/igo
	${INSTALL_DATA} ${WRKSRC}/fonts/*.mf \
		${PKG_LOCALTEXMFPREFIX}/fonts/source/igo
	${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/fonts/tfm/igo
	${INSTALL_DATA} ${WRKSRC}/fonts/*.tfm \
		${PKG_LOCALTEXMFPREFIX}/fonts/tfm/igo

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