summaryrefslogtreecommitdiff
path: root/x11/ruby-tk/Makefile
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2008-06-19 14:37:41 +0000
committertaca <taca@pkgsrc.org>2008-06-19 14:37:41 +0000
commit399e43328bdfa4389c19c7f41a2d68aa55bf9559 (patch)
tree84a0d5a3788b438f1e2b9fae6091169768bb02f8 /x11/ruby-tk/Makefile
parent64ea99e8754f6a0d67c09fd7220c7b4af6ba0e79 (diff)
downloadpkgsrc-399e43328bdfa4389c19c7f41a2d68aa55bf9559.tar.gz
Update ruby18-tk package to 1.8.7.
Since chanes are too much to write here, please refer http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7/NEWS http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7/ChangeLog http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_17/NEWS http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_17/ChangeLog
Diffstat (limited to 'x11/ruby-tk/Makefile')
-rw-r--r--x11/ruby-tk/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/x11/ruby-tk/Makefile b/x11/ruby-tk/Makefile
index 99582caef53..679d16b606b 100644
--- a/x11/ruby-tk/Makefile
+++ b/x11/ruby-tk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2008/04/04 15:31:39 jlam Exp $
+# $NetBSD: Makefile,v 1.31 2008/06/19 14:37:41 taca Exp $
DISTNAME= ${RUBY_DISTNAME}
PKGNAME= ${RUBY_PKGPREFIX}-tk-${RUBY_VERSION_SUFFIX}
@@ -12,6 +12,8 @@ COMMENT= Ruby interface to the Tk widget set
PKG_DESTDIR_SUPPORT= user-destdir
RUBY_HAS_ARCHLIB= yes
+USE_LANGUAGES= c
+USE_TOOLS+= pax
USE_RUBY_EXTCONF= yes
RUBY_EXTCONF_SUBDIRS= . tkutil
EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/tk
@@ -19,6 +21,7 @@ WRKSRC= ${RUBY_WRKSRC}/ext/tk
CONFIGURE_ARGS+= --with-X11-dir=${X11BASE:Q}
REPLACE_RUBY_DIRS= sample
+INSTALLATION_DIRS= ${RUBY_EG}/tk
post-extract:
${CHMOD} ${SHAREMODE} ${WRKSRC}/sample/tkextlib/tktable/tcllogo.gif
@@ -29,8 +32,7 @@ pre-install:
-name '*.orig_dist' \) -exec ${RM} -f {} \;
post-install:
- ${INSTALL_DATA_DIR} ${DESTDIR}${RUBY_EXAMPLESDIR}/tk
- ${CP} -r ${WRKSRC}/sample/* ${DESTDIR}${RUBY_EXAMPLESDIR}/tk
+ cd ${WRKSRC}/sample; ${PAX} -rw . ${DESTDIR}${PREFIX}/${RUBY_EG}/tk
.include "../../lang/ruby/modules.mk"
.include "../../lang/ruby/Makefile.common"