freebsd-ports/devel/hs-drift/Makefile
Ashish SHUKLA 0c76a8384f - Please welcome GHC 7.0.3
GHC in the ports tree has been updated to 7.0.3 and all other Haskell ports
are also updated to their corresponding Haskell Platform versions, or latest
versions.

We would like to acknowledge the support of the FreeBSD Donations Team and
Eotvos Lorand University, Faculty of Informatics who contributed to the server
that we used for testing.

We would also like to thank all the testers who tested FreeBSD Haskell ports
and provided their feedback.

PR:		ports/156642
Approved by:	tabthorpe (mentor)
Obtained from:	FreeBSD Haskell
2011-05-09 05:28:57 +00:00

51 lines
1.1 KiB
Makefile

# New ports collection makefile for: drift
# Date created: 13 August 2002
# Whom: Oliver Braun <obraun@informatik.unibw-muenchen.de>
#
# $FreeBSD$
PORTNAME= drift
PORTVERSION= 2.2.3
PORTREVISION= 3
CATEGORIES= devel haskell
MASTER_SITES= http://repetae.net/computer/haskell/DrIFT/drop/
PKGNAMEPREFIX= hs-
DISTNAME= DrIFT-${PORTVERSION}
MAINTAINER= haskell@FreeBSD.org
COMMENT= A type sensitive preprocessor for Haskell
OPTIONS= NHC98 "Build with nhc98" off \
GHC "Build with ghc" on
.include <bsd.port.pre.mk>
.if !defined(WITH_NHC98)
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp
.else
BUILD_DEPENDS= nhc98:${PORTSDIR}/lang/nhc98
BROKEN= Does not build
.endif
USE_GMAKE= yes
GNU_CONFIGURE= yes
INFO= drift
PLIST_FILES= bin/DrIFT bin/drift-ghc
.if !defined(WITH_NHC98)
CONFIGURE_ARGS+= --with-hc=ghc
.else
CONFIGURE_ARGS+= --with-hc=nhc98
.endif
.if !defined(WITH_GHC)
pre-everything::
@${ECHO} ""
@${ECHO} " DrIFT will be build with ghc"
@${ECHO} " Define WITH_NHC98 to build with nhc98."
@${ECHO} ""
.endif
.include <bsd.port.post.mk>