1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/devel/hs-drift/Makefile
Oliver Braun 1e78409ab7 * Upgrade to 2.0.1.
* Utilise INFO.
* Change default compiler to lang/ghc and include WITH_NHC98 to compile with
  lang/nhc98.
2003-10-29 09:40:05 +00:00

42 lines
867 B
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.0.1
CATEGORIES= devel haskell
MASTER_SITES= http://repetae.net/john/computer/haskell/DrIFT/drop/
PKGNAMEPREFIX= hs-
DISTNAME= DrIFT-${PORTVERSION}
MAINTAINER= obraun@FreeBSD.org
COMMENT= A type sensitive preprocessor for Haskell
.if !defined(WITH_NHC98)
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
.else
BUILD_DEPENDS= nhc98:${PORTSDIR}/lang/nhc98
.endif
HAS_CONFIGURE= yes
INFO= drift
.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.mk>