openbsd-ports/devel/monodevelop/Makefile
2010-10-18 17:47:50 +00:00

59 lines
2.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.7 2010/10/18 17:47:54 espie Exp $
COMMENT= IDE for the .NET platform
DISTNAME= monodevelop-2.4
CATEGORIES= devel lang
MASTER_SITES= http://ftp.novell.com/pub/mono/sources/monodevelop/
EXTRACT_SUFX= .tar.bz2
HOMEPAGE= http://monodevelop.com/
# GPLv2
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
USE_GMAKE= Yes
USE_GROFF = Yes
MODULES= lang/mono
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils \
:shared-mime-info->=0.21:misc/shared-mime-info \
::devel/mono-addins \
::shells/bash \
::x11/gnome/mono-gnome \
::devel/ectags
# see patches/patch-src_addins_MonoDevelop_Autotools_SolutionDeployer_cs
RUN_DEPENDS+= ::devel/gmake
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --disable-update-mimedb \
--disable-update-desktopdb \
--enable-subversion \
--enable-gnomeplatform
DLLMAP_FILES= src/core/Mono.Texteditor/Mono.TextEditor.PopupWindow/TooltipWindow.cs \
src/core/MonoDevelop.Projects/MonoDevelop.Projects.dll.config \
src/addins/GnomePlatform/GnomePlatform.dll.config \
src/addins/VersionControl/MonoDevelop.VersionControl.Subversion/MonoDevelop.VersionControl.Subversion.dll.config \
src/addins/VersionControl/MonoDevelop.VersionControl.Subversion/MonoDevelop.VersionControl.Subversion/LibSvnClient.cs \
src/addins/VersionControl/MonoDevelop.VersionControl.Subversion/MonoDevelop.VersionControl.Subversion/LibApr.cs \
src/addins/MonoDevelop.GtkCore/libsteticui/Metacity/Theme.cs \
src/addins/MonoDevelop.GtkCore/libsteticui/Metacity/Preview.cs \
src/addins/MonoDevelop.GtkCore/libsteticui/libsteticui.dll.config \
src/addins/MonoDevelop.GtkCore/libstetic/libstetic.dll.config
BASH_SCRIPTS= mdtool.in monodevelop.in \
src/addins/MonoDevelop.Autotools/templates/configure.template
pre-configure:
for i in ${BASH_SCRIPTS}; do \
perl -pi -e 's,/bin/bash,${LOCALBASE}/bin/bash,' ${WRKSRC}/$${i}; \
done
${SUBST_CMD} ${WRKSRC}/theme-icons/icon-theme-installer
.include <bsd.port.mk>