aboutsummaryrefslogtreecommitdiffstats
path: root/print/abcm2ps/Makefile
blob: ec6e1320e84b0c1c41f06895fdba1cd109021149 (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
33
34
35
36
# Created by: arved
# $FreeBSD$

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

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

USES=       cpe
MAKE_ARGS=  CC="${CC}" CFLAGS="${CFLAGS}"
CPE_VENDOR= moinejf
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 \
        options.txt
PLIST_FILES=    bin/abcm2ps \
        %%DATADIR%%/flute.fmt %%DATADIR%%/landscape.fmt \
        %%DATADIR%%/musicfont.fmt

OPTIONS_DEFINE= DOCS

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/abcm2ps ${STAGEDIR}${PREFIX}/bin/
    @${MKDIR} ${STAGEDIR}${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/*.fmt ${STAGEDIR}${DATADIR}/

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>