freebsd-ports/lang/mono/Makefile
Joe Marcus Clarke 5a528c2932 Update to 0.95 (aka Mono 1.0 Beta 2). With this commit, plus David Xu's
KSE signal fixes from 6/12/2004, Mono now works on both 4.X and -CURRENT
(well, all but two benchmarks build and run successfully on both 4.X and
-CURRENT).

Note: you may need to rm -r ~/.wapi before building if you've tried older
versions of Mono.
2004-06-12 22:08:56 +00:00

47 lines
1.2 KiB
Makefile

# New ports collection makefile for: mono
# Date created: 22 July 2002
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= mono
PORTVERSION= 0.95
CATEGORIES= lang
MASTER_SITES= http://www.go-mono.com/archive/beta2/
MAINTAINER= ports@FreeBSD.org
COMMENT= An open source implementation of .NET Development Framework
USE_REINPLACE= yes
USE_BISON= yes
USE_GNOME= gnomehack glib20 pkgconfig
USE_GMAKE= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --program-transform-name=\'\' \
--with-gc=included
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAN1= cert2spc.1 certmgr.1 chktrust.1 cilc.1 disco.1 gacutil.1 \
genxs.1 ilasm.1 makecert.1 mcs.1 mint.1 mono.1 \
monoburg.1 monodis.1 monop.1 monostyle.1 oldmono.1 secutil.1 \
setreg.1 signcode.1 sn.1 soapsuds.1 sqlsharp.1 wsdl.1 xsd.1
MAN5= mono-config.5
ONLY_FOR_ARCHS= i386
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
EXTRA_PATCHES= ${FILESDIR}/extra-patch-signbit
.elsif ${OSVERSION} < 502113
IGNORE= "Does not work on 5.X before 502113"
.endif
post-patch:
@${FIND} ${WRKSRC} -type f -name configure | ${XARGS} ${REINPLACE_CMD} \
-e 's|-pthread|${PTHREAD_LIBS}|g'
.include <bsd.port.post.mk>