1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

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

PR:		ports/156103
Submitted by:	Zhihao Yuan <lichray at gmail.com>
This commit is contained in:
Martin Wilke 2011-06-27 14:46:18 +00:00
parent 91263b07cf
commit ae90397d31
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=276504
5 changed files with 57 additions and 0 deletions

View File

@ -187,6 +187,7 @@
SUBDIR += paragui-devel
SUBDIR += phat
SUBDIR += plib
SUBDIR += pure-gtk
SUBDIR += py-Pmw
SUBDIR += py-SciParam
SUBDIR += py-fltk

View File

@ -0,0 +1,39 @@
# New ports collection makefile for: pure-gtk
# Date created: 2011-03-18
# Whom: Zhihao Yuan <lichray@gmail.com>
#
# $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 <bsd.port.pre.mk>
post-install:
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
SHA256 (pure-gtk-0.9.tar.gz) = 1fb826f67ce944119e35cbc13614dd7530e477ef0bc72bb6edc2a682e554007b
SIZE (pure-gtk-0.9.tar.gz) = 144196

View File

@ -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

View File

@ -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