aboutsummaryrefslogtreecommitdiffstats
path: root/print/abcm2ps/Makefile
blob: 2a18cc6b3e8d4f6780acc83066063240aaec94b9 (plain) (blame)
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
# Created by: arved
# $FreeBSD$

PORTNAME=   abcm2ps
PORTVERSION=    6.6.22
CATEGORIES= print audio
MASTER_SITES=   http://moinejf.free.fr/

MAINTAINER= araujo@FreeBSD.org
COMMENT=    Converts ABC to music sheet in PostScript format

GNU_CONFIGURE=  yes
ALL_TARGET= ${PORTNAME}

PORTDOCS=   Changes README deco.abc newfeatures.abc sample.abc sample2.abc\
        sample3.abc sample4.abc voices.abc sample3.eps features.txt \
        format.txt options.txt
PLIST_FILES=    bin/abcm2ps %%DATADIR%%/fbook.fmt %%DATADIR%%/fonts.fmt \
        %%DATADIR%%/flute.fmt %%DATADIR%%/landscape.fmt \
        %%DATADIR%%/tight.fmt %%DATADIR%%/musicfont.fmt
PLIST_DIRS= %%DATADIR%%

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/abcm2ps ${PREFIX}/bin/
    @${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/*.fmt ${DATADIR}/
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
.endif

.include <bsd.port.mk>