diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index 368402344140..9ef455627fac 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -187,6 +187,7 @@ SUBDIR += paragui-devel SUBDIR += phat SUBDIR += plib + SUBDIR += pure-gtk SUBDIR += py-Pmw SUBDIR += py-SciParam SUBDIR += py-fltk diff --git a/x11-toolkits/pure-gtk/Makefile b/x11-toolkits/pure-gtk/Makefile new file mode 100644 index 000000000000..cf6e22a09ceb --- /dev/null +++ b/x11-toolkits/pure-gtk/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: pure-gtk +# Date created: 2011-03-18 +# Whom: Zhihao Yuan +# +# $FreeBSD$ +# + +PORTNAME= pure-gtk +PORTVERSION= 0.9 +CATEGORIES= x11-toolkits +MASTER_SITES= http://pure-lang.googlecode.com/files/ + +MAINTAINER= lichray@gmail.com +COMMENT= A set of Pure language bindings for GTK+ + +LIB_DEPENDS+= pure.7:${PORTSDIR}/lang/pure \ + cairo.2:${PORTSDIR}/graphics/cairo +RUN_DEPENDS+= ${LOCALBASE}/lib/pure/ffi.pure:${PORTSDIR}/devel/pure-ffi + +LICENSE_FILE= ${WRKSRC}/COPYING + +USE_GCC= 4.2+ +USE_GMAKE= yes +USE_GNOME= glib20 gtk20 atk pango + +MAKE_ARGS+= prefix=${PREFIX} CPPFLAGS+=-I${LOCALBASE}/include \ + LDFLAGS+=-L${LOCALBASE}/lib CFLAGS="${CFLAGS}" + +PORTEXAMPLES= * + +.include + +post-install: +.if !defined(NOPORTEXAMPLES) + @${MKDIR} ${EXAMPLESDIR} + (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) +.endif + +.include diff --git a/x11-toolkits/pure-gtk/distinfo b/x11-toolkits/pure-gtk/distinfo new file mode 100644 index 000000000000..3d978132d6bd --- /dev/null +++ b/x11-toolkits/pure-gtk/distinfo @@ -0,0 +1,2 @@ +SHA256 (pure-gtk-0.9.tar.gz) = 1fb826f67ce944119e35cbc13614dd7530e477ef0bc72bb6edc2a682e554007b +SIZE (pure-gtk-0.9.tar.gz) = 144196 diff --git a/x11-toolkits/pure-gtk/pkg-descr b/x11-toolkits/pure-gtk/pkg-descr new file mode 100644 index 000000000000..fff29fc72f78 --- /dev/null +++ b/x11-toolkits/pure-gtk/pkg-descr @@ -0,0 +1,5 @@ +pure-gtk is a collection of bindings to use the GTK+ GUI toolkit version 2.x +with Pure. The bindings include the gtk (+gdk), glib, atk, cairo and pango +libraries, each in their own Pure module. + +WWW: http://docs.pure-lang.googlecode.com/hg/pure-gtk.html diff --git a/x11-toolkits/pure-gtk/pkg-plist b/x11-toolkits/pure-gtk/pkg-plist new file mode 100644 index 000000000000..62e0f828ba42 --- /dev/null +++ b/x11-toolkits/pure-gtk/pkg-plist @@ -0,0 +1,10 @@ +lib/pure/atk.pure +lib/pure/atk.so +lib/pure/cairo.pure +lib/pure/cairo.so +lib/pure/glib.pure +lib/pure/glib.so +lib/pure/gtk.pure +lib/pure/gtk.so +lib/pure/pango.pure +lib/pure/pango.so