aboutsummaryrefslogtreecommitdiffstats
path: root/print/abcm2ps/Makefile
blob: 7df1678ecf692a2153a33d828f57bd2796a3a276 (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
37
38
# New ports collection makefile for:    abcm2ps
# Date created:             2003-06-27
# Whom:                 arved
#
# $FreeBSD$

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

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

GNU_CONFIGURE=  yes
ALL_TARGET= ${PORTNAME}

PORTDOCS=   Changes README deco.abc journey.abc mtunes1.abc mtunes2.abc \
        multilang.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%%/landscape.fmt %%DATADIR%%/tight.fmt
PLIST_DIRS= %%DATADIR%%

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

.include <bsd.port.mk>