aboutsummaryrefslogtreecommitdiff
path: root/devel/hs-bsd-sysctl/Makefile
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2010-05-14 01:33:26 +0000
committerGabor Pali <pgj@FreeBSD.org>2010-05-14 01:33:26 +0000
commit3c08fb5a46e6eb86afaa3f88af6ba979f1bca9ad (patch)
tree18a4bc7119eb96622e446db76593d7e3fe8b3a50 /devel/hs-bsd-sysctl/Makefile
parente04829c552da2e6b1f29bb68d9877995f69d7cf4 (diff)
downloadports-3c08fb5a46e6eb86afaa3f88af6ba979f1bca9ad.tar.gz
ports-3c08fb5a46e6eb86afaa3f88af6ba979f1bca9ad.zip
Notes
Diffstat (limited to 'devel/hs-bsd-sysctl/Makefile')
-rw-r--r--devel/hs-bsd-sysctl/Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/devel/hs-bsd-sysctl/Makefile b/devel/hs-bsd-sysctl/Makefile
index 0c5a3b9a7b63..79d5b62fedb7 100644
--- a/devel/hs-bsd-sysctl/Makefile
+++ b/devel/hs-bsd-sysctl/Makefile
@@ -8,20 +8,11 @@
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
+COMMENT= Access to the BSD sysctl(3) interface
-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
+CABAL_SETUP= Setup.hs
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>