aboutsummaryrefslogtreecommitdiff
path: root/devel/monodevelop-python/Makefile
blob: b538642caf3f326b1f86231b578c963788687e7f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:	monodevelop-python
# Date created:		2011-09-21
# Whom:			Romain Tartiere <romain@FreeBSD.org>
#
# $FreeBSD$
#

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

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>