pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/ruby16-tcltklib Re-import previous ruby-tcltk pack...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f021b4dd114a
branches:  trunk
changeset: 484440:f021b4dd114a
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Nov 27 14:52:19 2004 +0000

description:
Re-import previous ruby-tcltk package as ruby16-tcltk package for supporting
Ruby 1.6.8.

diffstat:

 x11/ruby16-tcltklib/DESCR    |   2 ++
 x11/ruby16-tcltklib/Makefile |  44 ++++++++++++++++++++++++++++++++++++++++++++
 x11/ruby16-tcltklib/PLIST    |  16 ++++++++++++++++
 3 files changed, 62 insertions(+), 0 deletions(-)

diffs (74 lines):

diff -r 064a277ad9cd -r f021b4dd114a x11/ruby16-tcltklib/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/ruby16-tcltklib/DESCR Sat Nov 27 14:52:19 2004 +0000
@@ -0,0 +1,2 @@
+This is Ruby/TclTkLib, a Ruby interface to Tcl/Tk libraries.
+It's a part of the official Ruby distribution.
diff -r 064a277ad9cd -r f021b4dd114a x11/ruby16-tcltklib/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/ruby16-tcltklib/Makefile      Sat Nov 27 14:52:19 2004 +0000
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/27 14:52:19 taca Exp $
+# FreeBSD: ports/lang/ruby-tcltklib/Makefile,v 1.21 2000/10/20 19:56:04 knu Exp
+
+DISTNAME=      ${RUBY_DISTNAME}
+PKGNAME=       ${RUBY_PKGPREFIX}-tcltklib-${RUBY_VERSION}
+CATEGORIES=    x11 ruby
+MASTER_SITES=  ${MASTER_SITE_RUBY}
+
+MAINTAINER=    taca%NetBSD.org@localhost
+HOMEPAGE=      ${RUBY_HOMEPAGE}
+COMMENT=       Ruby interface to Tcl/Tk libraries
+
+RUBY_VERSION=          ${RUBY16_VERSION}
+USE_BUILDLINK3=                yes
+USE_RUBY_EXTCONF=      yes
+USE_X11=               yes
+DISTINFO_FILE=         ${RUBY_DISTINFO_FILE}
+EXTRACT_ELEMENTS=      ${RUBY_DISTNAME}/ext/tcltklib
+WRKSRC=                        ${RUBY_WRKSRC}/ext/tcltklib
+
+CONFIGURE_ARGS=        --with-tcllib="${TCL_LIB}" --with-tklib="${TK_LIB}" \
+               --with-tcl-lib="${LOCALBASE}/lib/${TCL_DIR}" \
+               --with-tk-lib="${LOCALBASE}/lib/${TK_DIR}" \
+               --with-tcl-include="${LOCALBASE}/include/${TCL_DIR}" \
+               --with-tk-include="${LOCALBASE}/include/${TK_DIR}" \
+               --with-X11-dir="${X11BASE}"
+REPLACE_RUBY=  demo/lines1.rb demo/lines2.rb \
+               sample/sample0.rb sample/sample1.rb sample/sample2.rb
+
+post-install:
+       ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/tcltklib
+       ${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/tcltklib
+       ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/tcltklib/demo
+       ${INSTALL_DATA} ${WRKSRC}/demo/* ${RUBY_EXAMPLESDIR}/tcltklib/demo
+       ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/tcltklib
+       ${INSTALL_DATA} ${WRKSRC}/MANUAL.euc ${RUBY_DOCDIR}/tcltklib/MANUAL.ja
+       ${INSTALL_DATA} ${WRKSRC}/README.euc ${RUBY_DOCDIR}/tcltklib/README.ja
+
+.include "../ruby-tcltklib/tcltkversion.mk"
+.include "../../lang/ruby/modules.mk"
+.include "../../lang/ruby/Makefile.common"
+.include "../../lang/tcl/buildlink3.mk"
+.include "../../x11/tk/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 064a277ad9cd -r f021b4dd114a x11/ruby16-tcltklib/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/ruby16-tcltklib/PLIST Sat Nov 27 14:52:19 2004 +0000
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/27 14:52:19 taca Exp $
+${RUBY_SITEARCHLIBDIR}/tcltklib.so
+${RUBY_SITELIBDIR}/tcltk.rb
+${RUBY_DOCDIR}/tcltklib/MANUAL.ja
+${RUBY_DOCDIR}/tcltklib/README.ja
+@dirrm ${RUBY_DOCDIR}/tcltklib
+${RUBY_EXAMPLESDIR}/tcltklib/batsu.gif
+${RUBY_EXAMPLESDIR}/tcltklib/maru.gif
+${RUBY_EXAMPLESDIR}/tcltklib/sample0.rb
+${RUBY_EXAMPLESDIR}/tcltklib/sample1.rb
+${RUBY_EXAMPLESDIR}/tcltklib/sample2.rb
+${RUBY_EXAMPLESDIR}/tcltklib/demo/lines0.tcl
+${RUBY_EXAMPLESDIR}/tcltklib/demo/lines1.rb
+${RUBY_EXAMPLESDIR}/tcltklib/demo/lines2.rb
+@dirrm ${RUBY_EXAMPLESDIR}/tcltklib/demo
+@dirrm ${RUBY_EXAMPLESDIR}/tcltklib



Home | Main Index | Thread Index | Old Index