summaryrefslogtreecommitdiff
path: root/print/abc2ps/Makefile
blob: 82ede01ec39e37e28cac3e9477f1b4d0bf01a601 (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
# $NetBSD: Makefile,v 1.3 2008/06/12 02:14:43 joerg Exp $
#

DISTNAME=	ABC2PS-${ABC2PSVER}
PKGNAME=	abc2ps-${ABC2PSVER}
CATEGORIES=	print
MASTER_SITES=	http://www.ihp-ffo.de/~msm/abc_src/
EXTRACT_SUFX=	.tar.Z
WRKSRC=		${WRKDIR}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.ihp-ffo.de/~msm/
COMMENT=	Music typesetting program for abc

PKG_DESTDIR_SUPPORT=	user-destdir

ABC2PSVER=	1.3.3

INSTALLATION_DIRS=	bin share/doc/abc2ps share/examples/abc2ps

do-build:
	cd ${WRKSRC} && ${CC} -o abc2ps abc2ps.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/abc2ps ${DESTDIR}${PREFIX}/bin
	cd ${WRKSRC} && ${INSTALL_DATA} Changes License New.Features \
		ReadMe.abc2ps layout.txt ${DESTDIR}${PREFIX}/share/doc/abc2ps/
	cd ${WRKSRC} && ${INSTALL_DATA} bach.abc blue_boy_bass.abc \
		bran5.abc celloprelude.abc desafinado.abc fbook.fmt \
		fonts.fmt journey.abc landscape.fmt mtunes1.abc \
		newfeatures.abc sample.abc scotland.abc trio.abc \
		voices.abc ${DESTDIR}${PREFIX}/share/examples/abc2ps/

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