summaryrefslogtreecommitdiff
path: root/x11-toolkits/gtk-sharp10/Makefile
blob: 1b8cb128f927ffb3900be55bb85093a2310d9412 (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
35
36
37
38
39
# New ports collection makefile for:    gtk-sharp
# Date created:         2003-01-01
# Whom:                 Juli Mallett
#
# $Id: Makefile,v 1.17 2005/06/07 01:01:09 mezz7 Exp $
# $FreeBSD$
#

PORTNAME=	gtk-sharp
PORTVERSION=	1.0.10
PORTREVISION=	1
CATEGORIES=	x11-toolkits
MASTER_SITES=	http://go-mono.com/sources/${PORTNAME}/

MAINTAINER=	bsd-sharp-list@forge.novell.com
COMMENT=	GTK+ and GNOME interfaces for the .NET runtime

BUILD_DEPENDS=	mono:${PORTSDIR}/lang/mono
RUN_DEPENDS=	mono:${PORTSDIR}/lang/mono

USE_X_PREFIX=	yes
LATEST_LINK=	gtk-sharp10
USE_LIBTOOL_VER=15
USE_REINPLACE=	yes
INSTALLS_SHLIB=	yes
USE_GMAKE=	yes
USE_PERL5_RUN=	yes
USE_GNOME=	gnomehack libgnomedb gtkhtml3 vte librsvg2

MAKE_ENV=MONO_SHARED_DIR=${WRKDIR}

post-patch:
	@${FIND} ${WRKSRC} -name '*.pl' | ${XARGS} ${REINPLACE_CMD} -e \
		's|^#!/usr/bin/perl|#!${PERL}|'

pre-su-install:
	${MKDIR} ${LOCALBASE}/share/gapi

.include <bsd.port.mk>