Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Nov 1999 06:06:04 +0900
From:      yasuf@big.or.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/14629: Update: x11-toolkits/rubytk
Message-ID:  <19991101060604T.yasuf@big.or.jp>

next in thread | raw e-mail | index | archive | help

>Number:         14629
>Category:       ports
>Synopsis:       Update: x11-toolkits/rubytk
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 31 13:10:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Yasuhiro Fukuma
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:

	

>Description:

This patch contains:

  - Updates for ruby-1.4.2 (this also fixes ``unfetchable'' error).

>How-To-Repeat:

	

>Fix:

Index: rubytk/Makefile
===================================================================
RCS file: /home/ncvs/ports/x11-toolkits/rubytk/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile	1999/08/31 02:59:34	1.3
+++ Makefile	1999/10/31 06:01:33
@@ -1,5 +1,5 @@
 # New ports collection makefile for:    rubytk
-# Version required:     1.4.0
+# Version required:     1.4.2
 # Date created:         15 March 1999
 # Whom:                 Yasuhiro Fukuma <yasuf@big.or.jp>
 #
@@ -26,19 +26,22 @@
 USE_XLIB=	yes
 WRKSRC=		${WRKDIR}/${DISTNAME}/ext
 CONFIGURE_ARGS+= --with-tcllib="${TCL_LIB}" --with-tklib="${TK_LIB}" \
-		--with-tcl-lib="${PREFIX}/lib/${TCL_DIR}" \
-		--with-tk-lib="${PREFIX}/lib/${TK_DIR}" \
-		--with-tcl-include="${PREFIX}/include/${TCL_DIR}" \
-		--with-tk-include="${PREFIX}/include/${TK_DIR}" \
+		--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}"
 PLIST_SUB+=	RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
 
-VERSION=	1.4.0
-BRANCH_NAME=	.
+VERSION=	1.4.2
+BRANCH_NAME=	1.4
 
 RUBY_VER=	1.4
 RUBY_ARCH=	${ARCH}-freebsd${OSREL}
 
+DOCDIR=		${PREFIX}/share/doc/ruby
+EXAMPLESDIR=	${PREFIX}/share/examples/ruby
+
 # Set these vars as the version numbers (without decimal points) of Tcl/Tk
 # you want to use with Ruby/Tk.
 # e.g.: make TCL_VERSION=42 TK_VERSION=76 WITH_TCL_JP=yes build
@@ -59,7 +62,7 @@
 TCL_DIR=	`echo "${TCL_LIB}" | ${SED} 's/\([0-9]\)\([0-9]\)/\1.\2/'`
 TK_DIR=		`echo "${TK_LIB}"  | ${SED} 's/\([0-9]\)\([0-9]\)/\1.\2/'`
 
-RUBY=		${PREFIX}/bin/ruby
+RUBY=		${LOCALBASE}/bin/ruby
 EXTS=		tcltklib tk
 
 do-configure:
@@ -78,8 +81,16 @@
 .for dir in ${EXTS}
 	@${ECHO_MSG} "Installing in ${dir}..."
 	@cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${MAKE} ${INSTALL_TARGET}
-	${MKDIR} ${PREFIX}/share/examples/ruby/${dir}
-	${INSTALL_DATA} ${WRKSRC}/${dir}/sample/* ${PREFIX}/share/examples/ruby/${dir}
+	${MKDIR} ${EXAMPLESDIR}/${dir}
+	${INSTALL_DATA} ${WRKSRC}/${dir}/sample/* ${EXAMPLESDIR}/${dir}
 .endfor
+
+post-install:
+	${MKDIR} ${EXAMPLESDIR}/tcltklib/demo
+	${INSTALL_DATA} ${WRKSRC}/tcltklib/demo/* ${EXAMPLESDIR}/tcltklib/demo
+.if !defined(NOPORTDOCS)
+	${MKDIR} ${DOCDIR}/tcltklib
+	${INSTALL_DATA} ${WRKSRC}/tcltklib/*.euc ${DOCDIR}/tcltklib
+.endif
 
 .include <bsd.port.mk>
Index: rubytk/files/md5
===================================================================
RCS file: /home/ncvs/ports/x11-toolkits/rubytk/files/md5,v
retrieving revision 1.2
diff -u -r1.2 md5
--- md5	1999/08/26 21:17:22	1.2
+++ md5	1999/09/21 05:11:01
@@ -1 +1 @@
-MD5 (ruby-1.4.0.tar.gz) = e093dcd834caeedd84459d62e09e72ea
+MD5 (ruby-1.4.2.tar.gz) = 13c18f8cfa0cb0bf1268942cfc04c462
Index: rubytk/pkg/PLIST
===================================================================
RCS file: /home/ncvs/ports/x11-toolkits/rubytk/pkg/PLIST,v
retrieving revision 1.2
diff -u -r1.2 PLIST
--- PLIST	1999/08/26 21:17:23	1.2
+++ PLIST	1999/09/21 06:12:25
@@ -15,11 +15,18 @@
 lib/ruby/%%RUBY_VER%%/tkscrollbox.rb
 lib/ruby/%%RUBY_VER%%/tktext.rb
 lib/ruby/%%RUBY_VER%%/tkvirtevent.rb
+share/doc/ruby/tcltklib/MANUAL.euc
+share/doc/ruby/tcltklib/README.euc
+@dirrm share/doc/ruby/tcltklib
 share/examples/ruby/tcltklib/batsu.gif
 share/examples/ruby/tcltklib/maru.gif
 share/examples/ruby/tcltklib/sample0.rb
 share/examples/ruby/tcltklib/sample1.rb
 share/examples/ruby/tcltklib/sample2.rb
+share/examples/ruby/tcltklib/demo/lines0.tcl
+share/examples/ruby/tcltklib/demo/lines1.rb
+share/examples/ruby/tcltklib/demo/lines2.rb
+@dirrm share/examples/ruby/tcltklib/demo
 @dirrm share/examples/ruby/tcltklib
 share/examples/ruby/tk/tkbiff.rb
 share/examples/ruby/tk/tkbrowse.rb

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991101060604T.yasuf>