1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/devel/monodevelop/Makefile
Koop Mast 0e682dded4 Remove USE_GNOME=gnometarget from ports. It has been a empty keyword since
mid 2008.

PR:		ports/159624
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru>
2011-08-11 19:20:17 +00:00

81 lines
2.2 KiB
Makefile

# New ports collection makefile for: monodevelop
# Date created: 20040906
# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
#
# $FreeBSD$
# $Id: Makefile,v 1.48 2007/11/07 20:30:04 killfill Exp $
#
PORTNAME= monodevelop
PORTVERSION= 2.4.2
CATEGORIES= devel
MASTER_SITES= http://ftp.novell.com/pub/mono/sources/${PORTNAME}/
MAINTAINER= mono@FreeBSD.org
COMMENT= IDE for the .NET platform
BUILD_DEPENDS= mautil:${PORTSDIR}/devel/mono-addins \
update-desktop-database:${PORTSDIR}/devel/desktop-file-utils
RUN_DEPENDS= ${LOCALBASE}/lib/libgdiplus.a:${PORTSDIR}/x11-toolkits/libgdiplus \
exctags:${PORTSDIR}/devel/ctags \
mautil:${PORTSDIR}/devel/mono-addins
USE_GNOME= gnomehack gtksharp20 gnomesharp20
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
USE_BZIP2= yes
CONFIGURE_ARGS+= DATADIRNAME=share GMSGFMT=msgfmt \
--enable-aspnet --enable-aspnetedit
MAN1= mdtool.1 monodevelop.1
USE_GETTEXT= yes
INSTALLS_ICONS= yes
OPTIONS= MONOEXT "Enable extensions for Mono development" on \
VCS "Enable version control support" on \
SVN "Enable subversion support" on
# Restrict to stable (even) versions, indicated by the second component.
PORTSCOUT= limitw:1,even
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_MONOEXT)
CONFIGURE_ARGS+=--enable-monoextensions
PLIST_SUB+= MONOEXT=""
.else
CONFIGURE_ARGS+=--disable-monoextensions
PLIST_SUB+= MONOEXT="@comment "
.endif
.if defined(WITH_VCS) && !defined(WITHOUT_VCS)
CONFIGURE_ARGS+=--enable-versioncontrol
PLIST_SUB+= VCS=""
.else
CONFIGURE_ARGS+=--disable-versioncontrol
PLIST_SUB+= VCS="@comment "
.endif
.if !defined(WITHOUT_SVN)
RUN_DEPENDS+= svn:${PORTSDIR}/devel/subversion
CONFIGURE_ARGS+=--enable-subversion
PLIST_SUB+= SVN=""
.else
CONFIGURE_ARGS+=--disable-subversion
PLIST_SUB+= SVN="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's|[(]gnome_data[)]/mime$$|(prefix)/share/mime|g ; \
s|[(]gnome_data[)]/mime/packages$$|(prefix)/share/mime/packages|g ; \
s|[(]prefix[)]/lib/pkgconfig|(prefix)/libdata/pkgconfig|g' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|/bin/bash|/usr/bin/env bash|' \
${WRKSRC}/monodevelop.in \
${WRKSRC}/mdtool.in
post-install:
@-update-desktop-database
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
.include <bsd.port.post.mk>