freebsd-ports/x11-toolkits/gtk-sharp10/Makefile
Tijl Coosemans f03159b28a - Remove LATEST_LINK
- Replace INSTALL_STRIP_FLAG with INSTALL_TARGET=install-strip
- Convert to USES=libtool
2014-07-01 16:37:29 +00:00

34 lines
1 KiB
Makefile

# Created by: Juli Mallett
# $FreeBSD$
PORTNAME= gtk-sharp
PORTVERSION= 1.0.10
PORTREVISION= 22
CATEGORIES= x11-toolkits
MASTER_SITES= http://ftp.novell.com/pub/mono/sources/${PORTNAME}/
PKGNAMESUFFIX= 10
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
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= gmake libtool mono pathfix perl5 pkgconfig
USE_LDCONFIG= yes
USE_PERL5= run
USE_GNOME= gtkhtml3 vte librsvg2 libgnomecanvas \
libgnomeprintui libglade2 libgnomeui
post-patch:
@${FIND} ${WRKSRC} -name '*.pl' -o -name 'gapi-parser' | ${XARGS} \
${REINPLACE_CMD} -e 's|^#!/usr/bin/perl|#!${PERL}|'
@${REINPLACE_CMD} -e 's|enable_gda=yes|enable_gda=no|g ; \
s|enable_gnomedb=yes|enable_gnomedb=no|g ; \
s|libgtkhtml-3.8|libgtkhtml-3.14|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
${WRKSRC}/glib/glue/slist.c ${WRKSRC}/glib/glue/list.c
.include <bsd.port.mk>