aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/ruby-pango
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2005-03-12 11:05:18 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2005-03-12 11:05:18 +0000
commitebfae590f20141a525b7803823fa8c115997107f (patch)
treededcac2efe771f0a890bb568923089f2223d3814 /x11-toolkits/ruby-pango
parentba6e68fea6287e3f1c619bfb757d202d58020807 (diff)
downloadports-ebfae590f20141a525b7803823fa8c115997107f.tar.gz
ports-ebfae590f20141a525b7803823fa8c115997107f.zip
Notes
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