aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>1999-07-12 04:49:25 +0800
committercpiazza <cpiazza@FreeBSD.org>1999-07-12 04:49:25 +0800
commit2d6bed6cacc9205839c5328fe848bf8b1459613b (patch)
treece7eed2446d1c6838c0e37090e54d0abcfdeac89 /audio
parent0b773bd532f888d6a86be458ff0a183fd11aadb2 (diff)
downloadfreebsd-ports-gnome-2d6bed6cacc9205839c5328fe848bf8b1459613b.tar.gz
freebsd-ports-gnome-2d6bed6cacc9205839c5328fe848bf8b1459613b.tar.zst
freebsd-ports-gnome-2d6bed6cacc9205839c5328fe848bf8b1459613b.zip
Tclmidi: a language designed for creating and editing standard
MIDI files. With the proper device interface it will also play and record MIDI files. PR: 11712 Submitted by: Andreas Kohout <shanee@augusta.de>
Diffstat (limited to 'audio')
-rw-r--r--audio/tclmidi/Makefile33
-rw-r--r--audio/tclmidi/distinfo1
-rw-r--r--audio/tclmidi/files/patch-aa29
-rw-r--r--audio/tclmidi/pkg-comment1
-rw-r--r--audio/tclmidi/pkg-descr9
-rw-r--r--audio/tclmidi/pkg-message7
-rw-r--r--audio/tclmidi/pkg-plist7
7 files changed, 87 insertions, 0 deletions
diff --git a/audio/tclmidi/Makefile b/audio/tclmidi/Makefile
new file mode 100644
index 000000000000..5f1d8f2323f5
--- /dev/null
+++ b/audio/tclmidi/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: tclmidi
+# Version required: 3.1.0
+# Date created: 14 May 1999
+# Whom: shanee@augusta.de
+#
+# $Id $
+#
+
+DISTNAME= tclmidi-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= tcl80.1:${PORTSDIR}/lang/tcl80
+
+MAKE_ENV= TCL_GENERIC_DIR=${LOCALBASE}/include/tcl8.0
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-tclsh=${LOCALBASE}/bin/tclsh8.0
+
+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>
diff --git a/audio/tclmidi/distinfo b/audio/tclmidi/distinfo
new file mode 100644
index 000000000000..474412d5ec8c
--- /dev/null
+++ b/audio/tclmidi/distinfo
@@ -0,0 +1 @@
+MD5 (tclmidi-3.1.tar.gz) = c928da63e5ff59f4e3c0c0c969c5ed98
diff --git a/audio/tclmidi/files/patch-aa b/audio/tclmidi/files/patch-aa
new file mode 100644
index 000000000000..04e74821da4d
--- /dev/null
+++ b/audio/tclmidi/files/patch-aa
@@ -0,0 +1,29 @@
+--- Makefile.in.orig Mon Nov 9 18:00:54 1998
++++ Makefile.in Mon Nov 9 17:47:11 1998
+@@ -11,7 +11,7 @@
+
+ # The directory containing the Tcl library archive file appropriate
+ # for this version of Tk:
+-TCL_BIN_DIR = @TCL_BIN_DIR@
++TCL_BIN_DIR = ${LOCALBASE}/lib/tcl8.0
+
+ #----------------------------------------------------------------
+ # The information below is modified by the configure script when
+@@ -35,7 +35,7 @@
+ VPATH = @srcdir@
+
+ CFLAGS = @CFLAGS@ @DEFS@
+-CC_SWITCHES = @CFLAGS@ @DEFS@ ${SHLIB_CFLAGS} \
++CC_SWITCHES = @CFLAGS@ @DEFS@ ${SHLIB_CFLAGS} -I${TCL_GENERIC_DIR} \
+ -Idevice -Ievents -Irb -Ipatch -Ismf -Isong -I.
+
+ TCLMFILES = tclmCmd.o tclmUtil.o tclmEvnt.o tclmPlay.o tclmPtch.o TclmIntp.o
+@@ -101,7 +101,7 @@
+
+ install: $(PROJ_LIB_NAME) $(SCRIPTS)
+ -mkdir -p $(prefix)$(libdir)/tclmidi
+- @INSTALL_DATA@ $(PROJ_LIB_NAME) $(prefix)$(libdir)/tclmidi
++ @INSTALL_DATA@ -s $(PROJ_LIB_NAME) $(prefix)$(libdir)/tclmidi
+ echo 'pkg_mkIndex $(prefix)$(libdir)/tclmidi \
+ $(PROJECT)*${SHLIB_SUFFIX}' | @TCLSH_PATH@
+ cd man; $(MAKE) install
diff --git a/audio/tclmidi/pkg-comment b/audio/tclmidi/pkg-comment
new file mode 100644
index 000000000000..733376d3bd8a
--- /dev/null
+++ b/audio/tclmidi/pkg-comment
@@ -0,0 +1 @@
+A language designed for creating and editing standard MIDI files
diff --git a/audio/tclmidi/pkg-descr b/audio/tclmidi/pkg-descr
new file mode 100644
index 000000000000..9546c2afe14e
--- /dev/null
+++ b/audio/tclmidi/pkg-descr
@@ -0,0 +1,9 @@
+Tclmidi is language designed for creating and editing standard
+MIDI files. With the proper device interface it will also play
+and record MIDI files. Since tclmidi is a language supporting
+function calls, recursion and conditionals, you can use these
+features for editing, sequencing and writing complex scripts.
+The brave might even want to try their hand at algorithmic
+composition.
+
+WWW: http://jagger.me.berkeley.edu/~greg/tclmidi/
diff --git a/audio/tclmidi/pkg-message b/audio/tclmidi/pkg-message
new file mode 100644
index 000000000000..8e2d9f8698be
--- /dev/null
+++ b/audio/tclmidi/pkg-message
@@ -0,0 +1,7 @@
+IMPORTANT:
+Now you should add /usr/local/lib/tclmidi to your
+TCLLIBPATH environment variable!
+
+For example (with [t]csh:
+setenv TCLLIBPATH "/usr/local/lib/tclmidi /usr/local/lib/tcl8.0"
+
diff --git a/audio/tclmidi/pkg-plist b/audio/tclmidi/pkg-plist
new file mode 100644
index 000000000000..62d6da175980
--- /dev/null
+++ b/audio/tclmidi/pkg-plist
@@ -0,0 +1,7 @@
+bin/midtotcl
+bin/minfo
+bin/mplay
+bin/mrec
+lib/tclmidi/pkgIndex.tcl
+lib/tclmidi/tclmidi31.so
+@dirrm lib/tclmidi