freebsd-ports/devel/monodevelop/Makefile
Baptiste Daroussin 36bb7f290c Convert to USES=mono
Do not uselessly update desktop database and meme database in the stagedir
Fix plist
2014-05-26 11:43:10 +00:00

51 lines
1.6 KiB
Makefile

# Created by: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
# $FreeBSD$
PORTNAME= monodevelop
PORTVERSION= 4.2.2
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://download.mono-project.com/sources/${PORTNAME}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-2
MAINTAINER= mono@FreeBSD.org
COMMENT= IDE for the .NET platform
BUILD_DEPENDS= mautil:${PORTSDIR}/devel/mono-addins
RUN_DEPENDS= ${LOCALBASE}/lib/libgdiplus.a:${PORTSDIR}/x11-toolkits/libgdiplus \
exctags:${PORTSDIR}/devel/ctags \
mautil:${PORTSDIR}/devel/mono-addins
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GNOME= gtksharp20 gnomesharp20
GNU_CONFIGURE= yes
USES= desktop-file-utils gettext gmake libtool mono pathfix shared-mime-info \
tar:bzip2
CONFIGURE_ARGS= --disable-update-desktopdb \
--disable-update-mimedb
INSTALLS_ICONS= yes
OPTIONS_DEFINE= MONOEXT GIT SVN
OPTIONS_DEFAULT=MONOEXT GIT SVN
MONOEXT_DESC= Extensions for Mono development
GIT_DESC= git support
MONOEXT_CONFIGURE_ENABLE=monoextensions
GIT_CONFIGURE_ENABLE=git
GIT_RUN_DEPENDS=git:${PORTSDIR}/devel/git
SVN_CONFIGURE_ENABLE=subversion
SVN_RUN_DEPENDS=svn:${PORTSDIR}/devel/subversion
# Restrict to stable (even) versions, indicated by the second component.
PORTSCOUT= limitw:1,even
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
.include <bsd.port.mk>