diff options
author | Gabor Pali <pgj@FreeBSD.org> | 2010-05-19 12:10:17 +0000 |
---|---|---|
committer | Gabor Pali <pgj@FreeBSD.org> | 2010-05-19 12:10:17 +0000 |
commit | dffa1085b995a75af97392911da74c222e87e3af (patch) | |
tree | 2b57712ffdb89b2c282d69080ff0fe9efffc021b /net/hs-pcap | |
parent | 05d565ebb3d993670b4e614d54a736c91da209f4 (diff) |
A system-independent interface for user-level packet capture.
WWW: http://hackage.haskell.org/package/pcap
PR: ports/146655
Submitted by: Ju Pengfei <jupengfei@gmail.com>
Notes
Notes:
svn path=/head/; revision=254592
Diffstat (limited to 'net/hs-pcap')
-rw-r--r-- | net/hs-pcap/Makefile | 18 | ||||
-rw-r--r-- | net/hs-pcap/distinfo | 3 | ||||
-rw-r--r-- | net/hs-pcap/pkg-descr | 3 | ||||
-rw-r--r-- | net/hs-pcap/pkg-plist | 18 |
4 files changed, 42 insertions, 0 deletions
diff --git a/net/hs-pcap/Makefile b/net/hs-pcap/Makefile new file mode 100644 index 000000000000..6b3af2d83393 --- /dev/null +++ b/net/hs-pcap/Makefile @@ -0,0 +1,18 @@ +# New ports collection makefile for: hs-pcap +# Date created: 17 May 2010 +# Whom: Ju Pengfei <jupengfei@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= pcap +PORTVERSION= 0.4.5 +CATEGORIES= net haskell + +MAINTAINER= jupengfei@gmail.com +COMMENT= A system-independent interface for user-level packet capture + +CABAL_SETUP= Setup.lhs + +.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk" +.include <bsd.port.mk> diff --git a/net/hs-pcap/distinfo b/net/hs-pcap/distinfo new file mode 100644 index 000000000000..9ad1528ece00 --- /dev/null +++ b/net/hs-pcap/distinfo @@ -0,0 +1,3 @@ +MD5 (pcap-0.4.5.tar.gz) = 20ad727de904656106a979ddf32257bc +SHA256 (pcap-0.4.5.tar.gz) = f3b9a93cbee762b7d1f0384ad9a16f686db3c76260e85bc702da792356b5c569 +SIZE (pcap-0.4.5.tar.gz) = 46293 diff --git a/net/hs-pcap/pkg-descr b/net/hs-pcap/pkg-descr new file mode 100644 index 000000000000..cfed7e63d855 --- /dev/null +++ b/net/hs-pcap/pkg-descr @@ -0,0 +1,3 @@ +A system-independent interface for user-level packet capture. + +WWW: http://hackage.haskell.org/package/pcap diff --git a/net/hs-pcap/pkg-plist b/net/hs-pcap/pkg-plist new file mode 100644 index 000000000000..3ab92cedac86 --- /dev/null +++ b/net/hs-pcap/pkg-plist @@ -0,0 +1,18 @@ +@comment $FreeBSD$ +%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/include/pcapconfig.h +%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/Pcap/Base.hi +%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/Pcap.hi +%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHS%%PORTNAME%%-%%PORTVERSION%%.a +%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HS%%PORTNAME%%-%%PORTVERSION%%.o +%%LIBDIR_REL%%/register.sh +%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE +%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%% +@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/include +@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/Pcap +@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network +@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%% +@dirrm %%LIBDIR_REL%% +@exec /bin/sh %D/%%LIBDIR_REL%%/register.sh +@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old +@unexec %D/bin/ghc-pkg unregister %%PORTNAME%%-%%PORTVERSION%% +@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old |