aboutsummaryrefslogtreecommitdiff
path: root/net/libfb
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2010-06-05 09:40:21 +0000
committerMax Khon <fjoe@FreeBSD.org>2010-06-05 09:40:21 +0000
commit48fe8edf3b0476a7d35a5aaa7a2d5b2319c75ea6 (patch)
tree1ec03639f2d00498a93c2aa0a2ab2a7aae1e078f /net/libfb
parentea4274f712dc115e0cda785fb1b3b1df650b741d (diff)
downloadports-48fe8edf3b0476a7d35a5aaa7a2d5b2319c75ea6.tar.gz
ports-48fe8edf3b0476a7d35a5aaa7a2d5b2319c75ea6.zip
Notes
Diffstat (limited to 'net/libfb')
-rw-r--r--net/libfb/Makefile34
-rw-r--r--net/libfb/distinfo3
-rw-r--r--net/libfb/pkg-descr3
-rw-r--r--net/libfb/pkg-plist7
4 files changed, 47 insertions, 0 deletions
diff --git a/net/libfb/Makefile b/net/libfb/Makefile
new file mode 100644
index 000000000000..bc0548a1825e
--- /dev/null
+++ b/net/libfb/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: libfb
+# Date created: 12 Jan 2010
+# Whom: Max Khon <fjoe@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libfb
+PORTVERSION= 2.0.0
+CATEGORIES= net-mgmt
+MASTER_SITES= http://support.red-fone.com/downloads/fonulator/
+
+MAINTAINER= fjoe@FreeBSD.org
+COMMENT= A foneBRIDGE configuration library
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV=\
+ CPPFLAGS="${LIBNET_CPPFLAGS}"\
+ LDFLAGS="${LIBNET_LIBS:N-l*}"
+CONFIGURE_ARGS= --disable-shared
+
+BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet
+LIBNET_CONFIG= ${LOCALBASE}/bin/libnet11-config
+
+.if 0
+# this does not work when LIBNET_CONFIG does not exist prior to building this port
+LIBNET_CPPFLAGS!= ${LIBNET_CONFIG} --cflags --defines
+LIBNET_LIBS!= ${LIBNET_CONFIG} --libs
+.else
+LIBNET_CPPFLAGS= -I${LOCALBASE}/include/libnet11
+LIBNET_LIBS= -L${LOCALBASE}/lib/libnet11
+.endif
+
+.include <bsd.port.mk>
diff --git a/net/libfb/distinfo b/net/libfb/distinfo
new file mode 100644
index 000000000000..e7d77cd72a68
--- /dev/null
+++ b/net/libfb/distinfo
@@ -0,0 +1,3 @@
+MD5 (libfb-2.0.0.tar.gz) = fa5b3afc6e5e0d90078f681654fae0f8
+SHA256 (libfb-2.0.0.tar.gz) = a31c05b74ee5b8896314629d00c95e22622ecdacc157ac2c83714b330c066af9
+SIZE (libfb-2.0.0.tar.gz) = 923533
diff --git a/net/libfb/pkg-descr b/net/libfb/pkg-descr
new file mode 100644
index 000000000000..939423708577
--- /dev/null
+++ b/net/libfb/pkg-descr
@@ -0,0 +1,3 @@
+A foneBRIDGE configuration library.
+
+WWW: http://red-fone.com/
diff --git a/net/libfb/pkg-plist b/net/libfb/pkg-plist
new file mode 100644
index 000000000000..e3ca3bb80ab3
--- /dev/null
+++ b/net/libfb/pkg-plist
@@ -0,0 +1,7 @@
+include/libfb/fb_config.h
+include/libfb/fb_context.h
+include/libfb/fb_lib.h
+include/libfb/sha1.h
+lib/libfb.a
+lib/libfb.la
+@dirrm include/libfb