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$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mono
|
2011-10-09 01:13:36 +02:00
|
|
|
PORTVERSION= 2.10.6
|
2002-07-22 15:41:43 +02:00
|
|
|
CATEGORIES= lang
|
2011-09-21 19:52:24 +02:00
|
|
|
MASTER_SITES= http://download.mono-project.com/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
|
2011-05-13 18:09:36 +02:00
|
|
|
MAKE_JOBS_UNSAFE=yes
|
2009-07-17 12:32:22 +02: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
|
|
|
# Moonlight is installed as part of www/moonlight
|
|
|
|
CONFIGURE_ARGS= --with-moonlight=no
|
|
|
|
|
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
|
|
|
|
2011-06-12 21:06:25 +02:00
|
|
|
MAN1= al.1 ccrewrite.1 cert2spc.1 certmgr.1 chktrust.1 cilc.1 \
|
|
|
|
csharp.1 disco.1 dtd2xsd.1 gacutil.1 genxs.1 httpcfg.1 \
|
|
|
|
ilasm.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 mkbundle.1 mono-api-info.1 mono-cil-strip.1 \
|
|
|
|
mono-configuration-crypto.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 \
|
2011-06-12 21:06:25 +02:00
|
|
|
monolinker.1 monop.1 mozroots.1 pdb2mdb.1 permview.1 \
|
|
|
|
prj2make.1 resgen.1 secutil.1 setreg.1 sgen.1 signcode.1 sn.1 \
|
|
|
|
soapsuds.1 sqlsharp.1 wsdl.1 xbuild.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>
|
|
|
|
|
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
|
|
|
|
|
2011-09-21 19:52:24 +02:00
|
|
|
.include "${PORTSDIR}/lang/mono/bsd.mono.mk"
|
2003-10-07 05:33:38 +02:00
|
|
|
.include <bsd.port.post.mk>
|