From 29be4364a8c987c7709d28abc2a9b349775604b3 Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala Date: Mon, 29 Mar 2010 19:50:33 +0000 Subject: [PATCH] LibSMF is a BSD-licensed C library for handling SMF ("*.mid") files. It transparently handles timepulses conversions, tempo map handling etc. The only dependencies are C compiler and glib. Full API documentation and examples are included. WWW: http://sourceforge.net/projects/libsmf/ --- audio/Makefile | 1 + audio/libsmf/Makefile | 23 +++++++++++++++++++++++ audio/libsmf/distinfo | 3 +++ audio/libsmf/pkg-descr | 6 ++++++ audio/libsmf/pkg-plist | 7 +++++++ 5 files changed, 40 insertions(+) create mode 100644 audio/libsmf/Makefile create mode 100644 audio/libsmf/distinfo create mode 100644 audio/libsmf/pkg-descr create mode 100644 audio/libsmf/pkg-plist diff --git a/audio/Makefile b/audio/Makefile index 965695cd5cf4..dc249cbf5a72 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -375,6 +375,7 @@ SUBDIR += libshout2 SUBDIR += libsidplay SUBDIR += libsidplay2 + SUBDIR += libsmf SUBDIR += libsndfile SUBDIR += libtremor SUBDIR += libtunepimp diff --git a/audio/libsmf/Makefile b/audio/libsmf/Makefile new file mode 100644 index 000000000000..e2e996337644 --- /dev/null +++ b/audio/libsmf/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: libsmf +# Date created: 2010-03-29 +# Whom: Edward Tomasz Napierala +# +# $FreeBSD$ +# + +PORTNAME= libsmf +PORTVERSION= 1.3 +CATEGORIES= audio +MASTER_SITES= SF + +MAINTAINER= trasz@FreeBSD.org +COMMENT= Standard MIDI File format library + +LIB_DEPENDS+= readline.6:${PORTSDIR}/devel/readline + +USE_GNOME= glib20 gnomehack +USE_LDCONFIG= yes +GNU_CONFIGURE= yes +MAN1= smfsh.1 + +.include diff --git a/audio/libsmf/distinfo b/audio/libsmf/distinfo new file mode 100644 index 000000000000..96590a95c433 --- /dev/null +++ b/audio/libsmf/distinfo @@ -0,0 +1,3 @@ +MD5 (libsmf-1.3.tar.gz) = eb698f1bc0bad9d5bce4c10386347486 +SHA256 (libsmf-1.3.tar.gz) = d3549f15de94ac8905ad365639ac6a2689cb1b51fdfa02d77fa6640001b18099 +SIZE (libsmf-1.3.tar.gz) = 545850 diff --git a/audio/libsmf/pkg-descr b/audio/libsmf/pkg-descr new file mode 100644 index 000000000000..bf597626dc24 --- /dev/null +++ b/audio/libsmf/pkg-descr @@ -0,0 +1,6 @@ +LibSMF is a BSD-licensed C library for handling SMF ("*.mid") files. +It transparently handles timepulses conversions, tempo map handling +etc. The only dependencies are C compiler and glib. Full API +documentation and examples are included. + +WWW: http://sourceforge.net/projects/libsmf/ diff --git a/audio/libsmf/pkg-plist b/audio/libsmf/pkg-plist new file mode 100644 index 000000000000..d2c483d0bf9e --- /dev/null +++ b/audio/libsmf/pkg-plist @@ -0,0 +1,7 @@ +bin/smfsh +include/smf.h +lib/libsmf.so.0 +lib/libsmf.so +lib/libsmf.la +lib/libsmf.a +libdata/pkgconfig/smf.pc