aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorromain <romain@FreeBSD.org>2013-11-17 01:58:03 +0800
committerromain <romain@FreeBSD.org>2013-11-17 01:58:03 +0800
commitc583ded7fe295d7e917ca300101785dfc4e577c4 (patch)
tree8e6a9f1b38a3f516f11cf75d23a73064edf2d9a9 /x11-toolkits
parentf940266fb691f67f77eabcefb3ca64f67bd40c02 (diff)
downloadfreebsd-ports-gnome-c583ded7fe295d7e917ca300101785dfc4e577c4.tar.gz
freebsd-ports-gnome-c583ded7fe295d7e917ca300101785dfc4e577c4.tar.zst
freebsd-ports-gnome-c583ded7fe295d7e917ca300101785dfc4e577c4.zip
Freshen-up port and rename package.
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gtk-sharp10/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/x11-toolkits/gtk-sharp10/Makefile b/x11-toolkits/gtk-sharp10/Makefile
index b96817b7477f..b0b31e87a5bb 100644
--- a/x11-toolkits/gtk-sharp10/Makefile
+++ b/x11-toolkits/gtk-sharp10/Makefile
@@ -6,6 +6,7 @@ PORTVERSION= 1.0.10
PORTREVISION= 21
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
@@ -16,25 +17,21 @@ RUN_DEPENDS= mono:${PORTSDIR}/lang/mono
LATEST_LINK= gtk-sharp10
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-USES= gmake pkgconfig perl5
+USES= gmake pathfix perl5 pkgconfig
USE_PERL5= run
-USE_GNOME= gnomehack gtkhtml3 vte librsvg2 libgnomecanvas \
+USE_GNOME= gtkhtml3 vte librsvg2 libgnomecanvas \
libgnomeprintui libglade2 libgnomeui
-
+MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP}
USE_AUTOTOOLS= libtool
-NO_STAGE= yes
post-patch:
- @${FIND} ${WRKSRC} -name '*.pl' | ${XARGS} ${REINPLACE_CMD} -e \
- 's|^#!/usr/bin/perl|#!${PERL}|'
+ @${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
-pre-su-install:
- ${MKDIR} ${LOCALBASE}/share/gapi
-
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
.include <bsd.port.mk>