diff options
author | Wen Heping <wen@FreeBSD.org> | 2010-05-05 06:45:58 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2010-05-05 06:45:58 +0000 |
commit | f31225a58653c883c4e97cac1b9f7e681b61a155 (patch) | |
tree | 91445fe80beb4d628dbca17527af5df1b9ede6b6 /devel | |
parent | 8a63072c03e5f085f0b91e8a8140a1a9c4368679 (diff) |
This module provides efficient access to the BSD sysctl(3) interface
via the Haskell FFI.
WWW: http://hackage.haskell.org/package/bsd-sysctl
PR: ports/146293
Submitted by: Ju Pengfei <jupengfei@gmail.com>
Notes
Notes:
svn path=/head/; revision=253720
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/hs-bsd-sysctl/Makefile | 27 | ||||
-rw-r--r-- | devel/hs-bsd-sysctl/distinfo | 3 | ||||
-rw-r--r-- | devel/hs-bsd-sysctl/pkg-descr | 4 | ||||
-rw-r--r-- | devel/hs-bsd-sysctl/pkg-plist | 9 |
5 files changed, 44 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 37bdd65b7d41..7f41fd30eed3 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -552,6 +552,7 @@ SUBDIR += hs-alex SUBDIR += hs-arrows SUBDIR += hs-binary-ghc + SUBDIR += hs-bsd-sysctl SUBDIR += hs-c2hs SUBDIR += hs-checkers SUBDIR += hs-convertible diff --git a/devel/hs-bsd-sysctl/Makefile b/devel/hs-bsd-sysctl/Makefile new file mode 100644 index 000000000000..0c5a3b9a7b63 --- /dev/null +++ b/devel/hs-bsd-sysctl/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: hs-bsd-sysctl +# Date created: 04 May 2010 +# Whom: Ju Pengfei <jupengfei@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= bsd-sysctl +PORTVERSION= 1.0.6 +CATEGORIES= devel haskell +MASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/ +PKGNAMEPREFIX= hs- + +MAINTAINER= jupengfei@gmail.com +COMMENT= Access to the BSD sysctl(3) interface via the Haskell FFI + +BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc +RUN_DEPENDS= ${BUILD_DEPENDS} + +do-configure: + cd ${WRKSRC} && runghc Setup.hs configure --prefix=${PREFIX} +do-build: + cd ${WRKSRC} && runghc Setup.hs build +do-install: + cd ${WRKSRC} && runghc Setup.hs install + +.include <bsd.port.mk> diff --git a/devel/hs-bsd-sysctl/distinfo b/devel/hs-bsd-sysctl/distinfo new file mode 100644 index 000000000000..5c3433962ba9 --- /dev/null +++ b/devel/hs-bsd-sysctl/distinfo @@ -0,0 +1,3 @@ +MD5 (bsd-sysctl-1.0.6.tar.gz) = b5faba2541399f914efc66a322ef57e3 +SHA256 (bsd-sysctl-1.0.6.tar.gz) = 22a96060db6937bb5b0388c67bc6c41bd225e14531bb710bf9ffe261985064ca +SIZE (bsd-sysctl-1.0.6.tar.gz) = 6182 diff --git a/devel/hs-bsd-sysctl/pkg-descr b/devel/hs-bsd-sysctl/pkg-descr new file mode 100644 index 000000000000..d8614cddd82b --- /dev/null +++ b/devel/hs-bsd-sysctl/pkg-descr @@ -0,0 +1,4 @@ +This module provides efficient access to the BSD sysctl(3) interface +via the Haskell FFI. + +WWW: http://hackage.haskell.org/package/bsd-sysctl diff --git a/devel/hs-bsd-sysctl/pkg-plist b/devel/hs-bsd-sysctl/pkg-plist new file mode 100644 index 000000000000..1aebb922be90 --- /dev/null +++ b/devel/hs-bsd-sysctl/pkg-plist @@ -0,0 +1,9 @@ +lib/bsd-sysctl-1.0.6/ghc-6.10.4/System/BSD/Sysctl.hi +lib/bsd-sysctl-1.0.6/ghc-6.10.4/libHSbsd-sysctl-1.0.6.a +lib/bsd-sysctl-1.0.6/ghc-6.10.4/HSbsd-sysctl-1.0.6.o +share/doc/bsd-sysctl-1.0.6/LICENSE +@dirrm lib/bsd-sysctl-1.0.6/ghc-6.10.4/System/BSD +@dirrm lib/bsd-sysctl-1.0.6/ghc-6.10.4/System +@dirrm lib/bsd-sysctl-1.0.6/ghc-6.10.4 +@dirrm lib/bsd-sysctl-1.0.6 +@dirrm share/doc/bsd-sysctl-1.0.6 |