1996-11-17 11:10:09 +00:00
|
|
|
# New ports collection makefile for: timidity
|
|
|
|
# Date created: 17 Nov 1996
|
|
|
|
# Whom: ache
|
|
|
|
#
|
1999-08-25 04:36:31 +00:00
|
|
|
# $FreeBSD$
|
1996-11-17 11:10:09 +00:00
|
|
|
#
|
|
|
|
|
2000-04-08 21:25:03 +00:00
|
|
|
PORTNAME= timidity
|
|
|
|
PORTVERSION= 0.2i
|
|
|
|
CATEGORIES= audio
|
2002-12-26 23:27:43 +00:00
|
|
|
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
|
2001-01-16 17:33:20 +00:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}.tar.gz
|
1996-11-17 11:10:09 +00:00
|
|
|
|
2000-04-08 21:25:03 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 17:07:10 +00:00
|
|
|
COMMENT= MIDI to WAV renderer and player
|
1996-11-17 11:10:09 +00:00
|
|
|
|
2000-04-08 21:25:03 +00:00
|
|
|
NO_CDROM= "Uses copyrighted patches"
|
1997-06-14 11:04:19 +00:00
|
|
|
|
2000-04-08 21:25:03 +00:00
|
|
|
TIINS= goemon.tgz
|
2001-01-16 17:33:20 +00:00
|
|
|
INSTALL_TARGET= install.all
|
|
|
|
MAN1= timidity.1
|
1996-11-17 11:10:09 +00:00
|
|
|
|
2002-06-07 02:21:52 +00:00
|
|
|
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
|
|
|
|
|
1996-11-17 11:10:09 +00:00
|
|
|
post-install:
|
1999-01-04 01:33:34 +00:00
|
|
|
cd ${PREFIX}/lib/timidity && \
|
1999-01-04 15:04:31 +00:00
|
|
|
tar zxf ${DISTDIR}/${TIINS} && \
|
1999-08-22 23:33:47 +00:00
|
|
|
${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 && \
|
1999-08-28 02:42:41 +00:00
|
|
|
${RM} goemon.cfg.bak
|
1999-01-04 15:04:31 +00:00
|
|
|
|
1996-11-17 11:10:09 +00:00
|
|
|
.include <bsd.port.mk>
|