summaryrefslogtreecommitdiff
path: root/x11/ruby-gtk
diff options
context:
space:
mode:
authortaca <taca>2009-02-15 03:34:51 +0000
committertaca <taca>2009-02-15 03:34:51 +0000
commit4a54285dc42da8214b5593aed57b35e0d66a0563 (patch)
treef51b5fae66d9b73229cfd9b0360725b802ea056a /x11/ruby-gtk
parentc23c9adb215d337b4e6dde3fdc5d5f8f09e6616a (diff)
downloadpkgsrc-4a54285dc42da8214b5593aed57b35e0d66a0563.tar.gz
Enable DESTDIR support and sort PLIST.
(No other functional change.)
Diffstat (limited to 'x11/ruby-gtk')
-rw-r--r--x11/ruby-gtk/Makefile6
-rw-r--r--x11/ruby-gtk/PLIST4
2 files changed, 6 insertions, 4 deletions
diff --git a/x11/ruby-gtk/Makefile b/x11/ruby-gtk/Makefile
index 797b918eee9..088796a02fb 100644
--- a/x11/ruby-gtk/Makefile
+++ b/x11/ruby-gtk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2008/06/19 15:06:11 taca Exp $
+# $NetBSD: Makefile,v 1.41 2009/02/15 03:34:51 taca Exp $
DISTNAME= ruby-gtk-${VERSION}
PKGNAME= ${RUBY_PKGPREFIX}-gtk-${VERSION}
@@ -16,7 +16,9 @@ USE_RUBY_EXTCONF= yes
INSTALL_TARGET= site-install
DOCS_EN= README README.EXT doc/rbbr.rb
DOCS_JA= README.ja README.EXT.ja
-INSTALLATION_DIRS== ${RUBY_EG}/gtk/doc ${RUBY_EG}/gtk/test ${RUBY_EG}/gtk/testgtk
+INSTALLATION_DIRS== ${RUBY_VENDORLIB} ${RUBY_EG}/gtk/doc \
+ ${RUBY_EG}/gtk/test ${RUBY_EG}/gtk/testgtk
+PKG_DESTDIR_SUPPORT= destdir
post-install:
${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${DESTDIR}${PREFIX}/${RUBY_EG}/gtk
diff --git a/x11/ruby-gtk/PLIST b/x11/ruby-gtk/PLIST
index 44fc5532a5f..a20bc44b442 100644
--- a/x11/ruby-gtk/PLIST
+++ b/x11/ruby-gtk/PLIST
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.5 2008/06/19 15:06:11 taca Exp $
+@comment $NetBSD: PLIST,v 1.6 2009/02/15 03:34:51 taca Exp $
${RUBY_VENDORARCHLIB}/gtk.${RUBY_DLEXT}
${RUBY_EG}/gtk/calendar.rb
-${RUBY_EG}/gtk/doc/rbbr.rb
${RUBY_EG}/gtk/cursor.rb
+${RUBY_EG}/gtk/doc/rbbr.rb
${RUBY_EG}/gtk/dnd.rb
${RUBY_EG}/gtk/drawing.rb
${RUBY_EG}/gtk/helloworld.rb