aboutsummaryrefslogtreecommitdiff
path: root/net/hs-network-info
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2012-12-20 02:23:04 +0000
committerGabor Pali <pgj@FreeBSD.org>2012-12-20 02:23:04 +0000
commitf6f83c9efc2c46d2970746758e2c682bb8a518ec (patch)
tree290f2ea61305744bf0f477895c56b92acaeb361f /net/hs-network-info
parentaf071cfdc1f8578bd1523b823e683074a3139a34 (diff)
downloadports-f6f83c9efc2c46d2970746758e2c682bb8a518ec.tar.gz
ports-f6f83c9efc2c46d2970746758e2c682bb8a518ec.zip
Notes
Diffstat (limited to 'net/hs-network-info')
-rw-r--r--net/hs-network-info/Makefile15
-rw-r--r--net/hs-network-info/distinfo2
-rw-r--r--net/hs-network-info/pkg-descr7
3 files changed, 24 insertions, 0 deletions
diff --git a/net/hs-network-info/Makefile b/net/hs-network-info/Makefile
new file mode 100644
index 000000000000..eefe943ba238
--- /dev/null
+++ b/net/hs-network-info/Makefile
@@ -0,0 +1,15 @@
+# $FreeBSD$
+
+PORTNAME= network-info
+PORTVERSION= 0.2.0.3
+CATEGORIES= net haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= Access the local computer's basic network configuration
+
+LICENSE= BSD
+
+CABAL_SETUP= Setup.hs
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/net/hs-network-info/distinfo b/net/hs-network-info/distinfo
new file mode 100644
index 000000000000..b80aeea6f6ed
--- /dev/null
+++ b/net/hs-network-info/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cabal/network-info-0.2.0.3.tar.gz) = 42e79146828b3e7dfeca884a4be4fe79f7a84bc4471d8cf1ecf7ea3c55a1dc12
+SIZE (cabal/network-info-0.2.0.3.tar.gz) = 5644
diff --git a/net/hs-network-info/pkg-descr b/net/hs-network-info/pkg-descr
new file mode 100644
index 000000000000..17d9f8557cd5
--- /dev/null
+++ b/net/hs-network-info/pkg-descr
@@ -0,0 +1,7 @@
+This library provides simple read-only access to the local computer's
+networking configuration. It is currently capable of getting a list of
+all the network interfaces and their respective IPv4, IPv6 and MAC addresses.
+network-info has been tested and is known to work on Ubuntu 10.10, Mac OS
+X 10.6.4 and Windows XP.
+
+WWW: http://github.com/jystic/network-info