summaryrefslogtreecommitdiff
path: root/print/tex-bagpipetex/Makefile
blob: ddd5ea5241504173eacc7fe2c7127eadf23f5d8d (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
# $NetBSD: Makefile,v 1.15 2013/11/13 19:23:27 minskim Exp $
#

DISTNAME=	bagpipetex-3.01
PKGNAME=	tex-${DISTNAME}
PKGREVISION=	6
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

BUILD_DEPENDS+=	tex-pdftex-[0-9]*:../../print/tex-pdftex
DEPENDS+=	tex-musixtex>=1.15:../../print/tex-musixtex

WRKSRC=		${WRKDIR}
NO_CONFIGURE=	yes

INSTALLATION_DIRS=	share/texmf-dist/doc/bagpipetex \
			share/texmf-dist/doc/bagpipetex/examples \
			share/texmf-dist/fonts/tfm/bagpipetex \
			share/texmf-dist/fonts/source/bagpipetex \
			share/texmf-dist/tex/latex/bagpipetex

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

do-build:
	cd ${WRKDIR} && pdftex bagdoc
	cd ${WRKDIR} && musixtex quickref

.include "../../print/kpathsea/texmf.mk"
.include "../../mk/bsd.pkg.mk"