1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

The SLgtk package binds the GIMP Toolkit, also known as Gtk,

to the S-Lang scripting language. It provides an importable module
which makes most of Gtk and its constituent libraries callable directly
from S-Lang scripts.

With SLgtk the S-Lang programmer now has access to a powerful,
cross-platform widget set for creating sophisticated
graphical user interfaces (GUIs). The package also includes bindings
to GtkExtra, which are used in the vwhere visualization and filtering guilet,
as well as a gdk-pixbuf loader for the FITS image file format
widely used within astronomy, and an easy-to-use but powerful
image compositing, display, and output tool.

WWW: http://space.mit.edu/home/mnoble/slgtk/

PR:		ports/125055
Submitted by:	Alexey Shuvaev <shuvaev at phyisik.uni-wuerzburg.de>
This commit is contained in:
Martin Wilke 2008-06-29 13:05:14 +00:00
parent 6bbce42c81
commit 4247854b55
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=215946
5 changed files with 171 additions and 0 deletions

View File

@ -242,6 +242,7 @@
SUBDIR += scx
SUBDIR += sdl_gui
SUBDIR += sdl_pango
SUBDIR += slgtk
SUBDIR += slingshot
SUBDIR += soqt
SUBDIR += swt

View File

@ -0,0 +1,65 @@
# New ports collection makefile for: slgtk
# Date created: 28 May 2008
# Whom: Alexey Shuvaev <shuvaev@phyisik.uni-wuerzburg.de>
#
# $FreeBSD$
#
PORTNAME= slgtk
PORTVERSION= 0.7.3
CATEGORIES= x11-toolkits
MASTER_SITES= ftp://space.mit.edu/pub/cxc/modules/slgtk/
MAINTAINER= shuvaev@physik.uni-wuerzburg.de
COMMENT= S-Lang binding for GTK+
LIB_DEPENDS= slang.2:${PORTSDIR}/devel/libslang2
USE_GNOME= gtk20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= LDFLAGS=-lncurses
USE_LDCONFIG= yes
MAN1= imdisplay.1
OPTIONS= FITS "Install gdk-pixbuf FITS image loader" off
.include <bsd.port.pre.mk>
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+=--enable-ccdebug SLGTK_DEVEL_BUILD=true
.endif
.if !defined(WITHOUT_FITS)
ALL_TARGET= dynamic pixbuf_loader
INSTALL_TARGET= install install_pixbuf_loader
PLIST_SUB+= FITS=""
.else
ALL_TARGET= dynamic
PLIST_SUB+= FITS="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's|\.\.|${EXAMPLESDIR}| ; s|"examples"|"."|' \
${WRKSRC}/examples/main.sl
@${REINPLACE_CMD} -e '/rm -f devel/d ; /ln -sf @prefix@ devel/d' \
${WRKSRC}/Makefile.in
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|PACKAGES|SLGTK_PACKAGES|g'
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/doc/text/slgtk.txt ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
${MKDIR} ${EXAMPLESDIR}/images
${INSTALL_DATA} ${WRKSRC}/examples/README ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.sl ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/packages/wdisplay.sl ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/images/test.xpm ${EXAMPLESDIR}/images
${INSTALL_DATA} ${WRKSRC}/images/stars.fits ${EXAMPLESDIR}/images
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (slgtk-0.7.3.tar.gz) = 6659a04f0aa4b7d766f0c07ab29c8bff
SHA256 (slgtk-0.7.3.tar.gz) = 00c5f8959da505cfa3de9d355ee7b54770a63cc9eeb66b84e2102274da2042b6
SIZE (slgtk-0.7.3.tar.gz) = 1008004

View File

@ -0,0 +1,14 @@
The SLgtk package binds the GIMP Toolkit, also known as Gtk,
to the S-Lang scripting language. It provides an importable module
which makes most of Gtk and its constituent libraries callable directly
from S-Lang scripts.
With SLgtk the S-Lang programmer now has access to a powerful,
cross-platform widget set for creating sophisticated
graphical user interfaces (GUIs). The package also includes bindings
to GtkExtra, which are used in the vwhere visualization and filtering guilet,
as well as a gdk-pixbuf loader for the FITS image file format
widely used within astronomy, and an easy-to-use but powerful
image compositing, display, and output tool.
WWW: http://space.mit.edu/home/mnoble/slgtk/

View File

@ -0,0 +1,88 @@
bin/imdisplay
%%FITS%%lib/gtk-2.0/2.10.0/loaders/fitsi_loader.so
%%FITS%%lib/gtk-2.0/2.10.0/loaders/fitsi_loader.so.0.7.0
lib/slang/v2/modules/gtk-module.so
lib/slang/v2/modules/gtkextra-module.so
lib/slang/v2/modules/libslgtk.so
lib/slang/v2/modules/libslgtk.so.0
lib/slang/v2/modules/libslgtk.so.0.7.3
%%PORTDOCS%%%%DOCSDIR%%/slgtk.txt
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/buttonbox.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/buttons.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cairo.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/chained.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/checkbuttons.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/colorsel.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cube.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cursors.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demoutils.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dialogs.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/drawarea.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/entry.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/evtwatch.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/filesel.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fontsel.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fork.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gprompt.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gprompt_example.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gtkmainloop.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/handlebox.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/test.xpm
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/stars.fits
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/labels.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/layout.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/liststore.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/main.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/markers.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/menus.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/modalwin.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebook.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/panes.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pixmap.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/plot.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/prevgray.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/progbar.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/radiob.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/range.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/reparent.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rgbselect.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rgbtest.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rulers.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/scrollwin.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/slgtktoolbox.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/socket.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/spinb.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/statusbar.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stkcheck.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tabs.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/textview.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/timeout.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/togglebuttons.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/toolbar.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tooltips.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/transparency.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/viswhere.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wdisplay.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/window.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wmhints.sl
share/slsh/local-packages/gprompt.sl
share/slsh/local-packages/gtk.sl
share/slsh/local-packages/gtkextra.sl
share/slsh/local-packages/gtkplot.sl
share/slsh/local-packages/help/slgtkfun.hlp
share/slsh/local-packages/imdisplay.sl
share/slsh/local-packages/rgbselect.sl
share/slsh/local-packages/rgbwidget.sl
share/slsh/local-packages/slirprc-gtk.sl
share/slsh/local-packages/toolbox.sl
share/slsh/local-packages/vwdraw.sl
share/slsh/local-packages/vwhere.sl
share/slsh/local-packages/vwprefs.sl
share/slsh/local-packages/vwutils.sl
@dirrmtry share/slsh/local-packages/help
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/images
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%FITS%%@exec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/etc/gtk-2.0/gdk-pixbuf.loaders 2>/dev/null || /usr/bin/true
%%FITS%%@unexec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/etc/gtk-2.0/gdk-pixbuf.loaders 2>/dev/null || /usr/bin/true