freebsd-ports/x11-toolkits/gtk-sharp20/Makefile
2013-11-16 17:58:27 +00:00

34 lines
843 B
Makefile

# Created by: Juli Mallett
# $FreeBSD$
PORTNAME= gtk-sharp
PORTVERSION= 2.12.10
PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= GNOME
PKGNAMESUFFIX= 20
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
USE_GNOME= gtk20 libglade2
USES= gmake pathfix perl5 pkgconfig
USE_PERL5= run
MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP}
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>