summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2006-08-03 18:22:16 +0000
committerdrochner <drochner@pkgsrc.org>2006-08-03 18:22:16 +0000
commit5317e897d865aa5fd7eb0c6b2799b6f6c8b446c8 (patch)
treebbcc4e8b7004e7a9030e23c765ec09f5b706591a
parent9ef7563d4b0e790cc6af0a6bd2a7f9b51a931c5e (diff)
downloadpkgsrc-5317e897d865aa5fd7eb0c6b2799b6f6c8b446c8.tar.gz
add gtk-sharp-2.8.2, which is C# (mono) bindings for gtk and gnome libs
-rw-r--r--x11/gtk2-sharp/Makefile52
1 files changed, 52 insertions, 0 deletions
diff --git a/x11/gtk2-sharp/Makefile b/x11/gtk2-sharp/Makefile
new file mode 100644
index 00000000000..2a781d4852b
--- /dev/null
+++ b/x11/gtk2-sharp/Makefile
@@ -0,0 +1,52 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/08/03 18:22:16 drochner Exp $
+#
+
+DISTNAME= gtk-sharp-2.8.2
+CATEGORIES= x11
+MASTER_SITES= http://go-mono.com/sources/gtk-sharp-2.8/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://gtk-sharp.sourceforge.net/
+COMMENT= C# bindings for GTK
+
+USE_PKGLOCALEDIR= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config gmake
+GNU_CONFIGURE= yes
+
+PKGCONFIG_OVERRIDE+= art/art-sharp-2.0.pc.in
+PKGCONFIG_OVERRIDE+= gconf/GConf/gconf-sharp-2.0.pc.in
+PKGCONFIG_OVERRIDE+= glade/glade-sharp-2.0.pc.in
+PKGCONFIG_OVERRIDE+= glib/glib-sharp-2.0.pc.in
+PKGCONFIG_OVERRIDE+= gnome/gnome-sharp-2.0.pc.in
+PKGCONFIG_OVERRIDE+= gnomevfs/gnome-vfs-sharp-2.0.pc.in
+PKGCONFIG_OVERRIDE+= gtk/gtk-sharp-2.0.pc.in
+PKGCONFIG_OVERRIDE+= gtkdotnet/gtk-dotnet-2.0.pc.in
+PKGCONFIG_OVERRIDE+= gtkhtml/gtkhtml-sharp-2.0.pc.in
+PKGCONFIG_OVERRIDE+= parser/gapi-2.0.pc.in
+PKGCONFIG_OVERRIDE+= rsvg/rsvg-sharp-2.0.pc.in
+PKGCONFIG_OVERRIDE+= vte/vte-sharp-2.0.pc.in
+
+post-patch: substpcprefix
+# replace relative prefix in pkgconfig files
+substpcprefix:
+.for f in ${PKGCONFIG_OVERRIDE}
+ (cd ${WRKSRC}; \
+ ${SED} 's|$${pcfiledir}/../..|@prefix@|g' <$f >$f.tmp; \
+ ${MV} $f.tmp $f \
+ )
+.endfor
+
+.include "../../lang/mono/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../graphics/libart2/buildlink3.mk"
+.include "../../sysutils/gnome-vfs2/buildlink3.mk"
+.include "../../devel/libgnomeui/buildlink3.mk"
+.include "../../print/libgnomeprintui/buildlink3.mk"
+.include "../../x11/gnome-panel/buildlink3.mk"
+.include "../../devel/libglade2/buildlink3.mk"
+.include "../../graphics/librsvg2/buildlink3.mk"
+.include "../../www/gtkhtml38/buildlink3.mk"
+.include "../../x11/vte/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"