summaryrefslogtreecommitdiff
path: root/audio/abcmidi/Makefile
blob: 42cfd7cebc95cff8513f9422eb335f5126652819 (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/04/01 14:35:17 ben Exp $
#

DISTNAME=	abcMIDI-${ABCMIDIVER}
PKGNAME=	abcmidi-${ABCMIDIVER}
CATEGORIES=	audio
MASTER_SITES=	http://ifdo.pugmarks.com/~seymour/runabc/
EXTRACT_SUFX=	.zip
WRKSRC=		${WRKDIR}/abcmidi
MAKEFILE=	makefile

MAINTAINER=	ben@NetBSD.org
HOMEPAGE=	http://abc.sourceforge.net/abcMIDI/
COMMENT=	Music utilities for abc

ABCMIDIVER=	2006-03-14

do-install:
	cd ${WRKSRC} && ${INSTALL_PROGRAM} abc2abc abc2midi mftext \
		midi2abc midicopy yaps ${PREFIX}/bin
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/abcmidi
	${INSTALL_DATA} ${WRKSRC}/demo.abc ${PREFIX}/share/examples/abcmidi/
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/abcmidi
	cd ${WRKSRC}/doc && ${INSTALL_DATA} AUTHORS CHANGES \
		abcguide.txt abcmatch.txt gpl.txt history.txt readme.txt \
		yapshelp.txt ${PREFIX}/share/doc/abcmidi/
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/abcmidi/programming
	cd ${WRKSRC}/doc/programming && ${INSTALL_DATA} abc2midi.txt \
		coding.txt midi2abc.txt split.abc yaps.txt \
		${PREFIX}/share/doc/abcmidi/programming/
	${INSTALL_MAN} ${WRKSRC}/doc/abc2abc.1 ${PREFIX}/man/man1/
	${INSTALL_MAN} ${WRKSRC}/doc/abc2midi.1 ${PREFIX}/man/man1/
	${INSTALL_MAN} ${WRKSRC}/doc/mftext.1 ${PREFIX}/man/man1/
	${INSTALL_MAN} ${WRKSRC}/doc/midi2abc.1 ${PREFIX}/man/man1/
	${INSTALL_MAN} ${WRKSRC}/doc/midicopy.1 ${PREFIX}/man/man1/
	${INSTALL_MAN} ${WRKSRC}/doc/yaps.1 ${PREFIX}/man/man1/

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