diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-06-29 13:05:14 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-06-29 13:05:14 +0000 |
commit | 4247854b551dea4f3cdff5cfe081c4b40e34fd11 (patch) | |
tree | 468c32b592b2e078e908884c3c0c7c1bd4f072a8 /x11-toolkits/slgtk | |
parent | 6bbce42c81575330c4a66d1f6551c402475b84ff (diff) | |
download | ports-4247854b551dea4f3cdff5cfe081c4b40e34fd11.tar.gz ports-4247854b551dea4f3cdff5cfe081c4b40e34fd11.zip |
Notes
Diffstat (limited to 'x11-toolkits/slgtk')
-rw-r--r-- | x11-toolkits/slgtk/Makefile | 65 | ||||
-rw-r--r-- | x11-toolkits/slgtk/distinfo | 3 | ||||
-rw-r--r-- | x11-toolkits/slgtk/pkg-descr | 14 | ||||
-rw-r--r-- | x11-toolkits/slgtk/pkg-plist | 88 |
4 files changed, 170 insertions, 0 deletions
diff --git a/x11-toolkits/slgtk/Makefile b/x11-toolkits/slgtk/Makefile new file mode 100644 index 000000000000..fb5699939c46 --- /dev/null +++ b/x11-toolkits/slgtk/Makefile @@ -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> diff --git a/x11-toolkits/slgtk/distinfo b/x11-toolkits/slgtk/distinfo new file mode 100644 index 000000000000..aa3f19033980 --- /dev/null +++ b/x11-toolkits/slgtk/distinfo @@ -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 diff --git a/x11-toolkits/slgtk/pkg-descr b/x11-toolkits/slgtk/pkg-descr new file mode 100644 index 000000000000..a64756b37901 --- /dev/null +++ b/x11-toolkits/slgtk/pkg-descr @@ -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/ diff --git a/x11-toolkits/slgtk/pkg-plist b/x11-toolkits/slgtk/pkg-plist new file mode 100644 index 000000000000..4ed80005b17b --- /dev/null +++ b/x11-toolkits/slgtk/pkg-plist @@ -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 |