aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/slgtk
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2010-11-03 05:54:29 +0800
committerkwm <kwm@FreeBSD.org>2010-11-03 05:54:29 +0800
commit0cb15833ae618a005d9b53a8b348aae0bbcbc1da (patch)
treebe9376303982c59e071d4ff870179d34a45a4509 /x11-toolkits/slgtk
parent0fc9952b738dabce5a7fccd88d7f94c21bea16a3 (diff)
downloadfreebsd-ports-gnome-0cb15833ae618a005d9b53a8b348aae0bbcbc1da.tar.gz
freebsd-ports-gnome-0cb15833ae618a005d9b53a8b348aae0bbcbc1da.tar.zst
freebsd-ports-gnome-0cb15833ae618a005d9b53a8b348aae0bbcbc1da.zip
Update to 0.7.6.
PR: ports/151983 Submitted by: myself Approved by: Alexey Shuvaev <shuvaev@physik.uni-wuerzburg.de> (maintainer)
Diffstat (limited to 'x11-toolkits/slgtk')
-rw-r--r--x11-toolkits/slgtk/Makefile13
-rw-r--r--x11-toolkits/slgtk/distinfo5
-rw-r--r--x11-toolkits/slgtk/files/patch-src_slirprc-gtk.sl11
-rw-r--r--x11-toolkits/slgtk/pkg-plist8
4 files changed, 16 insertions, 21 deletions
diff --git a/x11-toolkits/slgtk/Makefile b/x11-toolkits/slgtk/Makefile
index 0bc35da548fa..32b25e75c326 100644
--- a/x11-toolkits/slgtk/Makefile
+++ b/x11-toolkits/slgtk/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= slgtk
-PORTVERSION= 0.7.5
-PORTREVISION= 4
+PORTVERSION= 0.7.6
CATEGORIES= x11-toolkits
MASTER_SITES= ftp://space.mit.edu/pub/cxc/modules/slgtk/
@@ -25,7 +24,7 @@ MAN1= imdisplay.1
OPTIONS= FITS "Install gdk-pixbuf FITS image loader" off
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+=--enable-ccdebug SLGTK_DEVEL_BUILD=true
@@ -41,8 +40,9 @@ PLIST_SUB+= FITS="@comment "
.endif
post-patch:
- @${REINPLACE_CMD} -e 's|\.\.|${EXAMPLESDIR}| ; s|"examples"|"."|' \
- ${WRKSRC}/examples/main.sl
+ @${REINPLACE_CMD} -e 's|"examples"|"."| ; s|/examples|| ; \
+ s|"\.\."|"${EXAMPLESDIR}"|' \
+ ${WRKSRC}/examples/main.sl ${WRKSRC}/examples/socket.sl
@${REINPLACE_CMD} -e '/rm -f devel/d ; /ln -sf @prefix@ devel/d' \
${WRKSRC}/Makefile.in
@@ -55,6 +55,7 @@ post-install:
${MKDIR} ${EXAMPLESDIR}
${MKDIR} ${EXAMPLESDIR}/images
${INSTALL_DATA} ${WRKSRC}/examples/README ${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/examples/gtkplug ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.sl ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/packages/wdisplay.sl ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/images/gtk-logo-rgb.gif ${EXAMPLESDIR}/images
@@ -62,4 +63,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/images/stars.fits ${EXAMPLESDIR}/images
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/x11-toolkits/slgtk/distinfo b/x11-toolkits/slgtk/distinfo
index 595633e67a2e..ef14f7fd801f 100644
--- a/x11-toolkits/slgtk/distinfo
+++ b/x11-toolkits/slgtk/distinfo
@@ -1,3 +1,2 @@
-MD5 (slgtk-0.7.5.tar.gz) = 99a2b4e313daebb53218b9af41874d4f
-SHA256 (slgtk-0.7.5.tar.gz) = 06f390bd58c404693a152077c39f2116c7782e42e13aca9423787ecd463066a4
-SIZE (slgtk-0.7.5.tar.gz) = 1014634
+SHA256 (slgtk-0.7.6.tar.gz) = ed9545d45b6ef40ec09593b287d48812d6ea4bc0d4ec54fa2fe7c8a4bcbcc402
+SIZE (slgtk-0.7.6.tar.gz) = 1625646
diff --git a/x11-toolkits/slgtk/files/patch-src_slirprc-gtk.sl b/x11-toolkits/slgtk/files/patch-src_slirprc-gtk.sl
deleted file mode 100644
index 9b4ecf3bfc6d..000000000000
--- a/x11-toolkits/slgtk/files/patch-src_slirprc-gtk.sl
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/slirprc-gtk.sl.orig 2009-09-27 23:31:51.000000000 -0400
-+++ src/slirprc-gtk.sl 2009-09-27 23:32:06.000000000 -0400
-@@ -308,6 +308,8 @@ accepts_null_args["g_list_append"] = [1]
- gtk_widget_get_window % prefer my version, which returns
- % bin_window for GtkLayout
-
-+gtk_widget_get_allocation
-+
- gtk_accel_group_activate % gtk/gtkaccelgroup.h: "internal" funcs
- gtk_accel_group_get_entry
- gtk_accel_group_lock_entry
diff --git a/x11-toolkits/slgtk/pkg-plist b/x11-toolkits/slgtk/pkg-plist
index 845dfbdafd67..148636889d94 100644
--- a/x11-toolkits/slgtk/pkg-plist
+++ b/x11-toolkits/slgtk/pkg-plist
@@ -1,11 +1,13 @@
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/gif-module.so
+lib/slang/v2/modules/gif-module.so.0.5.2
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.5
+lib/slang/v2/modules/libslgtk.so.0.7.6
%%PORTDOCS%%%%DOCSDIR%%/slgtk.txt
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/buttonbox.sl
@@ -27,6 +29,7 @@ lib/slang/v2/modules/libslgtk.so.0.7.5
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gprompt.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gprompt_example.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gtkmainloop.sl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gtkplug
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/handlebox.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/gtk-logo-rgb.gif
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/test.xpm
@@ -67,10 +70,13 @@ lib/slang/v2/modules/libslgtk.so.0.7.5
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wdisplay.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/window.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wmhints.sl
+share/slsh/local-packages/animio.sl
+share/slsh/local-packages/gif.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/giffuns.hlp
share/slsh/local-packages/help/slgtkfun.hlp
share/slsh/local-packages/imdisplay.sl
share/slsh/local-packages/rgbselect.sl