2002-07-22 15:41:43 +02:00
|
|
|
# New ports collection makefile for: mono
|
|
|
|
# Date created: 22 July 2002
|
|
|
|
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
|
|
|
|
#
|
2005-02-27 05:27:54 +01:00
|
|
|
# $Id: Makefile,v 1.20 2005/02/23 23:26:44 tmclau02 Exp $
|
2002-07-22 15:41:43 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mono
|
2005-02-27 05:27:54 +01:00
|
|
|
PORTVERSION= 1.0.6
|
2002-07-22 15:41:43 +02:00
|
|
|
CATEGORIES= lang
|
2004-11-26 06:44:10 +01:00
|
|
|
MASTER_SITES= http://www.go-mono.com/archive/${PORTVERSION}/
|
2002-07-22 15:41:43 +02:00
|
|
|
|
2005-02-19 21:54:15 +01:00
|
|
|
MAINTAINER= bsd-sharp-list@forge.novell.com
|
2003-02-26 03:28:59 +01:00
|
|
|
COMMENT= An open source implementation of .NET Development Framework
|
2005-02-27 05:27:54 +01:00
|
|
|
|
|
|
|
CONFLICTS= mono-devel-*
|
2002-07-22 15:41:43 +02:00
|
|
|
|
|
|
|
USE_REINPLACE= yes
|
2002-07-28 19:12:13 +02:00
|
|
|
USE_BISON= yes
|
2004-11-26 06:44:10 +01:00
|
|
|
USE_GNOME= gnomehack glib20
|
2003-10-06 19:55:54 +02:00
|
|
|
USE_GMAKE= yes
|
2004-11-26 06:44:10 +01:00
|
|
|
LIBTOOLFILES= configure libgc/configure
|
|
|
|
USE_LIBTOOL_VER=15
|
2003-01-04 17:57:51 +01:00
|
|
|
INSTALLS_SHLIB= yes
|
2004-07-14 18:40:17 +02:00
|
|
|
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
|
|
|
PTHREAD_LIBS="${PTHREAD_LIBS}"
|
2003-10-07 05:33:38 +02:00
|
|
|
CONFIGURE_ARGS= --program-transform-name=\'\' \
|
2004-06-27 15:03:45 +02:00
|
|
|
--with-gc=included \
|
2004-11-26 06:44:10 +01:00
|
|
|
--with-tls=pthread
|
2002-07-22 15:41:43 +02:00
|
|
|
|
2004-06-13 00:08:56 +02:00
|
|
|
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
|
2002-08-03 15:12:47 +02:00
|
|
|
MAN5= mono-config.5
|
2002-07-22 15:41:43 +02:00
|
|
|
|
2003-10-06 19:55:54 +02:00
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
2004-12-10 20:46:49 +01:00
|
|
|
MAKE_ENV=MONO_SHARED_DIR=${WRKDIR}
|
|
|
|
|
2003-10-07 05:33:38 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
EXTRA_PATCHES= ${FILESDIR}/extra-patch-signbit
|
2004-11-26 06:44:10 +01:00
|
|
|
.elif ${OSVERSION} < 503000
|
|
|
|
IGNORE= "Does not work on 5.X before 503000"
|
2003-10-07 05:33:38 +02:00
|
|
|
.endif
|
|
|
|
|
2004-11-26 06:44:10 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' \
|
|
|
|
${WRKSRC}/mono/metadata/assembly.c
|
|
|
|
|
2005-01-21 07:13:48 +01:00
|
|
|
pre-su-install:
|
|
|
|
${MKDIR} ${X11BASE}/lib/mono/gac
|
|
|
|
|
2003-10-07 05:33:38 +02:00
|
|
|
.include <bsd.port.post.mk>
|