diff options
author | Jeremy Messenger <mezz@FreeBSD.org> | 2005-03-12 11:05:18 +0000 |
---|---|---|
committer | Jeremy Messenger <mezz@FreeBSD.org> | 2005-03-12 11:05:18 +0000 |
commit | ebfae590f20141a525b7803823fa8c115997107f (patch) | |
tree | dedcac2efe771f0a890bb568923089f2223d3814 /x11-toolkits/ruby-panelapplet | |
parent | ba6e68fea6287e3f1c619bfb757d202d58020807 (diff) | |
download | ports-ebfae590f20141a525b7803823fa8c115997107f.tar.gz ports-ebfae590f20141a525b7803823fa8c115997107f.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.
Notes
Notes:
svn path=/head/; revision=130980
Diffstat (limited to 'x11-toolkits/ruby-panelapplet')
-rw-r--r-- | x11-toolkits/ruby-panelapplet/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/x11-toolkits/ruby-panelapplet/Makefile b/x11-toolkits/ruby-panelapplet/Makefile index de768d7f572a..f9358f9a7a8d 100644 --- a/x11-toolkits/ruby-panelapplet/Makefile +++ b/x11-toolkits/ruby-panelapplet/Makefile @@ -17,10 +17,11 @@ DIST_SUBDIR= ruby MAINTAINER= mezz@FreeBSD.org COMMENT= Ruby binding for libpanel-applet -RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2 +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gnome2.so:${PORTSDIR}/x11/ruby-gnome2 USE_RUBY= yes USE_GNOME= gnomepanel +USE_REINPLACE= yes USE_RUBY_EXTCONF= yes .include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common" @@ -30,6 +31,14 @@ INSTALL_TARGET= site-install DOCS= COPYING.LIB ChangeLog README +post-patch: + @${REINPLACE_CMD} -e 's|/usr/lib/|${X11BASE}/libdata/|g ; \ + s|/usr/libexec/|${X11BASE}/libexec/|g' \ + ${WRKSRC}/sample/README ${WRKSRC}/sample/*.server + @${REINPLACE_CMD} -e 's|bin/ruby|bin/env ruby|g' \ + ${WRKSRC}/sample/hello-applet.rb + @${FIND} ${WRKSRC} -name '*.bak' -delete + post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${RUBY_MODEXAMPLESDIR} |