# New ports collection makefile for:	guspat
# Date created:				2004/07/04
# Whom:					nork@FreeBSD.org
#
# $FreeBSD: ports/audio/guspat/Makefile,v 1.1 2005/12/12 14:28:25 nork Exp $
#

PORTNAME=	guspat
PORTVERSION=	20000706
CATEGORIES=	audio
MASTER_SITES=	http://www.linet.gr.jp/~tamuki/timidity/eawplus/
DISTFILES=	${PORTNAME}-${PORTVERSION}-required${EXTRACT_SUFX} \
		${PORTNAME}-${PORTVERSION}-optional${EXTRACT_SUFX}

MAINTAINER=	nork@FreeBSD.org
COMMENT=	Izumo collection of Gravis Ultrasound MIDI patches

# Not useful without timidity.
RUN_DEPENDS=	timidity:${PORTSDIR}/audio/timidity++

RESTRICTED=	Some of the patches are marked no-commercial-use

NO_BUILD=	yes

WRKSRC=		${WRKDIR}/timidity
PLIST_SUB=	TIMIDITY_DATADIR=${TIMIDITY_DATADIR}

TIMIDITY_DATADIR=	share/timidity

do-install:
	@${MKDIR} ${DATADIR}
	@${CP} -pr ${WRKSRC}/* ${DATADIR}
	@${MKDIR} ${PREFIX}/${TIMIDITY_DATADIR}
	@${INSTALL_DATA} ${WRKSRC}/timidity.cfg ${PREFIX}/${TIMIDITY_DATADIR}/timidity.cfg-guspat

.include <bsd.port.mk>
