# New ports collection makefile for:	monodevelop-python
# Date created:		2011-09-21
# Whom:			Romain Tartiere <romain@FreeBSD.org>
#
# $FreeBSD: branches/RELEASE_8_4_0/devel/monodevelop-python/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	monodevelop-python
PORTVERSION=	2.8.8.4
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	http://download.mono-project.com/sources/${PORTNAME}/

MAINTAINER=	romain@FreeBSD.org
COMMENT=	MonoDevelop Python support

BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/monodevelop.pc:${PORTSDIR}/devel/monodevelop
RUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/monodevelop.pc:${PORTSDIR}/devel/monodevelop

BROKEN=		does not build

USE_BZIP2=	yes
HAS_CONFIGURE=	yes
USE_GMAKE=	yes
USE_GNOME=	gnomehack gtksharp20

post-patch:
	@${REINPLACE_CMD} -e 's|#!/bin/bash|#!/usr/bin/env bash|' \
	    ${WRKSRC}/configure
	@${REINPLACE_CMD} -e 's|$$[(]libdir[)]/pkgconfig|$$(prefix)/libdata/pkgconfig|g' \
		${WRKSRC}/PyBinding/Makefile

# Restrict to stable (even) versions, indicated by the second component.
PORTSCOUT=	limitw:1,even

.include <bsd.port.mk>
