mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
6807bdf62c
PR: 68444 Submitted by: Brian Candler <B.Candler@pobox.com>
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# New ports collection makefile for: abcmidi
|
|
# Date created: 10 March 2002
|
|
# Whom: Sue Blake <sue@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= abcmidi
|
|
PORTVERSION= 2004.06.26
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://ifdo.pugmarks.com/~seymour/runabc/
|
|
DISTNAME= abcMIDI-${PORTVERSION:S/./-/g}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Convert abc music files to MIDI and PostScript
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
EXTRACT_BEFORE_ARGS= -aqo
|
|
|
|
USE_ZIP= yes
|
|
USE_GMAKE= yes
|
|
MAKEFILE= makefiles/unix.mak
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DANSILIBS -c" LNK="${CC}"
|
|
|
|
MAN1= abc2abc.1 abc2midi.1 mftext.1 midi2abc.1 yaps.1
|
|
|
|
DOCS= demo.abc doc/abc2midi.txt doc/abcguide.txt doc/coding.txt \
|
|
doc/midi2abc.txt doc/readme.txt doc/yaps.txt
|
|
|
|
do-install:
|
|
.for FILE in abc2abc abc2midi mftext midi2abc yaps
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${PREFIX}/bin
|
|
.endfor
|
|
.for FILE in ${MAN1}
|
|
${INSTALL_MAN} ${WRKSRC}/doc/${FILE} ${MAN1PREFIX}/man/man1
|
|
.endfor
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for FILE in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|