blob: fde633db52bd8c7acdf3c2dcc673f464efa9d16a (
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
39
40
41
42
43
|
# New ports collection makefile for: abcmidi
# Date created: 10 March 2002
# Whom: Sue Blake <sue@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= abcmidi
PORTVERSION= 36
CATEGORIES= audio
MASTER_SITES= http://abc.sourceforge.net/abcMIDI/
DISTNAME= abcMIDI
MAINTAINER= ports@FreeBSD.org
COMMENT= Convert abc music files to MIDI and PostScript
USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GMAKE= yes
MAKEFILE= unix.mak
DOCS= abcguide.txt demo.abc readme.txt yaps.txt
pre-patch:
.for file in ${DOCS} ${MAKEFILE}
@(cd ${WRKSRC} ; ${MV} -f ${file} ${file}.orig ; \
${TR} -d '\r' < ${file}.orig > ${file})
.endfor
@${REINPLACE_CMD} -e "s,^CC,#CC,g" -e "s,^CFLAGS=,CFLAGS+=,g" \
${WRKSRC}/${MAKEFILE}
do-install:
.for file in abc2abc abc2midi mftext midi2abc yaps
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|