summaryrefslogtreecommitdiff
path: root/x11/gtk-sharp/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2008-03-17 22:50:28 +0000
committerwiz <wiz@pkgsrc.org>2008-03-17 22:50:28 +0000
commit1e84190f8794ed9fe2aa5e635ef7a977809d68d9 (patch)
treec0bc4e8fc392401a0265af353ca3ac5aae5c8397 /x11/gtk-sharp/Makefile
parentfe0e2a7199a7797fd06d75c76dfe1638428810d0 (diff)
downloadpkgsrc-1e84190f8794ed9fe2aa5e635ef7a977809d68d9.tar.gz
Reimport gtk-sharp-2.10.3 as x11/gtk-sharp (was in x11/gtk2-sharp)
to match PKGNAME. Gtk# is a .NET language binding for the GTK+ toolkit and assorted GNOME libraries.
Diffstat (limited to 'x11/gtk-sharp/Makefile')
-rw-r--r--x11/gtk-sharp/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/x11/gtk-sharp/Makefile b/x11/gtk-sharp/Makefile
new file mode 100644
index 00000000000..f4e058fe746
--- /dev/null
+++ b/x11/gtk-sharp/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/03/17 22:50:28 wiz Exp $
+#
+
+DISTNAME= gtk-sharp-2.10.3
+CATEGORIES= x11
+MASTER_SITES= http://go-mono.com/sources/gtk-sharp/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.mono-project.com/GtkSharp
+COMMENT= C\# bindings for GTK
+
+USE_PKGLOCALEDIR= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config gmake perl:run
+GNU_CONFIGURE= yes
+
+REPLACE_PERL+= parser/*.pl
+PKGCONFIG_OVERRIDE+= gtk/gtk-sharp-2.0.pc.in
+PKGCONFIG_OVERRIDE+= gtkdotnet/gtk-dotnet-2.0.pc.in
+PKGCONFIG_OVERRIDE+= glib/glib-sharp-2.0.pc.in
+PKGCONFIG_OVERRIDE+= parser/gapi-2.0.pc.in
+PKGCONFIG_OVERRIDE+= glade/glade-sharp-2.0.pc.in
+
+SUBST_CLASSES+= relprefix
+SUBST_MESSAGE.relprefix=Replacing relative prefix in pkg-config files.
+SUBST_STAGE.relprefix= post-patch
+SUBST_FILES.relprefix= ${PKGCONFIG_OVERRIDE}
+SUBST_SED.relprefix= -e 's|$${pcfiledir}/../..|@prefix@|g'
+
+.include "../../devel/libglade/buildlink3.mk"
+.include "../../lang/mono/buildlink3.mk"
+.include "../../lang/monodoc/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"