* Upgrade to 2.0.1.
* Utilise INFO. * Change default compiler to lang/ghc and include WITH_NHC98 to compile with lang/nhc98.
This commit is contained in:
parent
1f23fefd38
commit
1e78409ab7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92552
3 changed files with 13 additions and 14 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (DrIFT-2.0rc4.tar.gz) = 99f202b12bfff1acddd3af98af8afe80
|
||||
MD5 (DrIFT-2.0.1.tar.gz) = c4e50e0b12ee2804fb9374c70162e660
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue