aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/ruby-gtk2
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-10-15 23:45:59 +0800
committerknu <knu@FreeBSD.org>2000-10-15 23:45:59 +0800
commit0afcf161da99912aa55b6e2d29295cb436e6b0db (patch)
tree9d19df6cc8d11157e909314b814f6525c0c3470a /x11-toolkits/ruby-gtk2
parent810866b8597ce2f35a14211156a786276d8ffc07 (diff)
downloadfreebsd-ports-gnome-0afcf161da99912aa55b6e2d29295cb436e6b0db.tar.gz
freebsd-ports-gnome-0afcf161da99912aa55b6e2d29295cb436e6b0db.tar.zst
freebsd-ports-gnome-0afcf161da99912aa55b6e2d29295cb436e6b0db.zip
Fix the breakage regarding bsd.gnome.mk variables.
Submitted by: Yasuhiro Fukuma <yasuf@bsdclub.org> (MAINTAINER)
Diffstat (limited to 'x11-toolkits/ruby-gtk2')
-rw-r--r--x11-toolkits/ruby-gtk2/Makefile10
-rw-r--r--x11-toolkits/ruby-gtk2/pkg-plist12
2 files changed, 12 insertions, 10 deletions
diff --git a/x11-toolkits/ruby-gtk2/Makefile b/x11-toolkits/ruby-gtk2/Makefile
index 2770845e6ae8..6d058af5a6b4 100644
--- a/x11-toolkits/ruby-gtk2/Makefile
+++ b/x11-toolkits/ruby-gtk2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gtk
-PORTVERSION= 0.23
+PORTVERSION= 0.23
CATEGORIES= x11-toolkits ruby
MASTER_SITES= http://www.ruby-lang.org/gtk/download/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -23,16 +23,18 @@ USE_XLIB= yes
USE_GTK= yes
WANT_IMLIB= yes
+CONFIGURE_ARGS= ${CONFIG_CMD}
INSTALL_TARGET= site-install
.include <bsd.port.pre.mk>
.if defined(HAVE_IMLIB)
USE_IMLIB= yes
+PLIST_SUB+= IMLIB:=""
+CONFIG_CMD= ${IMLIB_CONFIG}
.else
-PLIST= ${WRKDIR}/PLIST
-pre-install:
- @${SED} -e '/gdkimlib/d' ${PKGDIR}/pkg-plist > ${PLIST}
+PLIST_SUB+= IMLIB:="@comment "
+CONFIG_CMD= ${GTK_CONFIG}
.endif
post-configure:
diff --git a/x11-toolkits/ruby-gtk2/pkg-plist b/x11-toolkits/ruby-gtk2/pkg-plist
index bcd4aa4b3a75..29bad1241393 100644
--- a/x11-toolkits/ruby-gtk2/pkg-plist
+++ b/x11-toolkits/ruby-gtk2/pkg-plist
@@ -11,12 +11,12 @@
%%RUBY_EXAMPLESDIR%%/gtk/browser/rbbr_rb.rb
%%RUBY_EXAMPLESDIR%%/gtk/browser/rbdump.rb
@dirrm %%RUBY_EXAMPLESDIR%%/gtk/browser
-%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample1.rb
-%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample2.rb
-%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample3.rb
-%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample4.rb
-%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample5.rb
-@dirrm %%RUBY_EXAMPLESDIR%%/gtk/gdkimlib
+%%IMLIB:%%%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample1.rb
+%%IMLIB:%%%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample2.rb
+%%IMLIB:%%%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample3.rb
+%%IMLIB:%%%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample4.rb
+%%IMLIB:%%%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample5.rb
+%%IMLIB:%%@dirrm %%RUBY_EXAMPLESDIR%%/gtk/gdkimlib
@dirrm %%RUBY_EXAMPLESDIR%%/gtk
%%RUBY_DOCDIR%%/gtk/Gdk.html
%%RUBY_DOCDIR%%/gtk/GdkImlib.html