pkgsrc/lang/mono/Makefile
2004-02-28 23:41:32 +00:00

66 lines
1.8 KiB
Makefile

# $NetBSD: Makefile,v 1.20 2004/02/28 23:41:32 recht Exp $
#
DISTNAME= mono-0.30.1
CATEGORIES= lang
MASTER_SITES= http://www.go-mono.org/archive/
MAINTAINER= recht@NetBSD.org
HOMEPAGE= http://www.go-mono.org/
COMMENT= Open source implementation of the .NET Development Framework
BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
BUILD_DEPENDS+= p5-XML-Parser-[0-9]*:../../textproc/p5-XML-Parser
BUILD_DEPENDS+= bash>=2.0:../../shells/bash2
CONFLICTS= pnet-[0-9]*
# XXX please test
NOT_FOR_PLATFORM= NetBSD-1.[0-5]*-*
NOT_FOR_PLATFORM+= NetBSD-1.6-* NetBSD-1.6.*-*
NOT_FOR_PLATFORM+= NetBSD-1.6[A-Z]-* NetBSD-1.6Z[AB]-*
# boehm-gc doesn't build on amd64/x86_64
NOT_FOR_PLATFORM+= *-*-amd64 *-*-x86_64
USE_GNU_TOOLS+= make
USE_BUILDLINK3= yes
USE_PKGINSTALL= yes
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-gc=included
CONFIGURE_ARGS+= --sysconfdir="${PKG_SYSCONFDIR}"
PKGCONFIG_OVERRIDE= mint.pc.in
PKGCONFIG_OVERRIDE= mono.pc.in
PKG_SYSCONFSUBDIR= mono
USE_PERL5= build
REPLACE_PERL= mono/cil/make-opcodes-def.pl
REPLACE_PERL+= mono/metadata/make-bundle.pl
REPLACE_PERL+= mono/tests/test-driver
EGDIR= ${PREFIX}/share/examples/mono
CONF_FILES= ${EGDIR}/config ${PKG_SYSCONFDIR}/config
CONF_FILES+= ${EGDIR}/browscap.ini ${PKG_SYSCONFDIR}/browscap.ini
CONF_FILES+= ${EGDIR}/machine.config ${PKG_SYSCONFDIR}/machine.config
CONF_FILES+= ${EGDIR}/DefaultWsdlHelpGenerator.aspx \
${PKG_SYSCONFDIR}/DefaultWsdlHelpGenerator.aspx
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Linux"
BUILD_DEFS+= MONO_USE_NPTL
. if defined(MONO_USE_NPTL) && !empty(MONO_USE_NPTL:M[yY][eE][sS])
# Enable support for NPTL
CONFIGURE_ARGS+= --with-nptl
. endif
.endif
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/pkgconfig/buildlink3.mk"
.include "../../textproc/icu/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"