summaryrefslogtreecommitdiff
path: root/audio/abcmidi/Makefile
blob: 4e4ead56e8789ed2995b5517b9668f7cfcda0abb (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
# $NetBSD: Makefile,v 1.6 2008/03/02 06:10:30 jlam Exp $
#

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

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

ABCMIDIVER=	2006-04-22

PKG_DESTDIR_SUPPORT=	user-destdir

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1 \
			share/doc/abcmidi/programming share/examples/abcmidi

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

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