summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2011-10-06 11:50:09 +0000
committerryoon <ryoon@pkgsrc.org>2011-10-06 11:50:09 +0000
commit01a97cd3936057d272cf69e886e1702d7f0b9179 (patch)
tree6f2665776629f79528410b10b5b41345e3d7688e /audio
parent9a7431803a40eda63743272b3788bdf50178404c (diff)
downloadpkgsrc-01a97cd3936057d272cf69e886e1702d7f0b9179.tar.gz
Import libsmf-1.3 from wip/libsmf
LibSMF is a BSD-licensed C library for handling SMF ("*.mid") files. It transparently handles conversions between time and pulses, tempo map handling etc. The only dependencies are C compiler and glib. Full API documentation and examples are included.
Diffstat (limited to 'audio')
-rw-r--r--audio/libsmf/DESCR4
-rw-r--r--audio/libsmf/Makefile22
-rw-r--r--audio/libsmf/PLIST6
-rw-r--r--audio/libsmf/buildlink3.mk13
-rw-r--r--audio/libsmf/distinfo5
5 files changed, 50 insertions, 0 deletions
diff --git a/audio/libsmf/DESCR b/audio/libsmf/DESCR
new file mode 100644
index 00000000000..389aebaf439
--- /dev/null
+++ b/audio/libsmf/DESCR
@@ -0,0 +1,4 @@
+LibSMF is a BSD-licensed C library for handling SMF ("*.mid") files.
+It transparently handles conversions between time and pulses, tempo
+map handling etc. The only dependencies are C compiler and glib.
+Full API documentation and examples are included.
diff --git a/audio/libsmf/Makefile b/audio/libsmf/Makefile
new file mode 100644
index 00000000000..8fbdccb0c29
--- /dev/null
+++ b/audio/libsmf/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/10/06 11:50:09 ryoon Exp $
+#
+
+DISTNAME= libsmf-1.3
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libsmf/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://sourceforge.net/projects/libsmf/
+COMMENT= Standard MIDI File format library
+LICENSE= 2-clause-bsd
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+
+PKGCONFIG_OVERRIDE+= smf.pc.in
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/libsmf/PLIST b/audio/libsmf/PLIST
new file mode 100644
index 00000000000..baa181b99a1
--- /dev/null
+++ b/audio/libsmf/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/10/06 11:50:09 ryoon Exp $
+bin/smfsh
+include/smf.h
+lib/libsmf.la
+lib/pkgconfig/smf.pc
+man/man1/smfsh.1
diff --git a/audio/libsmf/buildlink3.mk b/audio/libsmf/buildlink3.mk
new file mode 100644
index 00000000000..6eb8ceffe46
--- /dev/null
+++ b/audio/libsmf/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2011/10/06 11:50:09 ryoon Exp $
+
+BUILDLINK_TREE+= libsmf
+
+.if !defined(LIBSMF_BUILDLINK3_MK)
+LIBSMF_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libsmf+= libsmf>=1.3
+BUILDLINK_PKGSRCDIR.libsmf?= ../../audio/libsmf
+
+.endif # LIBSMF_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libsmf
diff --git a/audio/libsmf/distinfo b/audio/libsmf/distinfo
new file mode 100644
index 00000000000..23d8198b1df
--- /dev/null
+++ b/audio/libsmf/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/10/06 11:50:09 ryoon Exp $
+
+SHA1 (libsmf-1.3.tar.gz) = b2fb0ece095e77f04a9ff7532a88fe79533b2c47
+RMD160 (libsmf-1.3.tar.gz) = c6c15191b3c1dff313a3a9f16e8050910c65ede9
+Size (libsmf-1.3.tar.gz) = 545850 bytes