aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/ruby-pango
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2005-03-12 19:05:18 +0800
committermezz <mezz@FreeBSD.org>2005-03-12 19:05:18 +0800
commitd518f80dc208ca5cfc3977ffcd7b9980df98eacf (patch)
tree631d8a392e2260b38227e09139ea9c432f755f4a /x11-toolkits/ruby-pango
parent6cd4f98b305f25abf152ac61bd5ab8d1977b27a9 (diff)
downloadfreebsd-ports-gnome-d518f80dc208ca5cfc3977ffcd7b9980df98eacf.tar.gz
freebsd-ports-gnome-d518f80dc208ca5cfc3977ffcd7b9980df98eacf.tar.zst
freebsd-ports-gnome-d518f80dc208ca5cfc3977ffcd7b9980df98eacf.zip
-Update to 0.12.0, works with GTK 2.6/GNOME 2.10.
http://ruby-gnome2.sourceforge.jp/hiki.cgi?News_20050306_1 -A few clean up such as correct paths, dependencies and etc.
Diffstat (limited to 'x11-toolkits/ruby-pango')
-rw-r--r--x11-toolkits/ruby-pango/Makefile7
-rw-r--r--x11-toolkits/ruby-pango/pkg-plist1
2 files changed, 7 insertions, 1 deletions
diff --git a/x11-toolkits/ruby-pango/Makefile b/x11-toolkits/ruby-pango/Makefile
index a2187ac8a451..783697e8fa7d 100644
--- a/x11-toolkits/ruby-pango/Makefile
+++ b/x11-toolkits/ruby-pango/Makefile
@@ -20,8 +20,8 @@ COMMENT= Ruby binding for Pango
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/glib2.so:${PORTSDIR}/devel/ruby-glib2
USE_RUBY= yes
-USE_XLIB= yes
USE_GNOME= pango
+USE_REINPLACE= yes
USE_RUBY_EXTCONF= yes
.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common"
@@ -31,6 +31,11 @@ INSTALL_TARGET= site-install
DOCS= COPYING.LIB ChangeLog README
+post-patch:
+ @${REINPLACE_CMD} -e 's|local/bin/ruby|bin/env ruby|g' \
+ ${WRKSRC}/sample/*.rb
+ @${FIND} ${WRKSRC} -name '*.bak' -delete
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${RUBY_MODEXAMPLESDIR}
diff --git a/x11-toolkits/ruby-pango/pkg-plist b/x11-toolkits/ruby-pango/pkg-plist
index 5b2a6ae7732a..dc03bb40cc9d 100644
--- a/x11-toolkits/ruby-pango/pkg-plist
+++ b/x11-toolkits/ruby-pango/pkg-plist
@@ -1,5 +1,6 @@
%%RUBY_SITEARCHLIBDIR%%/pango.so
%%RUBY_SITEARCHLIBDIR%%/rbpango.h
+%%RUBY_SITEARCHLIBDIR%%/rbpangoversion.h
%%RUBY_SITELIBDIR%%/pango.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/attribute.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gdk_layout.rb