b4d2ac42d7
- Shared lib version and PORTREVISION bumb for all affected ports. While I'm here: - Remove USE_MESA knob where it was (35 ports). It marked as depricated for 2 years. PR: ports/90247 Submitted by: Ermal Lu?i <eri--@albabsd.org>
48 lines
1 KiB
Makefile
48 lines
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.1.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel haskell
|
|
MASTER_SITES= http://repetae.net/john/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
|
|
.else
|
|
BUILD_DEPENDS= nhc98:${PORTSDIR}/lang/nhc98
|
|
.endif
|
|
|
|
HAS_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>
|