mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
90be0ca2c3
Approved by: portmgr blanket
47 lines
1.4 KiB
Makefile
47 lines
1.4 KiB
Makefile
# Created by: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= monodevelop
|
|
PORTVERSION= 5.0.1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://download.mono-project.com/sources/${PORTNAME}/
|
|
DISTFILES= ${DISTNAME}-0${EXTRACT_SUFX}
|
|
|
|
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
|
|
|
|
USE_GNOME= gtksharp20 gnomesharp20
|
|
GNU_CONFIGURE= yes
|
|
USES= desktop-file-utils gettext gmake pathfix shared-mime-info tar:bzip2
|
|
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>
|