1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

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>
This commit is contained in:
Wen Heping 2010-05-05 06:45:58 +00:00
parent 8a63072c03
commit f31225a586
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=253720
5 changed files with 44 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -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