2002-08-21 22:49:30 +02:00
|
|
|
# New ports collection makefile for: drift
|
|
|
|
# Date created: 13 August 2002
|
|
|
|
# Whom: Oliver Braun <obraun@informatik.unibw-muenchen.de>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= drift
|
2004-01-29 23:00:38 +01:00
|
|
|
PORTVERSION= 2.0.3
|
2002-11-20 10:10:55 +01:00
|
|
|
CATEGORIES= devel haskell
|
2003-05-15 13:09:25 +02:00
|
|
|
MASTER_SITES= http://repetae.net/john/computer/haskell/DrIFT/drop/
|
2002-09-04 20:39:09 +02:00
|
|
|
PKGNAMEPREFIX= hs-
|
2003-10-29 10:40:05 +01:00
|
|
|
DISTNAME= DrIFT-${PORTVERSION}
|
2002-08-21 22:49:30 +02:00
|
|
|
|
2002-08-21 23:43:19 +02:00
|
|
|
MAINTAINER= obraun@FreeBSD.org
|
2003-02-18 11:50:48 +01:00
|
|
|
COMMENT= A type sensitive preprocessor for Haskell
|
2002-08-21 22:49:30 +02:00
|
|
|
|
2003-10-29 10:40:05 +01:00
|
|
|
.if !defined(WITH_NHC98)
|
2002-08-21 22:49:30 +02:00
|
|
|
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
|
2003-10-29 10:40:05 +01:00
|
|
|
.else
|
|
|
|
BUILD_DEPENDS= nhc98:${PORTSDIR}/lang/nhc98
|
2002-08-21 22:49:30 +02:00
|
|
|
.endif
|
|
|
|
|
2004-01-31 12:16:48 +01:00
|
|
|
USE_SIZE= yes
|
2002-08-21 22:49:30 +02:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
|
2003-10-29 10:40:05 +01:00
|
|
|
INFO= drift
|
|
|
|
|
|
|
|
.if !defined(WITH_NHC98)
|
2002-08-21 22:49:30 +02:00
|
|
|
CONFIGURE_ARGS+= --with-hc=ghc
|
2003-10-29 10:40:05 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --with-hc=nhc98
|
2002-08-21 22:49:30 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITH_GHC)
|
2003-02-28 23:53:02 +01:00
|
|
|
pre-everything::
|
2002-08-21 22:49:30 +02:00
|
|
|
@${ECHO} ""
|
2003-10-29 10:40:05 +01:00
|
|
|
@${ECHO} " DrIFT will be build with ghc"
|
|
|
|
@${ECHO} " Define WITH_NHC98 to build with nhc98."
|
2002-08-21 22:49:30 +02:00
|
|
|
@${ECHO} ""
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|