# New ports collection makefile for:    tclmidi
# Date created:         14 May 1999
# Whom:                 shanee@augusta.de
#
# $FreeBSD$
#

PORTNAME=	tclmidi
PORTVERSION=	3.1
CATEGORIES=	audio
MASTER_SITES=	ftp://ftp.unina.it/pub/Other/music/midi/PROGRAMS/ \
		ftp://ftp.cs.ruu.nl/pub/MIDI/PROGRAMS/ \
		ftp://sunsite.mff.cuni.cz/MultiMedia/Audio/MIDI/PROGRAMS/

MAINTAINER=	shanee@augusta.de

LIB_DEPENDS=	tcl82.1:${PORTSDIR}/lang/tcl82

MAKE_ENV=	TCL_GENERIC_DIR=${LOCALBASE}/include/tcl8.2
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-tclsh=${LOCALBASE}/bin/tclsh8.2

MAN1=		mplay.1 mrec.1 tclmidi.1 minfo.1 midtotcl.1
MANN=		midiconf.n midievnt.n midifree.n midiget.n midigrep.n \
		midimake.n midimerg.n midiplay.n midiput.n midiread.n  \
		midirec.n midirew.n midisplt.n midistop.n midiwait.n \
		midiwrit.n midivers.n midimove.n midicopy.n mididel.n \
		miditrck.n mididev.n miditime.n midifeat.n

post-install:
	@${CAT} ${PKGMESSAGE} | ${SED} s#/usr/local#${PREFIX}#g

.include <bsd.port.mk>
