summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2009-02-15 03:34:51 +0000
committertaca <taca@pkgsrc.org>2009-02-15 03:34:51 +0000
commitc5bc0489cf424300a48883cad9e40a5bc2ce283a (patch)
treef51b5fae66d9b73229cfd9b0360725b802ea056a /x11
parent9f0bdb735862ee45a534d8ff74951c0da7d8a0b6 (diff)
downloadpkgsrc-c5bc0489cf424300a48883cad9e40a5bc2ce283a.tar.gz
Enable DESTDIR support and sort PLIST.
(No other functional change.)
Diffstat (limited to 'x11')
-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