2002-08-26 15:36:50 +02:00
|
|
|
# New ports collection makefile for: green-card
|
|
|
|
# Date created: 01 June 2002
|
|
|
|
# Whom: Oliver Braun <obraun@informatik.unibw-muenchen.de>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= green-card
|
2005-07-22 09:53:11 +02:00
|
|
|
PORTVERSION= 3.0.1
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 2
|
2002-11-20 10:10:55 +01:00
|
|
|
CATEGORIES= devel haskell
|
2005-07-22 09:53:11 +02:00
|
|
|
MASTER_SITES= http://haskell.org/greencard/downloads/
|
2002-09-04 20:39:09 +02:00
|
|
|
PKGNAMEPREFIX= hs-
|
2005-07-22 09:53:11 +02:00
|
|
|
DISTNAME= greencard-${GC_VERSION}-src
|
2002-08-26 15:36:50 +02:00
|
|
|
|
2004-03-06 22:29:59 +01:00
|
|
|
MAINTAINER= haskell@FreeBSD.org
|
2003-02-18 11:50:48 +01:00
|
|
|
COMMENT= A foreign function interface preprocessor for Haskell
|
2002-08-26 15:36:50 +02:00
|
|
|
|
2007-02-13 05:54:53 +01:00
|
|
|
BROKEN= Does not build with latest GHC
|
|
|
|
DEPRECATED= "${BROKEN}"
|
|
|
|
EXPIRATION_DATE=2007-09-01
|
|
|
|
|
2005-07-22 09:53:11 +02:00
|
|
|
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
|
2002-08-26 15:36:50 +02:00
|
|
|
|
2005-07-22 09:53:11 +02:00
|
|
|
WRKSRC= ${WRKDIR}/greencard-${GC_VERSION}
|
|
|
|
GC_VERSION= 3.01
|
|
|
|
GCLIBDIR= ${PREFIX}/lib/greencard-${GC_VERSION}
|
|
|
|
PLIST_SUB+= GC_VERSION=${GC_VERSION}
|
2002-08-26 15:36:50 +02:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2005-07-25 08:48:15 +02:00
|
|
|
MAKE_ARGS= FOR_SYSTEM=GHC
|
2002-08-26 15:36:50 +02:00
|
|
|
|
2005-07-22 09:53:11 +02:00
|
|
|
pre-install:
|
|
|
|
${MKDIR} ${GCLIBDIR}/Foreign ${GCLIBDIR}/imports/Foreign
|
2002-08-26 15:36:50 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|