head	1.18;
access;
symbols
	RELEASE_4_2_0:1.17
	RELEASE_4_1_1:1.16
	RELEASE_4_1_0:1.9
	RELEASE_3_5_0:1.9
	RELEASE_4_0_0:1.6
	RELEASE_3_4_0:1.5
	RELEASE_3_3_0:1.3
	RELEASE_3_2_0:1.1.1.1
	v1_2_5:1.1.1.1
	FUKUMA:1.1.1;
locks; strict;
comment	@# @;


1.18
date	2001.04.13.19.08.48;	author knu;	state dead;
branches;
next	1.17;

1.17
date	2000.09.26.08.02.15;	author knu;	state Exp;
branches;
next	1.16;

1.16
date	2000.09.07.00.03.31;	author knu;	state Exp;
branches;
next	1.15;

1.15
date	2000.09.05.12.44.13;	author knu;	state Exp;
branches;
next	1.14;

1.14
date	2000.08.18.02.19.06;	author knu;	state Exp;
branches;
next	1.13;

1.13
date	2000.08.16.12.21.24;	author knu;	state Exp;
branches;
next	1.12;

1.12
date	2000.08.12.20.09.41;	author knu;	state Exp;
branches;
next	1.11;

1.11
date	2000.08.08.16.08.31;	author knu;	state Exp;
branches;
next	1.10;

1.10
date	2000.08.08.13.20.24;	author knu;	state Exp;
branches;
next	1.9;

1.9
date	2000.04.25.07.08.54;	author knu;	state Exp;
branches;
next	1.8;

1.8
date	2000.04.14.17.10.45;	author knu;	state Exp;
branches;
next	1.7;

1.7
date	2000.04.10.01.11.01;	author cpiazza;	state Exp;
branches;
next	1.6;

1.6
date	99.12.24.04.32.29;	author steve;	state Exp;
branches;
next	1.5;

1.5
date	99.11.28.18.31.47;	author steve;	state Exp;
branches;
next	1.4;

1.4
date	99.11.14.01.38.53;	author steve;	state Exp;
branches;
next	1.3;

1.3
date	99.08.31.02.59.34;	author peter;	state Exp;
branches;
next	1.2;

1.2
date	99.08.26.21.17.22;	author cpiazza;	state Exp;
branches;
next	1.1;

1.1
date	99.04.27.12.39.46;	author taoka;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.04.27.12.39.46;	author taoka;	state Exp;
branches;
next	;


desc
@@


1.18
log
@Retire Ruby 1.4.  Use 1.6 instead, now the migration period is over.

Approved by:	yasuf@@bsdclub.org (MAINTAINER)
@
text
@# New ports collection makefile for:	ruby-tcltklib
# Date created:		15 March 1999
# Whom:			Yasuhiro Fukuma <yasuf@@big.or.jp>
#
# $FreeBSD: ports/lang/ruby14-tcltklib/Makefile,v 1.17 2000/09/26 08:02:15 knu Exp $
#

PORTNAME=	tcltklib
PORTVERSION=	${RUBY_VERSION}
CATEGORIES+=	lang x11-toolkits ruby tcl${TCL_VERSION} tk${TK_VERSION}
MASTER_SITES=	${MASTER_SITE_RUBY}
MASTER_SITE_SUBDIR=	${RUBY_VER}
DISTNAME=	ruby-${PORTVERSION}
DIST_SUBDIR=	ruby

MAINTAINER?=	yasuf@@bsdclub.org

LIB_DEPENDS=	${TCL_LIB}.1:${PORTSDIR}/${TCL_CATEGORY}/tcl${TCL_VERSION} \
		${TK_LIB}.1:${PORTSDIR}/${TK_CATEGORY}/tk${TK_VERSION}

RUBY_VER=	1.4

USE_RUBY=	yes
USE_RUBY_EXTCONF=	yes
USE_XLIB=	yes
WRKSRC=		${WRKDIR}/${DISTNAME}/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}"

# 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
TCL_VERSION?=	82
TK_VERSION?=	82
.if defined(WITH_TCLTK_JP)
TCL_CATEGORY=	japanese
TK_CATEGORY=	japanese
TCL_JP=		jp
.else
TCL_CATEGORY=	lang
TK_CATEGORY=	x11-toolkits
TCL_JP=		# empty
.endif

TCL_LIB=	tcl${TCL_VERSION}${TCL_JP}
TK_LIB=		tk${TK_VERSION}${TCL_JP}
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/'`

.include <bsd.port.pre.mk>

.if defined(PKGNAMEPREFIX)
PKGNAMEPREFIX:=	${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
.else
PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
.endif

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${RUBY_EXAMPLESDIR}/tcltklib
	${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/tcltklib/
	${MKDIR} ${RUBY_EXAMPLESDIR}/tcltklib/demo
	${INSTALL_DATA} ${WRKSRC}/demo/* ${RUBY_EXAMPLESDIR}/tcltklib/demo/
	${MKDIR} ${RUBY_DOCDIR}/tcltklib/ja
	${INSTALL_DATA} ${WRKSRC}/*.euc ${RUBY_DOCDIR}/tcltklib/ja/
.endif

.include <bsd.port.post.mk>
@


1.17
log
@Now bsd.ruby.mk is automatically included by bsd.port.mk when USE_RUBY
or USE_LIBRUBY is defined, individual ruby ports no longer need to
include it explicitly.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby14-tcltklib/Makefile,v 1.16 2000/09/07 00:03:31 knu Exp $
@


1.16
log
@Split rubytk into ruby-tcltklib and ruby-tk.

Approved by:	Yasuhiro Fukuma <yasuf@@bsdclub.org> (MAINTAINER)

Repocopy ruby-* to ruby14-* and update ruby-* to 1.6.0-preview3.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby14-tcltklib/Makefile,v 1.15 2000/09/05 12:44:13 knu Exp $
a54 1
.include "${PORTSDIR}/Mk/bsd.ruby.mk"
@


1.15
log
@Use MASTER_SITE_RUBY.
@
text
@d1 1
a1 1
# New ports collection makefile for:	rubytk
d5 1
a5 1
# $FreeBSD: ports/x11-toolkits/rubytk/Makefile,v 1.14 2000/08/18 02:19:06 knu Exp $
d8 3
a10 3
PORTNAME=	rubytk
PORTVERSION=	1.4.6
CATEGORIES+=	x11-toolkits ruby
d12 1
a12 1
MASTER_SITE_SUBDIR=	1.4
a17 2
BUILD_DEPENDS=	ruby:${PORTSDIR}/lang/ruby
RUN_DEPENDS=	ruby:${PORTSDIR}/lang/ruby
d21 4
d26 1
a26 1
WRKSRC=		${WRKDIR}/${DISTNAME}/ext
a32 7
PLIST_SUB+=	RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"

RUBY_VER?=	1.4
RUBY_ARCH?=	${ARCH}-freebsd${OSREL}

DOCDIR=		${PREFIX}/share/doc/ruby
EXAMPLESDIR=	${PREFIX}/share/examples/ruby
d39 1
a39 1
.if defined(WITH_TCL_JP)
d54 2
a55 2
RUBY?=		${LOCALBASE}/bin/ruby
EXTS=		tcltklib tk
d57 4
a60 19
do-configure:
.for dir in ${EXTS}
	@@${ECHO_MSG} "Configuring in ${dir}..."
	@@cd ${WRKSRC}/${dir}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb ${CONFIGURE_ARGS}
.endfor

do-build:
.for dir in ${EXTS}
	@@${ECHO_MSG} "Building in ${dir}..."
	@@cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${MAKE} ${ALL_TARGET}
.endfor

do-install:
.for dir in ${EXTS}
	@@${ECHO_MSG} "Installing in ${dir}..."
	@@cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${MAKE} ${INSTALL_TARGET}
.if !defined(NOPORTDOCS)
	${MKDIR} ${EXAMPLESDIR}/${dir}
	${INSTALL_DATA} ${WRKSRC}/${dir}/sample/* ${EXAMPLESDIR}/${dir}
d62 2
a63 1
.endfor
d65 6
a70 4
	${MKDIR} ${EXAMPLESDIR}/tcltklib/demo
	${INSTALL_DATA} ${WRKSRC}/tcltklib/demo/* ${EXAMPLESDIR}/tcltklib/demo
	${MKDIR} ${DOCDIR}/tcltklib
	${INSTALL_DATA} ${WRKSRC}/tcltklib/*.euc ${DOCDIR}/tcltklib
d73 1
a73 1
.include <bsd.port.mk>
@


1.14
log
@Update Ruby to the new stable version, 1.4.6.

Approved by:	Yasuhiro Fukuma <yasuf@@bsdclub.org> (MAINTAINER)
@
text
@d5 1
a5 1
# $FreeBSD: ports/x11-toolkits/rubytk/Makefile,v 1.13 2000/08/16 12:21:24 knu Exp $
d11 2
a12 6
MASTER_SITES=	ftp://ftp.netlab.co.jp/pub/lang/ruby/${BRANCH_NAME}/ \
		ftp://ftp.TokyoNet.AD.JP/pub/misc/ruby/${BRANCH_NAME}/ \
		ftp://ftp.iij.ad.jp/pub/lang/ruby/${BRANCH_NAME}/ \
		ftp://blade.nagaokaut.ac.jp/pub/lang/ruby/${BRANCH_NAME}/ \
		ftp://ftp.krnet.ne.jp/pub/ruby/${BRANCH_NAME}/ \
		ftp://mirror.nucba.ac.jp/mirror/ruby/${BRANCH_NAME}/
a31 2

BRANCH_NAME=	1.4
@


1.13
log
@Make all these Ruby related ports belong also in the newly-added
"ruby" virtual category.

Make textproc/eruby belong also in www.
@
text
@d5 1
a5 1
# $FreeBSD: ports/x11-toolkits/rubytk/Makefile,v 1.12 2000/08/12 20:09:41 knu Exp $
d9 1
a9 1
PORTVERSION=	1.4.5
@


1.12
log
@Do The Right Thing. (R)

Overall changes:
	Use tabs instead of sequential spaces.
	Note Author as well as WWW in DESCR.
	Do not install examples when NOPORTDOCS.
	Make RUBY, RUBY_VER and RUBY_ARCH variables overridable.

ruby-date2:
	share/doc/ruby/date2/examples/ -> share/examples/ruby/date2/cal.rb

textproc/ruby-html-parser:
databases/ruby-mysql:
devel/ruby-optparse:
devel/ruby-property:
	Install modules under lib/ruby/site_ruby/${RUBY_VER}/ instead
	of lib/ruby/site_ruby/ or lib/ruby/${RUBY_VER}/

textproc/ruby-rdtool:
	Install documents in .rd format too.
	Format optparse's rd file. (Since ruby-rdtool depends on
	optparse, it cannot be done during optparse's build
	process.  So ruby-rdtool should take care of that when it is
	installed. :)
@
text
@d5 1
a5 1
# $FreeBSD: ports/x11-toolkits/rubytk/Makefile,v 1.11 2000/08/08 16:08:31 knu Exp $
d10 1
a10 1
CATEGORIES+=	x11-toolkits	# ruby
@


1.11
log
@Set DIST_SUBDIR=ruby for all these Ruby ports to stop distfile
namespace pollution.
@
text
@d1 3
a3 3
# New ports collection makefile for:    rubytk
# Date created:         15 March 1999
# Whom:                 Yasuhiro Fukuma <yasuf@@big.or.jp>
d5 1
a5 1
# $FreeBSD: ports/x11-toolkits/rubytk/Makefile,v 1.10 2000/08/08 13:20:24 knu Exp $
d39 2
a40 2
RUBY_VER=	1.4
RUBY_ARCH=	${ARCH}-freebsd${OSREL}
d65 1
a65 1
RUBY=		${LOCALBASE}/bin/ruby
d84 1
d87 1
d89 1
a89 2

post-install:
a91 1
.if !defined(NOPORTDOCS)
@


1.10
log
@Synchronize with lang/ruby. (1.4.4 -> 1.4.5)
@
text
@d5 1
a5 1
# $FreeBSD: ports/x11-toolkits/rubytk/Makefile,v 1.9 2000/04/25 07:08:54 knu Exp $
d18 1
@


1.9
log
@Update corresponding to the update of lang/ruby to 1.4.4.
Change the MAINTAINER's mail address.

PR:		ports/18195
Submitted by:	MAINTAINER
@
text
@d5 1
a5 1
# $FreeBSD: ports/x11-toolkits/rubytk/Makefile,v 1.8 2000/04/14 17:10:45 knu Exp $
d9 2
a10 2
PORTVERSION=	1.4.4
CATEGORIES+=	x11-toolkits
@


1.8
log
@Tiny cosmetic fixes.

Assure master ports and their lang-specific slaves of having
consistent categories.
@
text
@d5 1
a5 1
# $FreeBSD: ports/x11-toolkits/rubytk/Makefile,v 1.7 2000/04/10 01:11:01 cpiazza Exp $
d9 1
a9 1
PORTVERSION=	${VERSION}
d19 1
a19 1
MAINTAINER?=	yasuf@@big.or.jp
d28 1
a28 1
CONFIGURE_ARGS+= --with-tcllib="${TCL_LIB}" --with-tklib="${TK_LIB}" \
a35 1
VERSION=	1.4.3
@


1.7
log
@Update with the new PORTNAME/PORTVERSION variables
@
text
@d5 1
a5 1
# $FreeBSD: ports/x11-toolkits/rubytk/Makefile,v 1.6 1999/12/24 04:32:29 steve Exp $
d8 3
a10 3
PORTNAME?=	rubytk
PORTVERSION?=	1.4.3
CATEGORIES?=	x11-toolkits
@


1.6
log
@Update to version 1.4.3.

PR:		15591
Submitted by:	maintainer
@
text
@a1 1
# Version required:     1.4.3
d5 1
a5 1
# $FreeBSD: ports/x11-toolkits/rubytk/Makefile,v 1.5 1999/11/28 18:31:47 steve Exp $
d8 2
a9 2
DISTNAME=	ruby-${VERSION}
PKGNAME?=	rubytk-${VERSION}
d17 1
@


1.5
log
@Update to use Tcl/Tk version 8.2.

Submitted by:	Ade Lovett <ade@@lovett.com>
@
text
@d2 1
a2 1
# Version required:     1.4.2
d6 1
a6 1
# $FreeBSD: ports/x11-toolkits/rubytk/Makefile,v 1.4 1999/11/14 01:38:53 steve Exp $
d36 1
a36 1
VERSION=	1.4.2
@


1.4
log
@Update to version 1.4.2.

PR:		14629
Submitted by:	maintainer
@
text
@d6 1
a6 1
# $FreeBSD: ports/x11-toolkits/rubytk/Makefile,v 1.3 1999/08/31 02:59:34 peter Exp $
d48 2
a49 2
TCL_VERSION?=	80
TK_VERSION?=	80
@


1.3
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# Version required:     1.4.0
d6 1
a6 1
# $FreeBSD$
d29 4
a32 4
		--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}" \
d36 2
a37 2
VERSION=	1.4.0
BRANCH_NAME=	.
d42 3
d65 1
a65 1
RUBY=		${PREFIX}/bin/ruby
d84 2
a85 2
	${MKDIR} ${PREFIX}/share/examples/ruby/${dir}
	${INSTALL_DATA} ${WRKSRC}/${dir}/sample/* ${PREFIX}/share/examples/ruby/${dir}
d87 8
@


1.2
log
@Update to version 1.4.0

PR:		13305
Submitted by:	maintainer
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1999/04/27 12:39:46 taoka Exp $
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
# Version required:     1.2.5
d6 1
a6 1
# $Id$
d28 7
a34 3
CONFIGURE_ENV+=	TCL_LIB="${TCL_LIB}" TK_LIB="${TK_LIB}" \
		PREFIX="${PREFIX}" X11BASE="${X11BASE}"
PLIST_SUB+=	RUBY_ARCH="${RUBY_ARCH}"
d36 4
a41 3
VERSION=	1.2.5
BRANCH_NAME=	1.2

d59 2
d68 1
a68 1
	@@cd ${WRKSRC}/${dir}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb
d81 2
@


1.1.1.1
log
@a Ruby interface to Tcl/Tk libraries

PR:		10907
Submitted by:	Yasuhiro Fukuma <yasuf@@big.or.jp>
@
text
@@
