1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/audio/timidity/Makefile

39 lines
1018 B
Makefile
Raw Normal View History

# New ports collection makefile for: timidity
# Date created: 17 Nov 1996
# Whom: ache
#
1999-08-25 04:36:31 +00:00
# $FreeBSD$
#
PORTNAME= timidity
PORTVERSION= 0.2i
CATEGORIES= audio
MASTER_SITES= ftp://ftp.kiarchive.ru/pub/misc/hardware/soundcard/gus/:tiins \
http://www.onicos.com/staff/iz/timidity/dist/:timidity
DISTFILES= ${TIINS}:tiins ${DISTNAME}.tar.gz:timidity
EXTRACT_ONLY= ${DISTNAME}.tar.gz
MAINTAINER= ports@FreeBSD.org
2003-02-20 17:07:10 +00:00
COMMENT= MIDI to WAV renderer and player
NO_CDROM= "Uses copyrighted patches"
TIINS= goemon.tgz
INSTALL_TARGET= install.all
MAN1= timidity.1
post-patch:
@${SED} -e 's,machine/soundcard.h,sys/soundcard.h,' < \
${WRKSRC}/linux_a.c > ${WRKSRC}/linux_a.c.new
@${MV} ${WRKSRC}/linux_a.c.new ${WRKSRC}/linux_a.c
post-install:
cd ${PREFIX}/lib/timidity && \
1999-01-04 15:04:31 +00:00
tar zxf ${DISTDIR}/${TIINS} && \
${CP} goemon.cfg goemon.cfg.bak && \
1999-08-28 02:17:34 +00:00
${SED} 's=dir goemon=dir ${PREFIX}/lib/timidity/goemon=' \
1999-01-04 15:04:31 +00:00
< goemon.cfg.bak > goemon.cfg && \
${RM} goemon.cfg.bak
1999-01-04 15:04:31 +00:00
.include <bsd.port.mk>