blob: fdf1a086ab9465b658111b76443251cdddc60ce1 (
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
|
# Created by: Juli Mallett
# $FreeBSD$
# $Id: Makefile,v 1.27 2007/10/03 00:48:49 killfill Exp $
PORTNAME= gtk-sharp
PORTVERSION= 2.12.10
PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= GNOME
MAINTAINER= mono@FreeBSD.org
COMMENT= GTK+ and GNOME interfaces for the .NET runtime
BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono
RUN_DEPENDS= mono:${PORTSDIR}/lang/mono \
p5-XML-LibXML>=0:${PORTSDIR}/textproc/p5-XML-LibXML
LATEST_LINK= gtk-sharp20
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USES= perl5 gmake pkgconfig
USE_PERL5= run
USE_GNOME= gnomehack gtk20 libglade2
post-patch:
@${FIND} ${WRKSRC} -name '*.pl' | ${XARGS} ${REINPLACE_CMD} -e \
's|^#!/usr/bin/perl|#!${PERL}|'
@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
${WRKSRC}/glib/glue/*.c
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
.include <bsd.port.mk>
|