# New ports collection makefile for: hs-dataenc # Date created: May 14, 2010 # Whom: Gabor Pali # # $FreeBSD$ # PORTNAME= dataenc PORTVERSION= 0.13.0.2 CATEGORIES= converters haskell MAINTAINER= haskell@FreeBSD.org COMMENT= Data encoding library CABAL_SETUP= Setup.hs OPTIONS= BUILDTESTS "Build unit and quickcheck tests" off .include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk" .include .if defined(WITH_BUILDTESTS) CONFIGURE_ARGS+= --flags="BuildTests" USE_HACKAGE+= QuickCheck>=2.1.0.0 test-framework test-framework-hunit test-framework-quickcheck2 EXECUTABLE+= tests PLIST_SUB+= MAYBE_BUILDTESTS="" .else CONFIGURE_ARGS+= --flags="-BuildTests" PLIST_SUB+= MAYBE_BUILDTESTS="@comment " .endif .include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk" .include