head	1.21;
access;
symbols
	RELEASE_4_EOL:1.20
	RELEASE_6_2_0:1.19
	RELEASE_6_1_0:1.19
	RELEASE_5_5_0:1.19
	RELEASE_6_0_0:1.18
	RELEASE_5_4_0:1.17
	RELEASE_4_11_0:1.16
	RELEASE_5_3_0:1.16
	RELEASE_4_10_0:1.16
	RELEASE_5_2_1:1.13
	RELEASE_5_2_0:1.13
	RELEASE_4_9_0:1.12
	RELEASE_5_1_0:1.11
	RELEASE_4_8_0:1.10
	RELEASE_5_0_0:1.8
	RELEASE_4_7_0:1.4;
locks; strict;
comment	@# @;


1.21
date	2007.02.13.09.11.08;	author stas;	state dead;
branches;
next	1.20;

1.20
date	2007.01.02.19.19.04;	author stas;	state Exp;
branches;
next	1.19;

1.19
date	2005.11.11.01.17.43;	author linimon;	state Exp;
branches;
next	1.18;

1.18
date	2005.04.22.20.06.58;	author sem;	state Exp;
branches;
next	1.17;

1.17
date	2005.02.28.01.24.22;	author kris;	state Exp;
branches;
next	1.16;

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

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

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

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

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

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

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

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

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

1.7
date	2002.12.16.07.07.34;	author knu;	state Exp;
branches;
next	1.6;

1.6
date	2002.12.12.12.53.03;	author knu;	state Exp;
branches;
next	1.5;

1.5
date	2002.11.10.17.43.03;	author knu;	state Exp;
branches;
next	1.4;

1.4
date	2002.09.20.23.22.27;	author knu;	state Exp;
branches;
next	1.3;

1.3
date	2002.09.11.17.30.21;	author knu;	state Exp;
branches;
next	1.2;

1.2
date	2002.08.03.08.45.35;	author knu;	state Exp;
branches;
next	1.1;

1.1
date	2002.06.08.17.24.55;	author knu;	state Exp;
branches;
next	;


desc
@@


1.21
log
@- Remove expired ruby 1.6 ports.
- Remove expired ruby18_static port that depends on ruby16
@
text
@# New ports collection makefile for:	ruby16-shim-ruby18
# Date created:		5 May 2002
# Whom:			Akinori MUSHA aka knu <knu@@idaemons.org>
#
# $FreeBSD: ports/lang/ruby16-shim-ruby18/Makefile,v 1.20 2007/01/02 19:19:04 stas Exp $
#

PORTNAME=	shim-ruby18
PORTVERSION=	1.8.1.p3
CATEGORIES=	lang devel ruby
MASTER_SITES=	${MASTER_SITE_RUBY}
MASTER_SITE_SUBDIR=	shim
PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
DISTNAME=	shim-ruby16_18-1.8.1-preview3
DIST_SUBDIR=	ruby

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	A set of Ruby modules to provide Ruby 1.8 functionalities

DEPRECATED=	depends on deprecated port
EXPIRATION_DATE=2007-02-02

USE_BZIP2=	yes
USE_OPENSSL=	yes

USE_RUBY=	yes

MAKE_ARGS=	RUBY=${RUBY}
#CONFIGURE_ARGS+= CONFIGURE_ARGS="-- --config-opt=--with-opt-dir=${LOCALBASE}"
WRKSRC=		${WRKDIR}/shim/ruby16

RUBY_VER=	1.6

.include <bsd.port.pre.mk>

.if ${RUBY_VER} == ${RUBY_DEFAULT_VER}
IF_DEFAULT=	""
.else
IF_DEFAULT=	"@@comment "
.endif

INSTALLED_SCRIPTS=	${PREFIX}/bin/erb \
			${PREFIX}/bin/h2rb \
			${PREFIX}/bin/rdoc

PLIST_SUB+=	IF_DEFAULT=${IF_DEFAULT} \

pre-install:
	${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
# Make make reinstall work
	${RM} -f ${WRKSRC}/InstalledFiles

post-install:
.if ${RUBY_VER} == ${RUBY_DEFAULT_VER}
	for f in ${INSTALLED_SCRIPTS}; do \
		${LN} -f $${f}${RUBY_SUFFIX} $${f}${RUBY_R}; \
	done
.endif

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


1.20
log
@- Deprecate old and unmaintained ruby ports. It seems, that nobody uses it.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.19
log
@With portmgr hat on, reset maintainership of knu's ports since he has
been inactive more than 6 months.  We hope to see him back sometime.
@
text
@d20 3
@


1.18
log
@- Fix PLIST. Unbreak.
- Remove blank line in Makefile.

PR:		ports/79300
Submitted by:	IWATSUKI Hiroyuki <don@@na.rim.or.jp>
Approved by:	knu timeout
@
text
@d17 1
a17 1
MAINTAINER=	knu@@FreeBSD.org
@


1.17
log
@BROKEN: Incomplete pkg-plist
@
text
@a19 2
BROKEN=		Incomplete pkg-plist

a56 1

@


1.16
log
@Change the default version of ruby to 1.8 for i386 as well, finally.

Always put a version suffix to the ruby name (no matter if ruby is the
default version) to avoid mess in future.

[Notes for i386 users]

If you are a ruby developer and still want to stick with ruby 1.6 as
default, please add RUBY_DEFAULT_VER=1.6 to /etc/make.conf.

If you are a ruby developer and want to keep ruby 1.6 as default,
please add RUBY_DEFAULT_VER=1.6 to /etc/make.conf.  Otherwise, please
run the following series of commands to migrate to ruby 1.8:

  1) Reinstall portupgrade manually (and ruby 1.8 will be installed)
	pkg_delete portupgrade-\*
        (cd /usr/ports/sysutils/portupgrade; make install clean)

  2) Reinstall everything that depends on ruby 1.6 (to use ruby 1.8)
	portupgrade -fr lang/ruby16

  3) Reinstall ruby 1.8 (because the previous step kills symlinks)
	portupgrade -f lang/ruby18

  4) Deinstall ruby 1.6 stuff (if you are paranoia)
        pkg_deinstall -ri lang/ruby16
@
text
@d20 2
@


1.15
log
@Define RUBY_VER=1.6 instead of marking this port IGNORE when
RUBY_VER >= 1.7.
@
text
@d53 1
a53 1
		${LN} -f $${f}${RUBY_R} $${f}${_RUBY_SUFFIX}; \
@


1.14
log
@Update lang/ruby18 and lang/ruby16-shim-ruby18 to 1.8.1-preview3.
@
text
@d29 2
a31 4

.if ${RUBY_VER} >= 1.7
IGNORE=		is only for ruby 1.6, ruby ${RUBY_VER} does not need it
.endif
@


1.13
log
@Update to 1.8.1-preview2.
@
text
@d9 1
a9 1
PORTVERSION=	1.8.1.p2
d14 1
a14 1
DISTNAME=	shim-ruby16_18-1.8.1-preview2
d42 2
a43 1
			${PREFIX}/bin/h2rb
@


1.12
log
@The dl module seems to cause coredump on Pentium4 boxen when compiled
with gcc 3.3 with a -mcpu or -march flag (even -mcpu=pentiumpro, which
is the default CPU cflag that bsd.cpu.mk sets, leads ruby to coredump).

Although currently I'm not sure if gcc 3.3's optimization has a bug or
it is that it just exposed the dl module's hidden bug, disable those
flags to work around the problem for the moment.
@
text
@d9 1
a9 2
PORTVERSION=	1.8.0.p2.2003.04.19
PORTREVISION=	1
d14 1
a14 1
DISTNAME=	shim-ruby16_18-1.8.0-preview2-2003.04.19
d21 1
@


1.11
log
@Update lang/ruby, lang/ruby-devel and lang/ruby16-shim-ruby18 to the
latest snapshots as of 2003-04-19.

ruby-bigdecimal (formerly known as ruby-bigfloat) and ruby-zlib are
now part of ruby 1.8.
@
text
@d10 1
d25 1
a25 1
CONFIGURE_ARGS=	RUBY=${RUBY}
@


1.10
log
@Update to 1.8.0-preview2, which now includes ruby-testunit.
@
text
@d9 1
a9 1
PORTVERSION=	1.8.0.p2
d14 1
a14 1
DISTNAME=	shim-ruby16_18-${PORTVERSION:S/.p/-preview/}
d47 1
a47 1
	# Make reinstall work
@


1.9
log
@De-pkg-comment.
@
text
@d9 1
a9 1
PORTVERSION=	1.8.0.p1
d47 2
@


1.8
log
@lang/ruby:
  - Update to the 1.6.8 final release. (which fixes a couple of
    coredumping bugs)
  - Update Oni Guruma (alternative BSDL regexp engine) to 20021210.
  - Attach a small knob for debugging.

lang/ruby-devel
  - Update to 1.8.0 preview 1 + errata patch. (fixes a couple of
    coredumping bugs)
  - Update Oni Guruma (alternative BSDL regexp engine) to 20021210.
  - Fix pkg-plist nits.

lang/ruby16-shim-ruby18
  - Update to 1.8.0 preview 1. (sync with 1.6.8 & 1.8.0 preview1)
  - Fix pkg-plist nits.

Approved by:            lioux (and self)
A Merry Christmas to:   all of you
@
text
@d18 1
@


1.7
log
@Properly install h2rb so that lang/ruby-devel doesn't create a
dangling symlink.  PORTREVISION bumped.
@
text
@d9 1
a9 2
PORTVERSION=	1.7.3.2002.12.11
PORTREVISION=	1
d14 1
a14 1
DISTNAME=	shim-ruby16_18-${PORTVERSION}
a42 3

post-extract:
	${MV} ${WRKSRC}/ext/dl/h2rb ${WRKSRC}/bin/
@


1.6
log
@Update lang/ruby to 1.6.8-preview3, lang/ruby16-shim-ruby18 to
1.7.3.2002.12.11, and lang/ruby-devel to 1.7.3-2002.12.12.

- Fix a few bugs that lead to core dump, one in the ruby interpreter
  and another in the syslog module.

  Reported by:	ume (net/dtcp was a victim)

- Fix an installation problem occasionally seen on bento. (a bug in
  Makefile that caused race)

  Submitted by:	bento

- Fix a problem that irb(1) didn't work because the symlink was wrong.

  Submitted by:	Jos Backus <jos@@catnook.com>

- Get rid of move & symlink spaghetti completely from the installation
  process.

Discussed with:	portmgr (will)
@
text
@d10 1
d40 2
a41 1
INSTALLED_SCRIPTS=	${PREFIX}/bin/erb
d44 3
@


1.5
log
@Update to 1.7.3.2002.11.10.
@
text
@d9 1
a9 1
PORTVERSION=	1.7.3.2002.11.10
d33 10
d45 8
@


1.4
log
@Update to the latset snapshot as of 2002.09.20.
@
text
@d9 1
a9 1
PORTVERSION=	1.7.3.2002.09.20
@


1.3
log
@Update lang/ruby, lang/ruby-devel and lang/ruby16-shim-ruby18 to the
latest snapshots as of today, 2002-09-12 (JST).
@
text
@d9 1
a9 1
PORTVERSION=	1.7.3.2002.09.12
@


1.2
log
@Update to 1.7.2.2002.07.31.  The optparse module has been included.
@
text
@d9 1
a9 1
PORTVERSION=	1.7.2.2002.07.31
d11 2
a12 1
MASTER_SITES=	http://www.ruby-lang.org/~knu/
d24 1
a24 1
#CONFIGURE_ARGS+= CONFIGURE_ARGS="-- --config-opt=--with-opt-dir=/usr/local"
a31 4

post-extract:
	${MKDIR} ${WRKSRC}/ext-ra
	${MV} ${WRKSRC}/ext/iconv ${WRKDIR}/
@


1.1
log
@Add ruby16-shim-ruby18, version 1.7.2.2002.05.21.

Ruby Shim is a set of modules that provide the libraries and the
additional features that will appear in the next version of Ruby.

Shim between 1.6 and 1.8 includes:

	features/ruby18	Hooks to support ruby 1.8 extensions
	dl		Interface to dynamic linker
	racc-runtime	Racc runtime module
	stringio	IO interface for String
	strscan		Fast string scanner
	benchmark	Benchmark module
	fileutils	File & directory manipulation
	pp		Pretty printer (prettier version of `p')
	tsort		Topological sorter

Accordingly, this port obsoletes and replaces the following ports:

	devel/ruby-dl
	devel/ruby-fileutils
	devel/ruby-fnmatch
	devel/ruby-racc-runtime
	devel/ruby-strscan

They will be automatically deinstalled during the installation process
of this port.
@
text
@d9 1
a9 1
PORTVERSION=	1.7.2.2002.05.21
@

