diff --git a/devel/hs-drift/Makefile b/devel/hs-drift/Makefile index 09964e3bf674..ca8d20f4b040 100644 --- a/devel/hs-drift/Makefile +++ b/devel/hs-drift/Makefile @@ -5,34 +5,36 @@ # $FreeBSD$ PORTNAME= drift -PORTVERSION= 2.0.r4 +PORTVERSION= 2.0.1 CATEGORIES= devel haskell MASTER_SITES= http://repetae.net/john/computer/haskell/DrIFT/drop/ PKGNAMEPREFIX= hs- -DISTNAME= DrIFT-${PORTVERSION:S/.r/rc/} +DISTNAME= DrIFT-${PORTVERSION} MAINTAINER= obraun@FreeBSD.org COMMENT= A type sensitive preprocessor for Haskell -.if !defined(WITH_GHC) -BUILD_DEPENDS= nhc98:${PORTSDIR}/lang/nhc98 -.else +.if !defined(WITH_NHC98) BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc +.else +BUILD_DEPENDS= nhc98:${PORTSDIR}/lang/nhc98 .endif HAS_CONFIGURE= yes -.if !defined(WITH_GHC) -CONFIGURE_ARGS+= --with-hc=nhc98 -.else +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 nhc98." - @${ECHO} " Define WITH_GHC to build with ghc." + @${ECHO} " DrIFT will be build with ghc" + @${ECHO} " Define WITH_NHC98 to build with nhc98." @${ECHO} "" .endif diff --git a/devel/hs-drift/distinfo b/devel/hs-drift/distinfo index d8452db43025..a50c88c0726e 100644 --- a/devel/hs-drift/distinfo +++ b/devel/hs-drift/distinfo @@ -1 +1 @@ -MD5 (DrIFT-2.0rc4.tar.gz) = 99f202b12bfff1acddd3af98af8afe80 +MD5 (DrIFT-2.0.1.tar.gz) = c4e50e0b12ee2804fb9374c70162e660 diff --git a/devel/hs-drift/pkg-plist b/devel/hs-drift/pkg-plist index cbb6bd37cd48..aad72265ef66 100644 --- a/devel/hs-drift/pkg-plist +++ b/devel/hs-drift/pkg-plist @@ -1,4 +1 @@ bin/DrIFT -@unexec install-info --delete %D/info/drift.info %D/info/dir -info/drift.info -@exec install-info %D/info/drift.info %D/info/dir