mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
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>
This commit is contained in:
parent
05d565ebb3
commit
dffa1085b9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=254592
@ -79,6 +79,7 @@ OpenAL_port= audio/hs-OpenAL
|
||||
OpenGL_port= x11-toolkits/hs-opengl-ghc
|
||||
OpenGLRaw_port= x11-toolkits/hs-OpenGLRaw-ghc
|
||||
pandoc_port= textproc/pandoc # executable
|
||||
pcap_port= net/hs-pcap
|
||||
pcre-light_port= devel/hs-pcre-light-ghc # lib_depends
|
||||
polyparse_port= textproc/hs-polyparse-ghc
|
||||
porte_port= ports-mgmt/porte # executable
|
||||
|
@ -223,6 +223,7 @@
|
||||
SUBDIR += howl
|
||||
SUBDIR += hping
|
||||
SUBDIR += hping-devel
|
||||
SUBDIR += hs-pcap
|
||||
SUBDIR += htpdate
|
||||
SUBDIR += http_ping
|
||||
SUBDIR += httping
|
||||
|
18
net/hs-pcap/Makefile
Normal file
18
net/hs-pcap/Makefile
Normal file
@ -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>
|
3
net/hs-pcap/distinfo
Normal file
3
net/hs-pcap/distinfo
Normal file
@ -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
|
3
net/hs-pcap/pkg-descr
Normal file
3
net/hs-pcap/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
A system-independent interface for user-level packet capture.
|
||||
|
||||
WWW: http://hackage.haskell.org/package/pcap
|
18
net/hs-pcap/pkg-plist
Normal file
18
net/hs-pcap/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user