# Created by: Phillip Neumann <pneumann@gmail.com>
# $FreeBSD: branches/RELEASE_8_4_0/lang/fsharp/Makefile 315634 2013-03-31 13:11:04Z pgj $

PORTNAME=	fsharp
PORTVERSION=	3.0.25
PORTREVISION=	1
CATEGORIES=	lang
MASTER_SITES=	https://nodeload.github.com/fsharp/fsharp/tar.gz/ \
		CRITICAL
DISTFILES=	${PORTVERSION}

MAINTAINER=	mono@FreeBSD.org
COMMENT=	Functional and object-oriented language for the .NET platform
LICENSE=	AL2

BUILD_DEPENDS=	mono>=3.0:${PORTSDIR}/lang/mono
RUN_DEPENDS=	mono>=3.0:${PORTSDIR}/lang/mono

USE_GMAKE=	yes
USE_AUTOTOOLS=	autoconf
USE_PKGCONFIG=	build

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

# This is currently a workaround for the differences between pkg_* and pkg(8).
.if defined(WITH_PKGNG)
PLIST_SUB+=	LB="${LOCALBASE}/"
.else
PLIST_SUB+=	LB=""
.endif

.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
.include <bsd.port.mk>
