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>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2009-02-09 10:00:01 +01:00
|
|
|
# $Id: Makefile,v 1.98 2007/12/13 19:31:45 killfill Exp $
|
2002-07-22 15:41:43 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mono
|
- Update lang/mono to 2.6.4;
- Update a bunch of C# ports as well (audio/taglib-sharp, deskutils/tomboy,
devel/mono-tools, devel/monodevelop, devel/monodevelop-boo,
devel/monodevelop-database, devel/monodevelop-java, devel/monodevelop-vala,
graphics/f-spot, lang/boo [1], lang/mono-basic, mail/gmime24, gmime24-sharp,
multimedia/banshee, multimedia/banshee-mirage, multimedia/moonlight,
www/mod_mono, www/webkit-sharp, www/xsp, x11-toolkits/gnome-desktop-sharp20,
x11-toolkits/gtk-sharp20, x11-toolkits/libgdiplus).
PR: ports/143657 [1]
Submitted by: glewis [1]
2010-06-01 14:41:30 +02:00
|
|
|
PORTVERSION= 2.6.4
|
2010-06-01 20:15:06 +02:00
|
|
|
PORTREVISION= 1
|
2002-07-22 15:41:43 +02:00
|
|
|
CATEGORIES= lang
|
2009-06-22 09:55:50 +02:00
|
|
|
MASTER_SITES= http://ftp.novell.com/pub/mono/sources/${PORTNAME}/
|
2002-07-22 15:41:43 +02:00
|
|
|
|
2009-02-09 10:00:01 +01:00
|
|
|
MAINTAINER= mono@FreeBSD.org
|
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
|
|
|
|
- Update lang/mono to 2.6.4;
- Update a bunch of C# ports as well (audio/taglib-sharp, deskutils/tomboy,
devel/mono-tools, devel/monodevelop, devel/monodevelop-boo,
devel/monodevelop-database, devel/monodevelop-java, devel/monodevelop-vala,
graphics/f-spot, lang/boo [1], lang/mono-basic, mail/gmime24, gmime24-sharp,
multimedia/banshee, multimedia/banshee-mirage, multimedia/moonlight,
www/mod_mono, www/webkit-sharp, www/xsp, x11-toolkits/gnome-desktop-sharp20,
x11-toolkits/gtk-sharp20, x11-toolkits/libgdiplus).
PR: ports/143657 [1]
Submitted by: glewis [1]
2010-06-01 14:41:30 +02:00
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser \
|
|
|
|
bash:${PORTSDIR}/shells/bash
|
2002-07-22 15:41:43 +02:00
|
|
|
|
2007-10-23 05:19:04 +02:00
|
|
|
USE_BZIP2= yes
|
2008-09-23 15:24:20 +02:00
|
|
|
USE_BISON= build
|
2004-11-26 06:44:10 +01:00
|
|
|
USE_GNOME= gnomehack glib20
|
2003-10-06 19:55:54 +02:00
|
|
|
USE_GMAKE= yes
|
2009-02-09 10:00:01 +01:00
|
|
|
USE_PERL5_BUILD= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2007-02-04 23:31:15 +01:00
|
|
|
USE_LDCONFIG= yes
|
2009-07-17 12:32:22 +02:00
|
|
|
USE_GETTEXT= yes
|
|
|
|
|
- Update lang/mono to 2.6.4;
- Update a bunch of C# ports as well (audio/taglib-sharp, deskutils/tomboy,
devel/mono-tools, devel/monodevelop, devel/monodevelop-boo,
devel/monodevelop-database, devel/monodevelop-java, devel/monodevelop-vala,
graphics/f-spot, lang/boo [1], lang/mono-basic, mail/gmime24, gmime24-sharp,
multimedia/banshee, multimedia/banshee-mirage, multimedia/moonlight,
www/mod_mono, www/webkit-sharp, www/xsp, x11-toolkits/gnome-desktop-sharp20,
x11-toolkits/gtk-sharp20, x11-toolkits/libgdiplus).
PR: ports/143657 [1]
Submitted by: glewis [1]
2010-06-01 14:41:30 +02:00
|
|
|
# Moonlight is installed as part of www/moonlight
|
|
|
|
CONFIGURE_ARGS= --with-moonlight=no
|
|
|
|
|
|
|
|
OPTIONS= PROFILE2 "Enable the 2.0 mono profile" on \
|
|
|
|
PROFILE4 "Enable the 4.0 mono profile (experimental)" off
|
2002-07-22 15:41:43 +02:00
|
|
|
|
2007-02-25 03:12:20 +01:00
|
|
|
# Set location for .wapi creation.
|
|
|
|
MONO_SHARED_DIR=${WRKDIR}
|
|
|
|
|
|
|
|
# LC_ALL is set in order to work around issues people are having when using
|
|
|
|
# other languages. This has shown itself in build fails and possibly other
|
|
|
|
# strange crashes.
|
2009-02-09 10:00:01 +01:00
|
|
|
MAKE_ENV= MONO_SHARED_DIR="${MONO_SHARED_DIR}" \
|
|
|
|
LC_ALL=C
|
2007-02-25 03:12:20 +01:00
|
|
|
|
- Update lang/mono to 2.6.4;
- Update a bunch of C# ports as well (audio/taglib-sharp, deskutils/tomboy,
devel/mono-tools, devel/monodevelop, devel/monodevelop-boo,
devel/monodevelop-database, devel/monodevelop-java, devel/monodevelop-vala,
graphics/f-spot, lang/boo [1], lang/mono-basic, mail/gmime24, gmime24-sharp,
multimedia/banshee, multimedia/banshee-mirage, multimedia/moonlight,
www/mod_mono, www/webkit-sharp, www/xsp, x11-toolkits/gnome-desktop-sharp20,
x11-toolkits/gtk-sharp20, x11-toolkits/libgdiplus).
PR: ports/143657 [1]
Submitted by: glewis [1]
2010-06-01 14:41:30 +02:00
|
|
|
ONLY_FOR_ARCHS= i386 amd64 ppc
|
2009-07-11 18:53:16 +02:00
|
|
|
|
|
|
|
MAN1= al.1 cert2spc.1 certmgr.1 chktrust.1 cilc.1 csharp.1 disco.1 \
|
2009-12-24 10:34:40 +01:00
|
|
|
dtd2xsd.1 gacutil.1 genxs.1 httpcfg.1 ilasm.1 jay.1 lc.1 \
|
|
|
|
macpack.1 makecert.1 mconfig.1 mcs.1 mdassembler.1 \
|
|
|
|
mdoc-assemble.1 mdoc-export-html.1 mdoc-export-msxdoc.1 \
|
|
|
|
mdoc-update.1 mdoc-validate.1 mdoc.1 mdvalidater.1 mint.1 \
|
|
|
|
mkbundle.1 mono-cil-strip.1 mono-service.1 mono-shlib-cop.1 \
|
2009-07-11 18:53:16 +02:00
|
|
|
mono-xmltool.1 mono.1 monodis.1 monodocer.1 monodocs2html.1 \
|
|
|
|
monolinker.1 monop.1 monostyle.1 mozroots.1 oldmono.1 \
|
|
|
|
permview.1 prj2make.1 resgen.1 secutil.1 setreg.1 sgen.1 \
|
- Update lang/mono to 2.6.4;
- Update a bunch of C# ports as well (audio/taglib-sharp, deskutils/tomboy,
devel/mono-tools, devel/monodevelop, devel/monodevelop-boo,
devel/monodevelop-database, devel/monodevelop-java, devel/monodevelop-vala,
graphics/f-spot, lang/boo [1], lang/mono-basic, mail/gmime24, gmime24-sharp,
multimedia/banshee, multimedia/banshee-mirage, multimedia/moonlight,
www/mod_mono, www/webkit-sharp, www/xsp, x11-toolkits/gnome-desktop-sharp20,
x11-toolkits/gtk-sharp20, x11-toolkits/libgdiplus).
PR: ports/143657 [1]
Submitted by: glewis [1]
2010-06-01 14:41:30 +02:00
|
|
|
signcode.1 sn.1 soapsuds.1 sqlsharp.1 wsdl.1 xsd.1
|
2009-07-11 18:53:16 +02:00
|
|
|
MAN5= mdoc.5 mono-config.5
|
2002-07-22 15:41:43 +02:00
|
|
|
|
2003-10-07 05:33:38 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
- Update lang/mono to 2.6.4;
- Update a bunch of C# ports as well (audio/taglib-sharp, deskutils/tomboy,
devel/mono-tools, devel/monodevelop, devel/monodevelop-boo,
devel/monodevelop-database, devel/monodevelop-java, devel/monodevelop-vala,
graphics/f-spot, lang/boo [1], lang/mono-basic, mail/gmime24, gmime24-sharp,
multimedia/banshee, multimedia/banshee-mirage, multimedia/moonlight,
www/mod_mono, www/webkit-sharp, www/xsp, x11-toolkits/gnome-desktop-sharp20,
x11-toolkits/gtk-sharp20, x11-toolkits/libgdiplus).
PR: ports/143657 [1]
Submitted by: glewis [1]
2010-06-01 14:41:30 +02:00
|
|
|
.if defined(WITH_PROFILE2) && !defined(WITHOUT_PROFILE2)
|
|
|
|
CONFIGURE_ARGS+=--with-profile2=yes
|
|
|
|
PLIST_SUB+= PROFILE2=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--with-profile2=no
|
|
|
|
PLIST_SUB+= PROFILE2="@comment "
|
2007-10-23 05:19:04 +02:00
|
|
|
.endif
|
|
|
|
|
- Update lang/mono to 2.6.4;
- Update a bunch of C# ports as well (audio/taglib-sharp, deskutils/tomboy,
devel/mono-tools, devel/monodevelop, devel/monodevelop-boo,
devel/monodevelop-database, devel/monodevelop-java, devel/monodevelop-vala,
graphics/f-spot, lang/boo [1], lang/mono-basic, mail/gmime24, gmime24-sharp,
multimedia/banshee, multimedia/banshee-mirage, multimedia/moonlight,
www/mod_mono, www/webkit-sharp, www/xsp, x11-toolkits/gnome-desktop-sharp20,
x11-toolkits/gtk-sharp20, x11-toolkits/libgdiplus).
PR: ports/143657 [1]
Submitted by: glewis [1]
2010-06-01 14:41:30 +02:00
|
|
|
.if defined(WITH_PROFILE4) && !defined(WITHOUT_PROFILE4)
|
|
|
|
CONFIGURE_ARGS+=--with-profile4=yes
|
|
|
|
PLIST_SUB+= PROFILE4=""
|
2009-07-17 12:32:22 +02:00
|
|
|
.else
|
- Update lang/mono to 2.6.4;
- Update a bunch of C# ports as well (audio/taglib-sharp, deskutils/tomboy,
devel/mono-tools, devel/monodevelop, devel/monodevelop-boo,
devel/monodevelop-database, devel/monodevelop-java, devel/monodevelop-vala,
graphics/f-spot, lang/boo [1], lang/mono-basic, mail/gmime24, gmime24-sharp,
multimedia/banshee, multimedia/banshee-mirage, multimedia/moonlight,
www/mod_mono, www/webkit-sharp, www/xsp, x11-toolkits/gnome-desktop-sharp20,
x11-toolkits/gtk-sharp20, x11-toolkits/libgdiplus).
PR: ports/143657 [1]
Submitted by: glewis [1]
2010-06-01 14:41:30 +02:00
|
|
|
CONFIGURE_ARGS+=--with-profile4=no
|
|
|
|
PLIST_SUB+= PROFILE4="@comment "
|
2009-07-17 12:32:22 +02:00
|
|
|
.endif
|
|
|
|
|
2005-11-10 05:17:26 +01:00
|
|
|
pre-everything::
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2004-11-26 06:44:10 +01:00
|
|
|
post-patch:
|
2007-10-23 05:19:04 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|^#!/bin/bash|#!/bin/sh|g' \
|
|
|
|
${WRKSRC}/mcs/class/Managed.Windows.Forms/build-csproj \
|
2009-02-09 10:00:01 +01:00
|
|
|
${WRKSRC}/mcs/class/Managed.Windows.Forms/build-csproj2k5 \
|
- Update lang/mono to 2.6.4;
- Update a bunch of C# ports as well (audio/taglib-sharp, deskutils/tomboy,
devel/mono-tools, devel/monodevelop, devel/monodevelop-boo,
devel/monodevelop-database, devel/monodevelop-java, devel/monodevelop-vala,
graphics/f-spot, lang/boo [1], lang/mono-basic, mail/gmime24, gmime24-sharp,
multimedia/banshee, multimedia/banshee-mirage, multimedia/moonlight,
www/mod_mono, www/webkit-sharp, www/xsp, x11-toolkits/gnome-desktop-sharp20,
x11-toolkits/gtk-sharp20, x11-toolkits/libgdiplus).
PR: ports/143657 [1]
Submitted by: glewis [1]
2010-06-01 14:41:30 +02:00
|
|
|
${WRKSRC}/mcs/class/Mono.WebBrowser/build-csproj2k5
|
|
|
|
@${FIND} ${WRKSRC} -name '*.sh' | ${XARGS} ${REINPLACE_CMD} \
|
|
|
|
-e 's|^#!/bin/bash|#!/bin/sh|g'
|
2004-11-26 06:44:10 +01:00
|
|
|
|
2005-07-10 23:37:13 +02:00
|
|
|
tests: build
|
|
|
|
@${ECHO_MSG} "===> Running mono regression tests"
|
|
|
|
@(cd ${WRKSRC}/mono/tests && ${SETENV} ${MAKE_ENV} ${GMAKE} \
|
|
|
|
${MAKE_FLAGS} Makefile ${MAKE_ARGS} test)
|
|
|
|
|
2006-02-19 07:14:39 +01:00
|
|
|
post-configure:
|
2007-10-23 05:19:04 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|share\/man|man|g' \
|
2006-02-19 07:14:39 +01:00
|
|
|
${WRKSRC}/mcs/jay/Makefile
|
|
|
|
|
2007-10-23 05:19:04 +02:00
|
|
|
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
|
2003-10-07 05:33:38 +02:00
|
|
|
.include <bsd.port.post.mk>
|