Applications and Libraries. It is a framework which defines a common interface for authors to more easily build their applications in a portable way. The Haskell Cabal is meant to be a part of a larger infrastructure for distributing, organizing, and cataloging Haskell Libraries and Tools. Specifically, the Cabal describes what a Haskell package is, how these packages interact with the language, and what Haskell implementations must to do to support packages. The Cabal also specifies some infrastructure (code) that makes it easy for tool authors to build and distribute conforming packages.
22 lines
569 B
Makefile
22 lines
569 B
Makefile
# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/11/07 16:51:51 emil_s Exp $
|
|
|
|
BUILDLINK_DEPMETHOD.cabal?= build
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
CABAL_BUILDLINK3_MK:= ${CABAL_BUILDLINK3_MK}+
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
BUILDLINK_DEPENDS+= cabal
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncabal}
|
|
BUILDLINK_PACKAGES+= cabal
|
|
|
|
.if !empty(CABAL_BUILDLINK3_MK:M+)
|
|
BUILDLINK_DEPENDS.cabal+= cabal>=1.1.3
|
|
BUILDLINK_PKGSRCDIR.cabal?= ../../wip/cabal
|
|
.endif # CABAL_BUILDLINK3_MK
|
|
|
|
.include "../../lang/ghc/buildlink3.mk"
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|