summaryrefslogtreecommitdiff
path: root/net/libmms
diff options
context:
space:
mode:
Diffstat (limited to 'net/libmms')
-rw-r--r--net/libmms/DESCR2
-rw-r--r--net/libmms/Makefile30
-rw-r--r--net/libmms/PLIST8
-rw-r--r--net/libmms/buildlink3.mk20
-rw-r--r--net/libmms/distinfo5
5 files changed, 65 insertions, 0 deletions
diff --git a/net/libmms/DESCR b/net/libmms/DESCR
new file mode 100644
index 00000000000..2a3a08e8b75
--- /dev/null
+++ b/net/libmms/DESCR
@@ -0,0 +1,2 @@
+LibMMS aims to be a common mms:// and mmsh:// (Microsoft streaming protocols)
+parsing library, licensed under LGPL.
diff --git a/net/libmms/Makefile b/net/libmms/Makefile
new file mode 100644
index 00000000000..9fe4eb8f6d4
--- /dev/null
+++ b/net/libmms/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/09/10 16:17:34 xtraeme Exp $
+#
+
+DISTNAME= libmms-0.3
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libmms/}
+
+MAINTAINER= jfranz@bsdprojects.net
+HOMEPAGE= http://sourceforge.net/projects/libmms
+COMMENT= Library for parsing mms:// and mmsh:// type network streams
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "FreeBSD"
+SUBST_CLASSES= includes
+SUBST_STAGE.includes= post-patch
+SUBST_FILES.includes= src/uri.c
+SUBST_SED.includes= -e "s|malloc.h|stdlib.h|"
+SUBST_MESSAGE.includes= Replacing malloc.h with stdlib.h for FreeBSD.
+.endif
+
+PKGCONFIG_OVERRIDE+= pkgconfig/libmms.pc.in
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/libmms/PLIST b/net/libmms/PLIST
new file mode 100644
index 00000000000..2b941f6db6f
--- /dev/null
+++ b/net/libmms/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/09/10 16:17:34 xtraeme Exp $
+include/libmms/bswap.h
+include/libmms/mms.h
+include/libmms/mmsh.h
+include/libmms/mmsio.h
+lib/libmms.la
+lib/pkgconfig/libmms.pc
+@dirrm include/libmms
diff --git a/net/libmms/buildlink3.mk b/net/libmms/buildlink3.mk
new file mode 100644
index 00000000000..6f5abcf6282
--- /dev/null
+++ b/net/libmms/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/09/10 16:17:34 xtraeme Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBMMS_BUILDLINK3_MK:= ${LIBMMS_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= libmms
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmms}
+BUILDLINK_PACKAGES+= libmms
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libmms
+
+.if ${LIBMMS_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.libmms+= libmms>=0.3
+BUILDLINK_PKGSRCDIR.libmms?= ../../net/libmms
+BUILDLINK_DEPMETHOD.libmms?= build
+.endif # LIBMMS_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/net/libmms/distinfo b/net/libmms/distinfo
new file mode 100644
index 00000000000..ae97aa89ed1
--- /dev/null
+++ b/net/libmms/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/09/10 16:17:34 xtraeme Exp $
+
+SHA1 (libmms-0.3.tar.gz) = a0774efbc91b6bb4ba2211bc4936bbbf798ec386
+RMD160 (libmms-0.3.tar.gz) = 9de71af7ad5a056ce3554bdfcb5219504aa4d8e4
+Size (libmms-0.3.tar.gz) = 342714 bytes