aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libumidi
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2011-06-23 20:54:14 +0800
committerkwm <kwm@FreeBSD.org>2011-06-23 20:54:14 +0800
commitfee2025ccc1f5a1e56956acd714d3aa40979a2e0 (patch)
treee7fbe0bda120f211b1a2d51336ded4156a61bb54 /audio/libumidi
parent98c68aa36c3f7f8a7e71fa9f0a45763b91e025e0 (diff)
downloadfreebsd-ports-gnome-fee2025ccc1f5a1e56956acd714d3aa40979a2e0.tar.gz
freebsd-ports-gnome-fee2025ccc1f5a1e56956acd714d3aa40979a2e0.tar.zst
freebsd-ports-gnome-fee2025ccc1f5a1e56956acd714d3aa40979a2e0.zip
Add libumidi.
General purpose MIDI library. Submitted by: Hans Petter Selasky <hselasky@FreeBSD.org>
Diffstat (limited to 'audio/libumidi')
-rw-r--r--audio/libumidi/Makefile38
-rw-r--r--audio/libumidi/distinfo2
-rw-r--r--audio/libumidi/pkg-descr7
-rw-r--r--audio/libumidi/pkg-plist4
4 files changed, 51 insertions, 0 deletions
diff --git a/audio/libumidi/Makefile b/audio/libumidi/Makefile
new file mode 100644
index 000000000000..f78492fde5da
--- /dev/null
+++ b/audio/libumidi/Makefile
@@ -0,0 +1,38 @@
+# Ports collection makefile for: libumidi
+# Date created: 21 June 2011
+# Whom: Hans Petter Selasky <hselasky@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libumidi
+PORTVERSION= 2.0.0
+CATEGORIES= audio
+MASTER_SITES= http://www.selasky.org/hans_petter/distfiles/ \
+ http://hselasky.homeunix.org:8192/distfiles/
+
+MAINTAINER= hselasky@FreeBSD.org
+COMMENT= A universal general purpose MIDI library
+
+LICENSE= BSD
+USE_BZIP2= yes
+MAN3= umidi20.3
+MANCOMPRESSED= yes
+
+OPTIONS= DEBUG "Build with debugging support" Off \
+ JACK "Build with Jack support" On
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_JACK)
+MAKE_ARGS+=" HAVE_JACK=YES"
+LIB_DEPENDS= jack.0:${PORTSDIR}/audio/jack
+.endif
+
+.if defined(WITH_DEBUG)
+MAKE_ARGS+=" HAVE_DEBUG=YES"
+.endif
+
+MAKE_ARGS+=" HAVE_MAN=YES"
+
+.include <bsd.port.mk>
diff --git a/audio/libumidi/distinfo b/audio/libumidi/distinfo
new file mode 100644
index 000000000000..41f407d269a3
--- /dev/null
+++ b/audio/libumidi/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libumidi-2.0.0.tar.bz2) = 107b9d023739a0d69b8d2e162aa42215e606db3bba62d35bf1e3d499598eb819
+SIZE (libumidi-2.0.0.tar.bz2) = 21190
diff --git a/audio/libumidi/pkg-descr b/audio/libumidi/pkg-descr
new file mode 100644
index 000000000000..bd1abc6ce389
--- /dev/null
+++ b/audio/libumidi/pkg-descr
@@ -0,0 +1,7 @@
+The universal MIDI library is a multithreaded MIDI processing toolkit
+which can be used by realtime and non-realtime applications to load,
+save, modify and playback MIDI files. The umidi20 library supports
+direct playback and recording through JACK MIDI, FIFOs and character
+device nodes.
+
+WWW: http://www.selasky.org/hans_petter/midistudio
diff --git a/audio/libumidi/pkg-plist b/audio/libumidi/pkg-plist
new file mode 100644
index 000000000000..92bf47fcb4d5
--- /dev/null
+++ b/audio/libumidi/pkg-plist
@@ -0,0 +1,4 @@
+include/umidi20.h
+lib/libumidi20.a
+lib/libumidi20.so
+lib/libumidi20.so.1