summaryrefslogtreecommitdiff
path: root/print/tex-bagpipetex/Makefile
blob: 8aeb70ef225295118ab2807b4b22afa5f8f4cac6 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# $NetBSD: Makefile,v 1.2 2003/01/25 23:16:25 fredb Exp $
#

DISTNAME=	bagpipetex-3.01
PKGNAME=	tex-${DISTNAME}
CATEGORIES=	print
MASTER_SITES=	http://www.stanford.edu/~wrinnes/bagpipe.tex/distribution/
DISTFILES=	bagpipe301.tar.gz

MAINTAINER=	dgriffi@cs.csubak.edu
HOMEPAGE=	http://www.stanford.edu/~wrinnes/bagpipe.tex/
COMMENT=	MusixTeX macros to typeset bagpipe music

DEPENDS+=	tex-musixtex>=109:../tex-musixtex

NO_CONFIGURE=   yes
NO_BUILD=       yes
WRKSRC=         ${WRKDIR}

TEXMF_CNF=      ${LOCALBASE}/share/texmf/web2c/texmf.cnf

do-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/texmf/doc/bagpipetex
	${INSTALL_DATA_DIR} ${PREFIX}/share/texmf/doc/bagpipetex/examples
	${INSTALL_DATA_DIR} ${PREFIX}/share/texmf/fonts/tfm/bagpipetex
	${INSTALL_DATA_DIR} ${PREFIX}/share/texmf/fonts/source/bagpipetex
	${INSTALL_DATA_DIR} ${PREFIX}/share/texmf/tex/latex/bagpipetex
	${INSTALL_DATA} ${WRKSRC}/README \
		${WRKSRC}/bagdoc.tex \
		${WRKSRC}/quickref.tex \
		${PREFIX}/share/texmf/doc/bagpipetex
	${INSTALL_DATA} ${WRKSRC}/Green.tex \
		${PREFIX}/share/texmf/doc/bagpipetex/examples
	${INSTALL_DATA} ${WRKSRC}/GreenTwo.tex \
		${PREFIX}/share/texmf/doc/bagpipetex/examples
	${INSTALL_DATA} ${WRKSRC}/Bonnets.tex \
		${PREFIX}/share/texmf/doc/bagpipetex/examples
	${INSTALL_DATA} ${WRKSRC}/Washer.tex \
		${PREFIX}/share/texmf/doc/bagpipetex/examples
	${INSTALL_DATA} ${WRKSRC}/BlackDonald.tex \
		${PREFIX}/share/texmf/doc/bagpipetex/examples
	${INSTALL_DATA} ${WRKSRC}/*.mf \
		${PREFIX}/share/texmf/fonts/source/bagpipetex
	${INSTALL_DATA} ${WRKSRC}/*.tfm \
		${PREFIX}/share/texmf/fonts/tfm/bagpipetex
	${INSTALL_DATA} ${WRKSRC}/bagpipe.tex \
		${PREFIX}/share/texmf/tex/latex/bagpipetex
	${INSTALL_DATA} ${WRKSRC}/*.ini \
		${PREFIX}/share/texmf/tex/latex/bagpipetex
	${LOCALBASE}/bin/texconfig rehash

post-install:
	cd ${PREFIX}/share/texmf/doc/bagpipetex ; \
		latex bagdoc ; \
		dvips bagdoc.dvi -o bagdoc.ps ; \
		musixtex quickref ; \
		musixflx quickref ; \
		musixtex quickref ; \
		dvips quickref.dvi -o quickref.ps ; \
		${RM} -f *.log *.mx?

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