head	1.118;
access;
symbols
	RELEASE_4_EOL:1.117
	RELEASE_6_2_0:1.116
	RELEASE_6_1_0:1.115
	RELEASE_5_5_0:1.115
	RELEASE_6_0_0:1.110
	RELEASE_5_4_0:1.110
	RELEASE_4_11_0:1.109
	RELEASE_5_3_0:1.108
	RELEASE_4_10_0:1.107
	RELEASE_5_2_1:1.106
	RELEASE_5_2_0:1.106
	RELEASE_4_9_0:1.106
	old_RELEASE_5_1_0:1.106
	old_RELEASE_4_8_0:1.104
	old_RELEASE_5_0_0:1.94
	old_RELEASE_4_7_0:1.90
	old_RELEASE_4_6_2:1.87
	old_RELEASE_4_6_1:1.87
	old_RELEASE_4_6_0:1.87
	old_RELEASE_5_0_DP1:1.84
	old_RELEASE_4_5_0:1.80
	old_RELEASE_4_4_0:1.75
	old_RELEASE_4_3_0:1.50
	old_RELEASE_4_2_0:1.39
	old_RELEASE_4_1_1:1.35
	old_RELEASE_4_1_0:1.24
	old_RELEASE_3_5_0:1.23
	old_RELEASE_4_0_0:1.18
	old_RELEASE_3_4_0:1.14
	old_RELEASE_3_3_0:1.13
	old_RELEASE_3_2_0:1.11
	old_RELEASE_3_1_0:1.8
	old_RELEASE_2_2_8:1.8
	old_RELEASE_3_0_0:1.8
	old_RELEASE_2_2_7:1.6
	old_RELEASE_2_2_6:1.5
	old_RELEASE_2_2_5:1.3
	old_ruby_1_0:1.1.1.1
	old_USAGI:1.1.1;
locks; strict;
comment	@# @;


1.118
date	2007.02.13.09.11.07;	author stas;	state dead;
branches;
next	1.117;

1.117
date	2007.01.02.19.19.04;	author stas;	state Exp;
branches;
next	1.116;

1.116
date	2006.08.15.00.29.08;	author clsung;	state Exp;
branches;
next	1.115;

1.115
date	2006.02.26.02.28.44;	author ade;	state Exp;
branches;
next	1.114;

1.114
date	2006.01.15.08.37.30;	author pav;	state Exp;
branches;
next	1.113;

1.113
date	2005.11.11.01.17.42;	author linimon;	state Exp;
branches;
next	1.112;

1.112
date	2005.11.09.08.54.12;	author sem;	state Exp;
branches;
next	1.111;

1.111
date	2005.10.27.19.40.24;	author sem;	state Exp;
branches;
next	1.110;

1.110
date	2005.02.05.04.59.25;	author knu;	state Exp;
branches;
next	1.109;

1.109
date	2004.11.25.15.25.33;	author simon;	state Exp;
branches;
next	1.108;

1.108
date	2004.08.17.07.10.44;	author knu;	state Exp;
branches;
next	1.107;

1.107
date	2004.02.26.19.20.09;	author knu;	state Exp;
branches;
next	1.106;

1.106
date	2003.04.19.15.57.36;	author knu;	state Exp;
branches;
next	1.105;

1.105
date	2003.04.05.11.37.55;	author knu;	state Exp;
branches;
next	1.104;

1.104
date	2003.02.18.11.24.59;	author knu;	state Exp;
branches;
next	1.103;

1.103
date	2003.02.18.05.28.16;	author knu;	state Exp;
branches;
next	1.102;

1.102
date	2003.02.04.13.13.05;	author knu;	state Exp;
branches;
next	1.101;

1.101
date	2003.02.04.12.53.42;	author knu;	state Exp;
branches;
next	1.100;

1.100
date	2003.01.25.21.02.57;	author knu;	state Exp;
branches;
next	1.99;

1.99
date	2003.01.25.09.19.14;	author knu;	state Exp;
branches;
next	1.98;

1.98
date	2003.01.16.05.39.55;	author knu;	state Exp;
branches;
next	1.97;

1.97
date	2003.01.11.10.23.52;	author knu;	state Exp;
branches;
next	1.96;

1.96
date	2003.01.11.10.13.05;	author knu;	state Exp;
branches;
next	1.95;

1.95
date	2003.01.11.08.45.19;	author knu;	state Exp;
branches;
next	1.94;

1.94
date	2002.12.24.18.12.19;	author knu;	state Exp;
branches;
next	1.93;

1.93
date	2002.12.12.12.53.03;	author knu;	state Exp;
branches;
next	1.92;

1.92
date	2002.11.18.20.36.14;	author knu;	state Exp;
branches;
next	1.91;

1.91
date	2002.11.06.12.28.56;	author knu;	state Exp;
branches;
next	1.90;

1.90
date	2002.09.24.20.07.07;	author knu;	state Exp;
branches;
next	1.89;

1.89
date	2002.08.03.12.36.21;	author knu;	state Exp;
branches;
next	1.88;

1.88
date	2002.07.24.10.56.42;	author knu;	state Exp;
branches;
next	1.87;

1.87
date	2002.05.25.00.30.24;	author knu;	state Exp;
branches;
next	1.86;

1.86
date	2002.05.24.10.57.30;	author knu;	state Exp;
branches;
next	1.85;

1.85
date	2002.04.14.12.38.26;	author knu;	state Exp;
branches;
next	1.84;

1.84
date	2002.03.26.22.19.59;	author knu;	state Exp;
branches;
next	1.83;

1.83
date	2002.03.13.22.57.19;	author knu;	state Exp;
branches;
next	1.82;

1.82
date	2002.02.19.20.48.39;	author knu;	state Exp;
branches;
next	1.81;

1.81
date	2002.01.29.09.14.09;	author knu;	state Exp;
branches;
next	1.80;

1.80
date	2002.01.06.06.20.20;	author will;	state Exp;
branches;
next	1.79;

1.79
date	2001.12.25.17.02.32;	author knu;	state Exp;
branches;
next	1.78;

1.78
date	2001.12.22.16.45.03;	author knu;	state Exp;
branches;
next	1.77;

1.77
date	2001.09.19.14.34.05;	author knu;	state Exp;
branches;
next	1.76;

1.76
date	2001.09.17.17.54.19;	author knu;	state Exp;
branches;
next	1.75;

1.75
date	2001.09.13.05.51.38;	author knu;	state Exp;
branches;
next	1.74;

1.74
date	2001.09.03.13.00.00;	author knu;	state Exp;
branches;
next	1.73;

1.73
date	2001.08.22.10.08.19;	author knu;	state Exp;
branches;
next	1.72;

1.72
date	2001.08.16.11.38.45;	author knu;	state Exp;
branches;
next	1.71;

1.71
date	2001.07.31.16.46.55;	author knu;	state Exp;
branches;
next	1.70;

1.70
date	2001.07.11.12.08.36;	author knu;	state Exp;
branches;
next	1.69;

1.69
date	2001.06.21.16.36.46;	author knu;	state Exp;
branches;
next	1.68;

1.68
date	2001.06.16.08.46.32;	author knu;	state Exp;
branches;
next	1.67;

1.67
date	2001.06.11.09.32.01;	author knu;	state Exp;
branches;
next	1.66;

1.66
date	2001.06.09.02.33.11;	author knu;	state Exp;
branches;
next	1.65;

1.65
date	2001.06.09.01.43.01;	author knu;	state Exp;
branches;
next	1.64;

1.64
date	2001.06.04.14.54.31;	author knu;	state Exp;
branches;
next	1.63;

1.63
date	2001.06.01.11.39.36;	author knu;	state Exp;
branches;
next	1.62;

1.62
date	2001.05.29.21.38.36;	author knu;	state Exp;
branches;
next	1.61;

1.61
date	2001.05.29.21.22.10;	author knu;	state Exp;
branches;
next	1.60;

1.60
date	2001.05.29.21.16.53;	author knu;	state Exp;
branches;
next	1.59;

1.59
date	2001.05.24.17.48.44;	author knu;	state Exp;
branches;
next	1.58;

1.58
date	2001.05.24.17.27.20;	author knu;	state Exp;
branches;
next	1.57;

1.57
date	2001.05.11.18.22.56;	author knu;	state Exp;
branches;
next	1.56;

1.56
date	2001.05.07.19.52.03;	author knu;	state Exp;
branches;
next	1.55;

1.55
date	2001.05.06.16.48.03;	author knu;	state Exp;
branches;
next	1.54;

1.54
date	2001.05.05.23.06.03;	author knu;	state Exp;
branches;
next	1.53;

1.53
date	2001.05.05.22.39.59;	author knu;	state Exp;
branches;
next	1.52;

1.52
date	2001.05.05.22.03.07;	author knu;	state Exp;
branches;
next	1.51;

1.51
date	2001.05.01.17.16.36;	author knu;	state Exp;
branches;
next	1.50;

1.50
date	2001.04.17.18.08.24;	author knu;	state Exp;
branches;
next	1.49;

1.49
date	2001.04.12.16.57.17;	author knu;	state Exp;
branches;
next	1.48;

1.48
date	2001.04.10.07.23.49;	author knu;	state Exp;
branches;
next	1.47;

1.47
date	2001.04.01.21.21.27;	author knu;	state Exp;
branches;
next	1.46;

1.46
date	2001.04.01.17.52.01;	author knu;	state Exp;
branches;
next	1.45;

1.45
date	2001.03.21.11.02.32;	author knu;	state Exp;
branches;
next	1.44;

1.44
date	2001.03.19.11.13.38;	author knu;	state Exp;
branches;
next	1.43;

1.43
date	2001.03.19.10.51.53;	author knu;	state Exp;
branches;
next	1.42;

1.42
date	2001.02.19.15.51.37;	author knu;	state Exp;
branches;
next	1.41;

1.41
date	2001.02.19.07.54.08;	author knu;	state Exp;
branches;
next	1.40;

1.40
date	2001.01.18.19.53.38;	author knu;	state Exp;
branches;
next	1.39;

1.39
date	2000.10.20.19.56.03;	author knu;	state Exp;
branches;
next	1.38;

1.38
date	2000.09.28.19.33.36;	author knu;	state Exp;
branches;
next	1.37;

1.37
date	2000.09.26.09.34.52;	author knu;	state Exp;
branches;
next	1.36;

1.36
date	2000.09.26.08.02.14;	author knu;	state Exp;
branches;
next	1.35;

1.35
date	2000.09.19.15.20.14;	author knu;	state Exp;
branches;
next	1.34;

1.34
date	2000.09.06.23.17.09;	author knu;	state Exp;
branches;
next	1.33;

1.33
date	2000.09.06.22.46.12;	author knu;	state Exp;
branches;
next	1.32;

1.32
date	2000.09.06.21.51.00;	author knu;	state Exp;
branches;
next	1.31;

1.31
date	2000.09.05.12.44.12;	author knu;	state Exp;
branches;
next	1.30;

1.30
date	2000.08.30.10.10.12;	author knu;	state Exp;
branches;
next	1.29;

1.29
date	2000.08.18.02.19.00;	author knu;	state Exp;
branches;
next	1.28;

1.28
date	2000.08.16.12.21.07;	author knu;	state Exp;
branches;
next	1.27;

1.27
date	2000.08.15.19.53.08;	author knu;	state Exp;
branches;
next	1.26;

1.26
date	2000.08.12.20.09.22;	author knu;	state Exp;
branches;
next	1.25;

1.25
date	2000.08.08.16.08.24;	author knu;	state Exp;
branches;
next	1.24;

1.24
date	2000.07.11.10.17.09;	author sobomax;	state Exp;
branches;
next	1.23;

1.23
date	2000.06.16.21.51.22;	author asami;	state Exp;
branches;
next	1.22;

1.22
date	2000.06.16.08.18.47;	author sobomax;	state Exp;
branches;
next	1.21;

1.21
date	2000.06.15.17.59.16;	author sobomax;	state Exp;
branches;
next	1.20;

1.20
date	2000.04.25.04.34.14;	author knu;	state Exp;
branches;
next	1.19;

1.19
date	2000.04.12.06.20.25;	author obrien;	state Exp;
branches;
next	1.18;

1.18
date	2000.01.25.18.33.42;	author sumikawa;	state Exp;
branches;
next	1.17;

1.17
date	2000.01.18.12.34.30;	author sumikawa;	state Exp;
branches;
next	1.16;

1.16
date	2000.01.12.19.16.43;	author sumikawa;	state Exp;
branches;
next	1.15;

1.15
date	99.12.24.04.30.26;	author steve;	state Exp;
branches;
next	1.14;

1.14
date	99.11.14.01.37.13;	author steve;	state Exp;
branches;
next	1.13;

1.13
date	99.08.26.21.10.22;	author cpiazza;	state Exp;
branches;
next	1.12;

1.12
date	99.08.25.06.35.19;	author obrien;	state Exp;
branches;
next	1.11;

1.11
date	99.04.22.00.17.02;	author scrappy;	state Exp;
branches;
next	1.10;

1.10
date	99.04.19.03.55.51;	author steve;	state Exp;
branches;
next	1.9;

1.9
date	99.02.22.04.11.48;	author steve;	state Exp;
branches;
next	1.8;

1.8
date	98.09.22.03.22.47;	author jkoshy;	state Exp;
branches;
next	1.7;

1.7
date	98.09.09.01.22.59;	author jkoshy;	state Exp;
branches;
next	1.6;

1.6
date	98.05.15.05.01.04;	author chuckr;	state Exp;
branches;
next	1.5;

1.5
date	98.02.11.23.56.29;	author max;	state Exp;
branches;
next	1.4;

1.4
date	97.12.01.08.09.37;	author vanilla;	state Exp;
branches;
next	1.3;

1.3
date	97.09.22.13.59.37;	author tg;	state Exp;
branches;
next	1.2;

1.2
date	97.09.12.07.51.47;	author tg;	state Exp;
branches;
next	1.1;

1.1
date	97.09.11.09.45.56;	author tg;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	97.09.11.09.45.56;	author tg;	state Exp;
branches;
next	;


desc
@@


1.118
log
@- Remove expired ruby 1.6 ports.
- Remove expired ruby18_static port that depends on ruby16
@
text
@# New ports collection makefile for:	ruby
# Date created:		04 September 1997
# Whom:			Eiji-usagi-MATSUmoto <usagi@@ruby.club.or.jp>
#
# $FreeBSD: ports/lang/ruby16/Makefile,v 1.117 2007/01/02 19:19:04 stas Exp $
#

PORTNAME=	ruby
PORTVERSION=	${RUBY_PORTVERSION}
PORTREVISION=	2
CATEGORIES=	lang ruby ipv6
MASTER_SITES=		${MASTER_SITE_RUBY}
MASTER_SITE_SUBDIR=	${MASTER_SITE_SUBDIR_RUBY}
DISTFILES=		${RUBY_DISTNAME}${EXTRACT_SUFX}
DIST_SUBDIR=	ruby

PATCH_SITES=	${MASTER_SITE_RUBY}
#PATCH_SITE_SUBDIR=	snapshots
PATCH_SITE_SUBDIR=	1.6
PATCHFILES=	${RUBY_PATCHFILES}
#PATCH_DIST_STRIP=	-p1

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	An object-oriented interpreted scripting language

DEPRECATED=	vulnerable, unmaintained and nothing uses it
EXPIRATION_DATE=2007-02-02

.if defined(WITH_ONIGURUMA)
PKGNAMESUFFIX=	+oniguruma
BUILD_DEPENDS+=	${NONEXISTENT}:${ONIGURUMA_PORTDIR}:patch
ONIGURUMA_PORTDIR=	${PORTSDIR}/devel/oniguruma
ONIGURUMA_WRKSRC=	`cd ${ONIGURUMA_PORTDIR}; ${MAKE} -V WRKSRC`
PLIST_SUB+=	ONIGURUMA=""
.else
PLIST_SUB+=	ONIGURUMA="@@comment "
.endif

# Ruby 1.6 does not support IA64 yet.
ONLY_FOR_ARCHS=		i386
# There are some problems on alpha and sparc64; use 1.8 or later.
ONLY_FOR_ARCHS+=	alpha sparc64

# For port testing: should install in PREFIX, not in LOCALBASE
_RUBY_PORT_TEST=	yes

USE_BZIP2=	yes

RUBY_VER=	1.6

USE_RUBY=	yes
RUBY_NO_BUILD_DEPENDS=	yes
RUBY_NO_RUN_DEPENDS=	yes

GNU_CONFIGURE=	yes
WRKSRC=		${RUBY_WRKSRC}
CONFIGURE_ARGS=	${RUBY_CONFIGURE_ARGS} \
		--enable-shared

.if defined(DEBUG)
CFLAGS+=	-g
STRIP=		# none
.endif

USE_LDCONFIG=	yes
MAN1=		${RUBY_NAME}.1

NO_LATEST_LINK=	yes

.include <bsd.port.pre.mk>

MAKE_ARGS=	-j3

.if ${OSVERSION} >= 400014
CONFIGURE_ARGS+=	--enable-ipv6
.endif

.if ${RUBY_VER} == ${RUBY_DEFAULT_VER}
MLINKS=		${RUBY_NAME}.1 ruby.1
IF_DEFAULT=	""
.else
IF_DEFAULT=	"@@comment "
.endif

.if defined(NORUBYLIB)
RUBYLIB=	"@@comment "
.else
RUBYLIB=	""
.endif

PLIST_SUB+=	IF_DEFAULT=${IF_DEFAULT} \
		RUBYLIB=${RUBYLIB}

INSTALLED_SCRIPTS=	${PREFIX}/bin/irb

OBSOLETED_MODULES=	sha1 \
			shell \
			syslog \
			timex \
			urb \
			uri

post-patch:
	${FIND} ${PATCH_WRKSRC} -name '*.orig' -delete
.for d in Win32API
	${RM} -rf ${BUILD_WRKSRC}/ext/${d}
.endfor
.for d in gdbm tcltklib tk
	${MV} ${BUILD_WRKSRC}/ext/${d} ${WRKDIR}/
.endfor

pre-configure:
.if defined(WITH_ONIGURUMA)
	cd ${ONIGURUMA_WRKSRC}; \
	./configure; \
	${MAKE} -f Makefile ${RUBY_VER:S/.//} RUBYDIR=${WRKSRC}
.endif
	${TOUCH} ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}

post-install:
.if defined(STRIP) && ${STRIP} == -s
	${STRIP_CMD} ${RUBY}
.endif
.if ${RUBY_VER} == ${RUBY_DEFAULT_VER}
# Link just installed "ruby" to "ruby16", etc.
	${LN} -f ${RUBY_WITH_SUFFIX} ${RUBY_WITHOUT_SUFFIX}
	for f in ${INSTALLED_SCRIPTS}; do \
		${LN} -f $${f}${RUBY_SUFFIX} $${f}; \
	done
.endif
	${LDCONFIG} -m ${PREFIX}/lib
	${MKDIR} ${RUBY_ELISPDIR}
	${TOUCH} ${RUBY_ELISPDIR}/.keep_me.${RUBY_NAME}
	${MKDIR} ${RUBY_EXAMPLESDIR}
	${TOUCH} ${RUBY_EXAMPLESDIR}/.keep_me
	${MKDIR} ${RUBY_DOCDIR}
	${TOUCH} ${RUBY_DOCDIR}/.keep_me
.if !defined(NOPORTDOCS)
	${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}
	${MKDIR} ${RUBY_EXAMPLESDIR}/curses
	${INSTALL_DATA} ${WRKSRC}/ext/curses/hello.rb ${WRKSRC}/ext/curses/rain.rb ${WRKSRC}/ext/curses/view.rb ${RUBY_EXAMPLESDIR}/curses
	${MKDIR} ${RUBY_EXAMPLESDIR}/pty
	${INSTALL_DATA} ${WRKSRC}/ext/pty/expect_sample.rb ${WRKSRC}/ext/pty/script.rb ${WRKSRC}/ext/pty/shl.rb ${RUBY_EXAMPLESDIR}/pty
	${INSTALL_DATA} ${WRKSRC}/COPYING* ${RUBY_DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${RUBY_DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/LEGAL ${RUBY_DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/README* ${RUBY_DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/ext/digest/digest.txt* ${RUBY_DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/ext/etc/etc.txt* ${RUBY_DOCDIR}
	${MKDIR} ${RUBY_DOCDIR}/pty
	${INSTALL_DATA} ${WRKSRC}/ext/pty/README* ${RUBY_DOCDIR}/pty
	${MKDIR} ${RUBY_DOCDIR}/readline
	${INSTALL_DATA} ${WRKSRC}/ext/readline/README* ${RUBY_DOCDIR}/readline
	${INSTALL_DATA} ${WRKSRC}/ext/syslog/syslog.txt ${RUBY_DOCDIR}
	${CP} -R ${WRKSRC}/doc/* ${RUBY_DOCDIR}/
.endif
	@@${ECHO} "Deinstalling obsoleted packages that are now part of ruby..."
	@@cd ${PKG_DBDIR}; for portname in ${OBSOLETED_MODULES}; do \
		for pkg in ${RUBY_PKGNAMEPREFIX}$$portname-*; do \
			if [ -d $$pkg ]; then \
				${ECHO} "---> $$pkg"; \
				${PKG_DELETE} -f $$pkg; \
			fi; \
		done; \
	done
	@@${ECHO_CMD} "@@exec ${ECHO_CMD} \"Deinstalling obsoleted packages that are now part of ruby...\"" >> ${TMPPLIST}
	@@${ECHO_CMD} "@@exec cd ${PKG_DBDIR} && for portname in ${OBSOLETED_MODULES}; do for pkg in ${RUBY_PKGNAMEPREFIX}\$$portname-*; do if [ -d \$$pkg ]; then ${ECHO_CMD} \"---> \$$pkg\"; ${PKG_DELETE} -f \$$pkg; fi; done; done" >> ${TMPPLIST}
	@@${CAT} ${PKGMESSAGE}

test:
	@@(cd ${WRKSRC}; ${MAKE} test)

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


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


1.116
log
@- s,INSTALLS_SHLIB,USE_LDCONFIG,g
- these include irc/ japanese/ java/ lang/ mail/ math/ maintained by ports@@

PR:		ports/101916
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
@
text
@d26 3
@


1.115
log
@Purge the last vestiges of the (really) old autotools world order.
Since all these items were commented out, this is a null-op commit.

Approved by:	portmgr (implicit)
@
text
@d62 1
a62 1
INSTALLS_SHLIB=	yes
@


1.114
log
@- No latest link, to prevent clash with lang/ruby18

Reported by:	kris
@
text
@a51 1
#USE_AUTOCONF=	yes	# works either with 2.53 or with 2.13
@


1.113
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
@d66 2
@


1.112
log
@bsd.ruby.mk:
- Change LOCALBASE with _RUBY_BASE
- Set _RUBY_BASE=PREFIX if defined _RUBY_PORT_TEST
  _RUBY_BASE=LOCALBASE otherwise for easy ports testing.

lang/ruby18:
- Update to 1.8.3

Grant maintainership to submitter.

While I'm here:
- Add _RUBY_PORT_TEST=yes to lang/ruby16 port too.
  (lang/ruby1[68] must set it for right install).

PR:		ports/87332
Submitted by:	Alexander Novitsky
@
text
@d23 1
a23 1
MAINTAINER=	knu@@FreeBSD.org
@


1.111
log
@- Fix a ruby vulnerabuility in the safe level settings.

Based on:	ports/87816
Submitted by:	Phil Oleson <oz@@nixil.net>

Security:	http://vuxml.FreeBSD.org/1daea60a-4719-11da-b5c6-0004614cc33d.html
@
text
@d41 3
@


1.110
log
@The slippery pthread support for systems prior to 502102 has been
dropped and the lang/ruby16_r and lang/ruby18_r ports have been
removed, since no one seems to appreciate the partially working
solution.

Good news is that the pthread support of lang/ruby18 is now enabled by
default for newer systems, which means the ruby interpreter is linked
with libpthread.  This will allow threaded extension libraries to run
and work properly on those systems.

The --march=cputype flag is disabled because it gets ruby to
malfunction and fail to build.  I don't know if the problem is in
libpthread or in gcc.

(It really makes me wonder if they had actually tested before asking
me to do this somewhat risky change ;-)
@
text
@d10 1
a10 1
PORTREVISION=	1
d18 2
a19 1
PATCH_SITE_SUBDIR=	snapshots
d21 1
a21 1
PATCH_DIST_STRIP=	-p1
@


1.109
log
@Fix DoS in the Ruby CGI module.

Obtained from:	ruby CVS
Reviewed by:	trhodes
OK'ed by:	maintainer silence
With hat:	secteam
@
text
@d8 1
a8 1
PORTNAME=	ruby${RUBY_R}
d71 1
a71 1
MLINKS=		${RUBY_NAME}.1 ruby${RUBY_R}.1
d118 1
a118 2
	${LN} -f ${RUBY_WITH_SUFFIX} ${RUBY_WITHOUT_SUFFIX}${RUBY_R}
	${LN} -f ${PREFIX}/man/man1/${RUBY_NAME}.1 ${PREFIX}/man/man1/ruby${RUBY_R}.1
d120 1
a120 1
		${LN} -f $${f}${RUBY_SUFFIX} $${f}${RUBY_R}; \
@


1.108
log
@Update lang/ruby16 to the latest snapshot as of 2004-07-28, fixing
cgi/session's insecure permissions problem.
@
text
@d10 1
@


1.107
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
@a9 1
PORTREVISION=	1
d39 1
a39 1
#USE_BZIP2=	yes
@


1.106
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
d60 1
a60 1
MAN1=		ruby${_RUBY_SUFFIX}.1
d71 1
a71 1
MLINKS=		ruby${_RUBY_SUFFIX}.1 ruby${RUBY_R}.1
d118 2
a119 2
	${LN} -f ${RUBY_WITHOUT_SUFFIX}${RUBY_R} ${RUBY_WITH_SUFFIX}
	${LN} -f ${PREFIX}/man/man1/ruby${RUBY_R}.1 ${PREFIX}/man/man1/ruby${_RUBY_SUFFIX}.1
d121 1
a121 1
		${LN} -f $${f}${RUBY_R} $${f}${_RUBY_SUFFIX}; \
@


1.105
log
@Install a cookie file per variant in RUBY_ELISPDIR.

Reported by:	kris
@
text
@d140 2
a141 4
	${MKDIR} ${RUBY_DOCDIR}/digest
	${INSTALL_DATA} ${WRKSRC}/ext/digest/digest.txt* ${RUBY_DOCDIR}/digest
	${MKDIR} ${RUBY_DOCDIR}/etc
	${INSTALL_DATA} ${WRKSRC}/ext/etc/etc.txt* ${RUBY_DOCDIR}/etc
d146 1
a146 2
	${MKDIR} ${RUBY_DOCDIR}/syslog
	${INSTALL_DATA} ${WRKSRC}/ext/syslog/syslog.txt ${RUBY_DOCDIR}/syslog
@


1.104
log
@Touch configure in the pre-configure stage lest the timestamp of
configure.in be ahead of that of configure and autoconf thus be
demanded.

Submitted:	kris, bento
@
text
@d125 1
a125 1
	${TOUCH} ${RUBY_ELISPDIR}/.keep_me
@


1.103
log
@De-pkg-comment.
@
text
@d95 1
a95 1
	${FIND} ${WRKSRC} -name '*.orig' -delete
d97 1
a97 1
	${RM} -rf ${WRKSRC}/ext/${d}
d100 1
a100 1
	${MV} ${WRKSRC}/ext/${d} ${WRKDIR}/
d109 1
@


1.102
log
@Use devel/oniguruma to build ruby with oniguruma.
@
text
@d22 1
@


1.101
log
@Update Oniguruma to 20030204.
@
text
@d11 3
a13 6
MASTER_SITES=		${MASTER_SITE_RUBY} \
			${ONIGURUMA_MASTER_SITES:S,$,:oniguruma,}
MASTER_SITE_SUBDIR=	${MASTER_SITE_SUBDIR_RUBY} \
			${ONIGURUMA_MASTER_SITE_SUBDIR:S,$,/:oniguruma,}
DISTFILES=		${RUBY_DISTNAME}${EXTRACT_SUFX} \
			${ONIGURUMA_DISTFILE:S,$,:oniguruma,}
d24 4
a27 3
ONIGURUMA_MASTER_SITES=		${MASTER_SITE_RUBY}
ONIGURUMA_MASTER_SITE_SUBDIR=	contrib
ONIGURUMA_DISTFILE=		onigd20030204.tar.gz
d104 3
a106 1
	cd ${WRKDIR}/oniguruma; ./configure; ${MAKE} 16 RUBYDIR=${WRKSRC}
@


1.100
log
@Remove an unneeded workaround.
@
text
@d29 1
a29 1
ONIGURUMA_DISTFILE=		onigd20030121.tar.gz
@


1.99
log
@Update lang/ruby to the latest snapshot as of 2003-01-19, and Oni
Guruma to 2003-01-21.  This update includes a bug fix that exposes
when formatting Bignums, like with ipaddr.rb.
@
text
@a63 1
.if ${ARCH} != sparc64
a64 1
.endif
@


1.98
log
@Avoid "make: don't know how to make INSTALLS_DEPENDS. Stop" error by
disabling parallel build on sparc64.  The INSTALLS_DEPENDS thing
probably comes from bsd.port.mk, but I wonder why it is regarded as a
target when it is only used as a boolean variable.  I think make(1)
has some problem with parallel build (-jN) on that platform.

I could not really reproduce the error on panther, but a submitter [1]
says the build went fine if he commented the -jN option out as I
suggested.

Submitted by:	Anders Andersson <anders@@hack.org>,
		Joao Pedras <jpedras@@webvolution.net> [1],
		kris
@
text
@d29 1
a29 1
ONIGURUMA_DISTFILE=		onigd20030109.tar.gz
@


1.97
log
@Explicitly specify RUBY_VER=1.6.
@
text
@a58 1
MAKE_ARGS=	-j3
d63 4
@


1.96
log
@Set ONLY_FOR_ARCHS to i386, alpha and sparc64.

Ruby does not support IA64 yet.  It does not even build or install
correctly.  We need some clue to the IA64 stack structure and handling
of the IA64 register windows.
@
text
@d42 2
@


1.95
log
@Update Oni Guruma (alternative BSDL regexp engine) to 20030109.
@
text
@d35 5
@


1.94
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
@a17 1
EXTRACT_ONLY=	${RUBY_DISTNAME}${EXTRACT_SUFX}
d29 1
a29 1
ONIGURUMA_DISTFILE=		onigd20021210.tar.gz
a86 5
post-extract:
.if defined(WITH_ONIGURUMA)
	${TAR} -zxvf ${DISTDIR}/${DIST_SUBDIR}/${ONIGURUMA_DISTFILE} -C ${WRKDIR}
.endif

a87 4
.if defined(WITH_ONIGURUMA)
	${CP} -f ${WRKDIR}/oniguruma/*.[ch] ${WRKSRC}/
	cd ${WRKSRC}; ${PATCH} < ${WRKDIR}/oniguruma/re.c.166.patch
.endif
d95 5
@


1.93
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
@d30 1
a30 1
ONIGURUMA_DISTFILE=		onigd20020424.tar.gz
d47 6
@


1.92
log
@Add a patch for tempfile.rb from CVS and bump PORTREVISION.

This fixes temporary file locking errors seen in portupgrade. (not a
security vulnerability, just a problem with cleanup)
@
text
@a9 1
PORTREVISION=	1
d13 1
a13 1
MASTER_SITE_SUBDIR=	${RUBY_VER} \
a99 8
pre-install:
	${RM} -f ${RUBY_WITHOUT_SUFFIX}${RUBY_R} \
		${PREFIX}/man/man1/ruby${RUBY_R}.1 \
		${PREFIX}/man/man1/ruby${RUBY_R}.1.gz
	for f in ${INSTALLED_SCRIPTS}; do \
		${RM} -f $${f}${RUBY_R}; \
	done

d102 1
a102 1
	strip ${RUBY}
d105 3
a107 3
	${MV} -f ${RUBY_WITHOUT_SUFFIX}${RUBY_R} ${RUBY_WITH_SUFFIX}
	${MV} -f ${PREFIX}/man/man1/ruby${RUBY_R}.1 ${PREFIX}/man/man1/ruby${_RUBY_SUFFIX}.1
.endif
d109 1
a109 1
		${MV} -f $${f} $${f}${_RUBY_SUFFIX}; \
a110 15
	if [ -x ${RUBY_WITHOUT_SUFFIX}${RUBY_DEFAULT_SUFFIX}${RUBY_R} ]; then \
		${LN} -fs ${RUBY_WITHOUT_SUFFIX}${RUBY_DEFAULT_SUFFIX}${RUBY_R} ${RUBY_WITHOUT_SUFFIX}${RUBY_R}; \
		${LN} -fs ruby${RUBY_DEFAULT_SUFFIX}${RUBY_R}.1${MANEXT} ${PREFIX}/man/man1/ruby${RUBY_R}.1${MANEXT}; \
	fi
	if [ -x ${RUBY_WITHOUT_SUFFIX} ]; then \
		for f in ${INSTALLED_SCRIPTS}; do \
			${LN} -fs $${f}${RUBY_DEFAULT_SUFFIX} $${f}; \
		done; \
	fi
.if !empty(RUBY_R)
	if [ -x ${RUBY_WITHOUT_SUFFIX}${RUBY_R} ]; then \
		for f in ${INSTALLED_SCRIPTS}; do \
			${LN} -fs $${f}${_RUBY_SUFFIX} $${f}${RUBY_R}; \
		done; \
	fi
a112 12
.for f in ${INSTALLED_SCRIPTS}
	${RUBY_WITH_SUFFIX} ${RUBY_FLAGS} -i -p \
		-e 'if $$. == 1; ' \
		-e ' if /^#!/; ' \
		-e '  sub /^#!\s*\S*(\benv\s+)?\bruby/, "#!${RUBY_WITH_SUFFIX}";' \
		-e ' else;' \
		-e '  $$_ = "#!${RUBY_WITH_SUFFIX}\n" + $$_;' \
		-e ' end;' \
		-e 'end' \
		${f}${_RUBY_SUFFIX}
	${CHMOD} ${BINMODE} ${f}${_RUBY_SUFFIX}
.endfor
@


1.91
log
@Update lang/ruby to 1.6.8-preview1.
@
text
@d10 1
@


1.90
log
@Reroll a stable snapshot tarball as of 2002-09-12 for lang/ruby
containing a pregenerated configure and a parse.c generated with bison
1.35.  This is to offer a smaller (.tar.bz2) distfile, remove the
autoconf dependency and benefit from a bit more efficient parse.c than
that which byacc(1) generates.
@
text
@d13 1
a13 1
MASTER_SITE_SUBDIR=	snapshots \
d36 1
a36 1
USE_BZIP2=	yes
@


1.89
log
@Add a header file that's installed only when WITH_ONIGURUMA is defined
to pkg-plist.

Reported by:	nork
@
text
@d13 1
a13 1
MASTER_SITE_SUBDIR=	stable \
d36 1
a36 1
#USE_BZIP2=	yes
d42 2
a43 2
USE_AUTOCONF=	yes	# works either with 2.53 or with 2.13
INSTALLS_SHLIB=	yes
a46 1
MAKE_ENV=	LANG=C	# prevent bison 1.33 w/ gettext 0.10.35 from coredumping
d48 1
d84 1
a84 1
	cd ${WRKDIR}; ${TAR} zxvf ${_DISTDIR}/${ONIGURUMA_DISTFILE}
@


1.88
log
@Install ChangeLog too.

Suggested by:	Andreas Hauser <hauser@@informatik.uni-muenchen.de>
@
text
@d31 3
@


1.87
log
@Make sure STRIP is defined before referencing the value.  STRIP can be
undefined when DEBUG_FLAGS is defined.

Submitted by:	Dave Cornejo <dave@@dogwood.com>,
		Joshua Goodall <joshua@@roughtrade.net>
@
text
@d158 1
@


1.86
log
@Update lang/ruby and lang/ruby-devel to the latest snapshots as of
2002-05-23.
@
text
@d106 1
a106 1
.if ${STRIP} == -s
@


1.85
log
@Minimize the difference from lang/ruby-devel.
@
text
@d30 1
a30 1
ONIGURUMA_DISTFILE=		onigd20020325.tar.gz
d86 1
a86 1
	${CP} -f ${WRKDIR}/oniguruma/regex.[ch] ${WRKSRC}/
@


1.84
log
@lang/ruby:
- Update to the latest 1.6 stable snapshot as of 2002-03-27.
- Update the Oni Guruma alternative regex engine to 20020325.

lang/ruby-devel:
- Update to the latest 1.7 development snapshot as of 2002-03-26.
- Add the WITH_ONIGURUMA knob as well as lang/ruby.
- Require devel/autoconf (2.53 or later is required).
- Add several modules to the obsoleted modules list (now included):
	bigfloat
	fileutils
	racc-runtime
	strscan
@
text
@d70 1
a70 2
IRB_WITHOUT_SUFFIX=	${LOCALBASE}/bin/irb
IRB_WITH_SUFFIX=	${IRB_WITHOUT_SUFFIX}${_RUBY_SUFFIX}
d72 6
a77 1
OBSOLETED_MODULES=	sha1 shell syslog timex urb uri
d100 4
a103 2
		${PREFIX}/man/man1/ruby${RUBY_R}.1.gz \
		${IRB_WITHOUT_SUFFIX}${RUBY_R}
d113 3
a115 1
	${MV} -f ${IRB_WITHOUT_SUFFIX} ${IRB_WITH_SUFFIX}
d121 3
a123 1
		${LN} -fs ${IRB_WITHOUT_SUFFIX}${RUBY_DEFAULT_SUFFIX} ${IRB_WITHOUT_SUFFIX}; \
d127 3
a129 1
		${LN} -fs ${IRB_WITH_SUFFIX} ${IRB_WITHOUT_SUFFIX}${RUBY_R}; \
d132 2
a133 1
	${LDCONFIG} -m ${LOCALBASE}/lib
d142 3
a144 2
		${IRB_WITH_SUFFIX}
	${CHMOD} ${BINMODE} ${IRB_WITH_SUFFIX}
@


1.83
log
@Update to the latest stable snapshot as of 2002.03.13.

Add a WITH_ONIGURUMA knob that enables the Oni Guruma regex engine
that's currently under development that will eventually replace the
stock one that's derived from LGPL'd GNU regex. [experimental]
@
text
@d30 1
a30 1
ONIGURUMA_DISTFILE=		onigd20020313.tar.gz
d39 1
a39 1
USE_AUTOCONF_VER=213
@


1.82
log
@Set MAKE_ENV to "LANG=C" to prevent bison 1.33 w/ gettext 0.10.35
(what is built from ports) from coredumping. [workaround]

Set MAKE_ARGS to "-j3" to hasten the build.
@
text
@d11 6
a16 3
MASTER_SITES=	${MASTER_SITE_RUBY}
MASTER_SITE_SUBDIR=	stable
DISTNAME=	${RUBY_DISTNAME}
d18 1
d27 6
d75 5
d81 5
a85 1
	find ${WRKSRC} -name '*.orig' -delete
@


1.81
log
@To keep users from experiencing upgrading problems, make lang/ruby and
lang/ruby-devel deinstall obsoleted (integrated) packages in their
post-install targets (for installation from ports) and in their plists
(for installation from packages),

Update to the latest snapshot as of 2002-01-29 while I'm at it.
@
text
@d34 2
@


1.80
log
@First round of auto* cleanups:
 - USE_AUTO* -> USE_AUTO*_VER=* where required
 - USE_AUTO* / *_DEPENDS=.*auto*:*/devel/auto* -> GNU_CONFIGURE where OK
 - Other minor changes to fix things

These changes should be no-ops with the current bsd.port.mk, but will
assist in preparing for the next generation of USE_AUTO*.

Submitted by:	bento 4-exp USE_AUTO* cleanups
		http://people.FreeBSD.org/~will/4-exp/
		http://bento.FreeBSD.org/errorlogs/4-exp-latest/
@
text
@d61 2
d137 11
@


1.79
log
@Update lang/ruby to the 1.6.6 Xmas stable release.

Update lang/ruby-devel to the 1.7.2 Xmas' development snapshot.
@
text
@d29 1
a29 1
USE_AUTOCONF=	yes
@


1.78
log
@Properly set the file mode bits of the irb executables to ${BINMODE}.
@
text
@d131 2
@


1.77
log
@Update ruby to the 1.6.5 release.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.76 2001/09/17 17:54:19 knu Exp $
d107 1
@


1.76
log
@Bump the PORTREVISION's of the ports which install architecture
dependent ruby modules, due to the RUBY_ARCH change I've just
committed.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.75 2001/09/13 05:51:38 knu Exp $
a9 1
PORTREVISION=	2
d12 1
a12 1
MASTER_SITE_SUBDIR=	snapshots
d18 1
a18 1
PATCHFILES=	${RUBY_PATCHFILES} ruby-thread_alloc_hotfix.diff
d23 1
a23 1
USE_BZIP2=	yes
@


1.75
log
@Apply a THREAD_ALLOC hotfix.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.74 2001/09/03 13:00:00 knu Exp $
d10 1
a10 1
PORTREVISION=	1
@


1.74
log
@Update to the latest snapshots.

We are now six hours away from the ports freeze!
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.73 2001/08/22 10:08:19 knu Exp $
d10 1
d19 1
a19 1
PATCHFILES=	${RUBY_PATCHFILES}
@


1.73
log
@Utilize ${MANEXT} to fix manpage symlinks.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.72 2001/08/16 11:38:45 knu Exp $
d16 4
a19 4
#PATCH_SITES=	${MASTER_SITE_RUBY}
#PATCH_SITE_SUBDIR=	snapshots
#PATCHFILES=	${RUBY_PATCHFILES}
#PATCH_DIST_STRIP=	-p1
@


1.72
log
@Update lang/ruby and lang/ruby-devel to the latest snapshots.
(as of 2001/08/16 20:00 JST)
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.71 2001/07/31 16:46:55 knu Exp $
d87 1
a87 1
		${LN} -fs ruby${RUBY_DEFAULT_SUFFIX}${RUBY_R}.1 ${PREFIX}/man/man1/ruby${RUBY_R}.1; \
@


1.71
log
@Update lang/ruby and lang/ruby-devel to the latest snapshots as of
2001.07.31.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.70 2001/07/11 12:08:36 knu Exp $
d122 2
a125 2
	${MKDIR} ${RUBY_DOCDIR}/md5
	${INSTALL_DATA} ${WRKSRC}/ext/md5/md5.txt* ${RUBY_DOCDIR}/md5
@


1.70
log
@Add a backup server to PATCH_SITES.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.69 2001/06/21 16:36:46 knu Exp $
d12 1
a12 1
MASTER_SITE_SUBDIR=	${RUBY_VER}
d16 4
a19 4
PATCH_SITES=	http://www.ruby-lang.org/~knu/ \
		http://www.iDaemons.org/distfiles/
PATCHFILES=	${RUBY_PATCHFILES}
PATCH_DIST_STRIP=	-p1
d23 2
d119 2
d129 1
a129 1
	${INSTALL_DATA} ${WRKSRC}/ext/readline/README ${RUBY_DOCDIR}/readline
@


1.69
log
@Update lang/ruby and lang/ruby-devel to the latest snapshots.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.68 2001/06/16 08:46:32 knu Exp $
d16 2
a17 1
PATCH_SITES=	http://www.ruby-lang.org/~knu/
@


1.68
log
@Put dummy files in the empty directories so they are surely packed.

Let each elisp port create XEMACSLISPDIR by itself.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.67 2001/06/11 09:32:01 knu Exp $
a9 1
PORTREVISION=	1
@


1.67
log
@Fix plist problems.

Reported by:	bento
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.66 2001/06/09 02:33:11 knu Exp $
a104 1
	${MKDIR} ${LOCALBASE}/lib/xemacs/site-lisp
d106 1
d108 1
d110 1
@


1.66
log
@Do a ldconfig before invoking the just installed binary in
post-install.

Dig XEmacs' site-lisp directory and RUBY_ELISPDIR.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.65 2001/06/09 01:43:01 knu Exp $
d87 3
a89 1
	${LN} -fs ${IRB_WITHOUT_SUFFIX}${RUBY_DEFAULT_SUFFIX} ${IRB_WITHOUT_SUFFIX}
d91 3
a93 1
	${LN} -fs ${IRB_WITH_SUFFIX} ${IRB_WITHOUT_SUFFIX}${RUBY_R}
@


1.65
log
@Dig ${RUBY_EXAMPLESDIR} and ${RUBY_DOCDIR} even if NOPORTDOCS is
defined. (But not actual examples & docs)
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.64 2001/06/04 14:54:31 knu Exp $
d10 1
d91 1
d101 2
@


1.64
log
@Introduce RUBY_DEFALUT_VER to choose a default version of ruby to use.

Introduce RUBY_R in preparation for ruby_r & ruby_r-devel ports.

Define RUBY_CONFIGURE_ARGS.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.63 2001/06/01 11:39:36 knu Exp $
d99 2
a101 1
	${MKDIR} ${RUBY_EXAMPLESDIR}
a106 1
	${MKDIR} ${RUBY_DOCDIR}
@


1.63
log
@Update lang/ruby to 1.6.4-preview5.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.62 2001/05/29 21:38:36 knu Exp $
d8 1
a8 1
PORTNAME=	ruby
d29 2
a30 1
CONFIGURE_ARGS=	--enable-shared
a31 1
MLINKS=		ruby${_RUBY_SUFFIX}.1 ruby.1
d33 4
a36 2
.if defined(WITH_LIBC_R)
CONFIGURE_ARGS+=	--with-libc_r=yes
d39 6
a44 1
.include <bsd.port.pre.mk>
d46 4
a49 2
.if !empty(RUBY_SUFFIX)
CONFIGURE_ARGS+=	--program-suffix="${RUBY_SUFFIX}"
d52 2
a53 3
.if ${OSVERSION} >= 400014
CONFIGURE_ARGS+=	--enable-ipv6
.endif
d67 6
d77 12
a88 6
.if empty(RUBY_SUFFIX)
	${MV} -f ${RUBY_WITHOUT_SUFFIX} ${RUBY_WITH_SUFFIX}
	${LN} -fs ${RUBY_WITH_SUFFIX} ${RUBY_WITHOUT_SUFFIX}
	${MV} ${PREFIX}/man/man1/ruby.1 ${PREFIX}/man/man1/ruby${_RUBY_SUFFIX}.1
.else
	${LN} -fs ${RUBY_WITH_SUFFIX} ${RUBY_WITHOUT_SUFFIX}
d90 1
a90 11
	${INSTALL_SCRIPT} ${IRB_WITHOUT_SUFFIX} ${IRB_WITH_SUFFIX}
	${RUBY} ${RUBY_FLAGS} -i -p \
		-e 'if $$. == 1; ' \
		-e ' if /^#!/; ' \
		-e '  sub /^#!\s*\S*(\benv\s+)?\bruby/, "#!${RUBY_WITHOUT_SUFFIX}";' \
		-e ' else;' \
		-e '  $$_ = "#!${RUBY_WITHOUT_SUFFIX}\n" + $$_;' \
		-e ' end;' \
		-e 'end' \
		${IRB_WITHOUT_SUFFIX}
	${RUBY} ${RUBY_FLAGS} -i -p \
@


1.62
log
@It's not my day...  Fix typo and unbreak.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.61 2001/05/29 21:22:10 knu Exp $
a9 1
PORTREVISION=	1
d33 2
a34 2
.if !defined(WITH_LIBC_R)
CONFIGURE_ARGS+=	--with-libc_r=no
@


1.61
log
@Forgot to bump PORTREVISION's in the previous commit.

Note that you'll have to rebuild all the installed ruby modules
if you upgrade.  To do it, just install the latest portupgrade and
hit `portupgrade -rfcC ruby'.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.60 2001/05/29 21:16:53 knu Exp $
d35 1
a35 1
CONFIGURE_ARGS+=	--with_libc_r=no
@


1.60
log
@As some people including me are seeing reproduceable coredump,
temporarily stop linking ruby with libc_r.  This will break such
extension modules as ruby-qt, but we have to investigate the
annoying problems we are seeing, present in both ruby and our libc_r.

Once suggested by:	green
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.59 2001/05/24 17:48:44 knu Exp $
d10 1
@


1.59
log
@Prepare a distribution patch and unbreak.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.58 2001/05/24 17:27:20 knu Exp $
d32 4
@


1.58
log
@Temporarily mark as broken.  The 1.6.4-preview3 tarball is missing
some library and document files.  I'll unbreak when the new tarball is
ready.  Sorry for inconvenience.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.57 2001/05/11 18:22:56 knu Exp $
a20 2

BROKEN=		"tarball incomplete - waiting for repack"
@


1.57
log
@Update lang/ruby to 1.6.4.p2.2001.05.12.

Update lang/ruby-devel to 1.7.0-a2001.05.12.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.56 2001/05/07 19:52:03 knu Exp $
d21 2
@


1.56
log
@Update lang/ruby and lang/ruby-devel to the latest snapshots.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.55 2001/05/06 16:48:03 knu Exp $
d17 1
a17 1
PATCHFILES=	${RUBY_DISTNAME}-${RUBY_PATCHLEVEL}.patch.gz
d102 1
a102 1
	${CP} -R ${WRKSRC}/doc/irb ${RUBY_DOCDIR}/
@


1.55
log
@Let irb16 properly run on ruby16 and irb17 on ruby17.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.54 2001/05/05 23:06:03 knu Exp $
a9 1
PORTREVISION=	2
@


1.54
log
@Install "irb" as "irb16" and make "irb" a symlink to it.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.53 2001/05/05 22:39:59 knu Exp $
d44 2
a45 1
IRB=			${LOCALBASE}/bin/irb
d61 2
a62 2
	${MV} -f ${RUBY} ${RUBY_WITH_SUFFIX}
	${LN} -fs ${RUBY_WITH_SUFFIX} ${RUBY}
d65 1
a65 1
	${LN} -fs ${RUBY} ${PREFIX}/bin/ruby
d67 10
d85 1
a85 3
		${IRB}
	${MV} -f ${IRB} ${IRB}${_RUBY_SUFFIX}
	${LN} -fs ${IRB}${_RUBY_SUFFIX} ${IRB}
@


1.53
log
@Emacs lisp modules have been moved to lang/ruby-mode.el.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.52 2001/05/05 22:03:07 knu Exp $
d10 1
a10 1
PORTREVISION=	1
d44 2
d60 2
a61 2
	${MV} -f ${RUBY} ${RUBY}${_RUBY_SUFFIX}
	${LN} -fs ${RUBY}${_RUBY_SUFFIX} ${RUBY}
d66 11
@


1.52
log
@Update lang/ruby to the latest snapshot of the stable branch.

Rename RUBY_SNAPSHOTVERSION to RUBY_PATCHLEVEL.

Prepare for the development branch. (1.7.x)
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.51 2001/05/01 17:16:36 knu Exp $
d10 1
a33 5
ELISP_FILES=	inf-ruby.el ruby-mode.el rubydb3x.el

EMACSLISPDIR=	${PREFIX}/share/emacs/site-lisp
XEMACSLISPDIR=	${PREFIX}/lib/xemacs/site-lisp

a66 8
	${MKDIR} ${RUBY_EXAMPLESDIR}/misc
	${INSTALL_DATA} ${WRKSRC}/misc/* ${RUBY_EXAMPLESDIR}/misc
	${MKDIR} ${EMACSLISPDIR}
	${MKDIR} ${XEMACSLISPDIR}
.for f in ${ELISP_FILES}
	${LN} -sf ${RUBY_EXAMPLESDIR}/misc/${f} ${EMACSLISPDIR}/
	${LN} -sf ${RUBY_EXAMPLESDIR}/misc/${f} ${XEMACSLISPDIR}/
.endfor
@


1.51
log
@Update to the latest snapshot of the ruby_1_6 branch.
  - irb 0.7.3 & irb-tools 0.7.1 merged
  - numerous bugs fixed, including gdbm/dbm memory leakage

Strip the binary only when ${STRIP} == -s.

La la, still waiting for the 1.6.4 release, la la...
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.50 2001/04/17 18:08:24 knu Exp $
d17 1
a17 1
PATCHFILES=	${RUBY_DISTNAME}-${RUBY_SNAPSHOTVERSION}.patch.gz
@


1.50
log
@Update to 1.6.4 preview2 + a tiny hotfix.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.49 2001/04/12 16:57:17 knu Exp $
d58 1
d60 1
d93 1
@


1.49
log
@Update to the latest snapshot plus a fix against malloc race issue.
(1.6.4.p1.2001.04.11)

This does not build on the very latest CURRENT due to the newly
updated libreadline, but the problem will soon be fixed.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.48 2001/04/10 07:23:49 knu Exp $
d17 1
a17 2
PATCHFILES=	${RUBY_DISTNAME}-${RUBY_SNAPSHOTVERSION}.patch.gz \
		ruby-malloc_race.patch.gz
@


1.48
log
@Update to 1.6.4-preview1.

Make bsd.ruby.mk easily handle preview releases.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.47 2001/04/01 21:21:27 knu Exp $
d16 4
a19 3
#PATCH_SITES=	http://www.ruby-lang.org/~knu/
#PATCHFILES=	${RUBY_DISTNAME}-${RUBY_SNAPSHOTVERSION}.patch.gz
#PATCH_DIST_STRIP=	-p1
@


1.47
log
@Do a ${MV} with -f so that the installation process won't stop and ask
a question when some version of ruby is already installed.  This is
useful when you want to automatically upgrade the port using
portupgrade. :)

Submitted by:	Jimmy Olgeni <olgeni@@uli.it>
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.46 2001/04/01 17:52:01 knu Exp $
d16 3
a18 4
PATCH_SITES=	http://www.ruby-lang.org/~knu/
PATCHFILES=	${PORTNAME}-${RUBY_VERSION}-${RUBY_SNAPSHOTDATE}.patch.gz \
		${PORTNAME}-freebsd-libc_r.patch.gz
PATCH_DIST_STRIP=	-p1
@


1.46
log
@Update to the latest snapshot of the stable branch, plus a workaround
for the longstanding libc vs. libc_r issue.

This should hopefully fix all the ruby extensions such as Ruby/Qt2GL,
Ruby/Python and Ruby/SDL for both 4-STABLE and 5-CURRENT. :)
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.45 2001/03/21 11:02:32 knu Exp $
d61 1
a61 1
	${MV} ${RUBY} ${RUBY}${_RUBY_SUFFIX}
@


1.45
log
@Update to the latest stable snapshot.  A couple of significant
bugfixes have been made since the 1.6.3 release.  C'est la vie. ;)
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.44 2001/03/19 11:13:38 knu Exp $
d17 2
a18 1
PATCHFILES=	ruby-${RUBY_VERSION}-${RUBY_SNAPSHOTDATE}.patch.gz
@


1.44
log
@Alter the build process for the standard libraries of Ruby.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.43 2001/03/19 10:51:53 knu Exp $
d16 3
a18 3
#PATCH_SITES=	http://www.ruby-lang.org/~knu/
#PATCHFILES=	ruby-${RUBY_VERSION}-${RUBY_SNAPSHOTDATE}.patch.gz
#PATCH_DIST_STRIP=	-p1
@


1.43
log
@Update to 1.6.3 release.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.42 2001/02/19 15:51:37 knu Exp $
d50 1
a50 1
.for d in Win32API gdbm tcltklib tk
d52 3
@


1.42
log
@Kill unwanted extension directories rather than "hiding" them.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.41 2001/02/19 07:54:08 knu Exp $
d16 3
a18 3
PATCH_SITES=	http://www.ruby-lang.org/~knu/
PATCHFILES=	ruby-${RUBY_VERSION}-${RUBY_SNAPSHOTDATE}.patch.gz
PATCH_DIST_STRIP=	-p1
@


1.41
log
@Update to the stable branch's snapshot as of today (2001.02.19), which
is meant to be a candidate for the 1.6.3 release.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.40 2001/01/18 19:53:38 knu Exp $
d50 3
a52 3
	${RM} -f ${WRKSRC}/ext/gdbm/MANIFEST
	${RM} -f ${WRKSRC}/ext/tcltklib/MANIFEST
	${RM} -f ${WRKSRC}/ext/tk/MANIFEST
@


1.40
log
@Update Ruby to 1.6 branch's snapshot as of 2001/01/18, with many bugs
fixed.  Read ChangeLog for details.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.39 2000/10/20 19:56:03 knu Exp $
d92 1
a92 1
	@@(cd ${WRKSRC}; make test)
@


1.39
log
@Use RUBY_PORTVERSION, RUBY_DISTNAME and RUBY_WRKSRC.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.38 2000/09/28 19:33:36 knu Exp $
d16 4
d49 1
@


1.38
log
@Update to Ruby 1.6.1.  Many bugs have been fixed since 1.6.0. :)

Take over the maintainership from Yasuhiro Fukuma <yasuf@@bsdclub.org>,
with his approval.  I can never thank him too much for his previous
work which led me in the right direction! :)

lang/ruby:
	- Add a patch for find.rb, which fixes the bug found after
	1.6.1 was released.

databases/ruby-gdbm, */ruby-{tcltklib,tk}:
	- Remove files/md5 and refer to lang/ruby's one.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.37 2000/09/26 09:34:52 knu Exp $
d9 1
a9 1
PORTVERSION=	${RUBY_VERSION}
d13 1
d24 1
@


1.37
log
@Define USE_RUBY so that bsd.ruby.mk is automatically included.

Found by:	FreshPorts
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.36 2000/09/26 08:02:14 knu Exp $
d15 1
a15 1
MAINTAINER=	yasuf@@bsdclub.org
@


1.36
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/ruby/Makefile,v 1.35 2000/09/19 15:20:14 knu Exp $
d16 4
@


1.35
log
@Update to Ruby 1.6.0 official release.

lang/ruby:
	- Do not force lib/ruby/site_ruby and lib/ruby removals,
	because a user may have his/her stuff installed there.

x11-toolkits/ruby-tk:
	- Fix duplicated PKGNAMEPREFIX.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.34 2000/09/06 23:17:09 knu Exp $
a28 1
.include "${PORTSDIR}/Mk/bsd.ruby.mk"
@


1.34
log
@Do not set MASTER_SITE_SUBDIR to an empty value, but just undefine.

I didn't know an empty MASTER_SITE_SUBDIR brings an empty
MASTER_SITES..

Found by:	green
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.33 2000/09/06 22:46:12 knu Exp $
d9 1
a9 1
PORTVERSION=	${RUBY_VERSION}.p3
d12 1
a12 2
#MASTER_SITE_SUBDIR=	${RUBY_VER}
DISTNAME=	${PORTNAME}-${PORTVERSION:S/.p/-preview/}
a22 2
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:R}

d36 1
a36 1
CONFIGURE_ARGS+= --enable-ipv6
@


1.33
log
@Make coexistence support almost perfect except for bin/ruby and
man/man1/ruby.1 symlinks.)
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.32 2000/09/06 21:51:00 knu Exp $
d12 1
a12 1
MASTER_SITE_SUBDIR=	# ${RUBY_VER}
@


1.32
log
@Update to 1.6.0-preview3.

Utilize bsd.ruby.mk.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.31 2000/09/05 12:44:12 knu Exp $
d21 2
a22 1
MAN1=		${RUBY_NAME}.1
a35 1
MLINKS=		${RUBY_NAME}.1 ruby.1
d49 7
a55 1
	${LN} -fs ${RUBY} ${PREFIX}/ruby
@


1.31
log
@Use MASTER_SITE_RUBY.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.30 2000/08/30 10:10:12 knu Exp $
d9 1
a9 1
PORTVERSION=	1.4.6
d12 2
a13 1
MASTER_SITE_SUBDIR=	1.4
d18 1
a18 1
GNU_CONFIGURE=	yes
d21 1
a21 2
MAN1=		ruby.1
PLIST_SUB=	RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
d23 1
a23 5
RUBY_VER?=	1.4
RUBY_ARCH?=	${ARCH}-freebsd${OSREL}

DOCDIR=		${PREFIX}/share/doc/ruby
EXAMPLESDIR=	${PREFIX}/share/examples/ruby
d31 6
a45 1
	${RM} -rf ${WRKSRC}/lib/irb ${WRKSRC}/sample/irb.rb
d48 2
a49 1
	strip ${PREFIX}/bin/ruby
d51 4
a54 4
	${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/sample/* ${EXAMPLESDIR}
	${MKDIR} ${EXAMPLESDIR}/misc
	${INSTALL_DATA} ${WRKSRC}/misc/* ${EXAMPLESDIR}/misc
d58 2
a59 2
	${LN} -sf ${EXAMPLESDIR}/misc/${f} ${EMACSLISPDIR}/
	${LN} -sf ${EXAMPLESDIR}/misc/${f} ${XEMACSLISPDIR}/
d61 14
a74 14
	${MKDIR} ${EXAMPLESDIR}/curses
	${INSTALL_DATA} ${WRKSRC}/ext/curses/hello.rb ${WRKSRC}/ext/curses/rain.rb ${WRKSRC}/ext/curses/view.rb ${EXAMPLESDIR}/curses
	${MKDIR} ${EXAMPLESDIR}/pty
	${INSTALL_DATA} ${WRKSRC}/ext/pty/expect_sample.rb ${WRKSRC}/ext/pty/script.rb ${WRKSRC}/ext/pty/shl.rb ${EXAMPLESDIR}/pty
	${MKDIR} ${DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/README* ${DOCDIR}
	${MKDIR} ${DOCDIR}/etc
	${INSTALL_DATA} ${WRKSRC}/ext/etc/etc.txt* ${DOCDIR}/etc
	${MKDIR} ${DOCDIR}/md5
	${INSTALL_DATA} ${WRKSRC}/ext/md5/md5.txt* ${DOCDIR}/md5
	${MKDIR} ${DOCDIR}/pty
	${INSTALL_DATA} ${WRKSRC}/ext/pty/README* ${DOCDIR}/pty
	${MKDIR} ${DOCDIR}/readline
	${INSTALL_DATA} ${WRKSRC}/ext/readline/README ${DOCDIR}/readline
@


1.30
log
@Don't try to build gdbm module only to fail.
(We now have it as a separate port: databases/gdbm)
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.29 2000/08/18 02:19:00 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}/
a24 2

BRANCH_NAME=	1.4
@


1.29
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/lang/ruby/Makefile,v 1.28 2000/08/16 12:21:07 knu Exp $
d47 1
@


1.28
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/lang/ruby/Makefile,v 1.27 2000/08/15 19:53:08 knu Exp $
d9 1
a9 1
PORTVERSION=	1.4.5
@


1.27
log
@Install Emacs Lisp files (*.el) to share/emacs/site-lisp/ and
lib/xemacs/site-lisp so Emacs/XEmacs can easily find them to load.

Instruct users how to use them.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.26 2000/08/12 20:09:22 knu Exp $
d10 1
a10 1
CATEGORIES=	lang ipv6	# ruby
@


1.26
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/lang/ruby/Makefile,v 1.25 2000/08/08 16:08:24 knu Exp $
d35 5
d58 6
@


1.25
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:    ruby
# Date created:         04 September 1997
# Whom:                 Eiji-usagi-MATSUmoto <usagi@@ruby.club.or.jp>
d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.24 2000/07/11 10:17:09 sobomax Exp $
d27 2
a28 2
RUBY_VER=	1.4
RUBY_ARCH=	${ARCH}-freebsd${OSREL}
d48 1
a56 1
.if !defined(NOPORTDOCS)
@


1.24
log
@Update to 1.4.5.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.23 2000/06/16 21:51:22 asami Exp $
d10 1
a10 1
CATEGORIES=	lang ipv6
d17 1
@


1.23
log
@Rename INSTALLS_SHLIBS to INSTALLS_SHLIB.  (There was a typo in the
previous commit message to bsd.port.mk, which said INSTALL_SHLIBS.  Boo.)

Line up the rhs of variable assignments nicely.  Remove a couple of extra
whitespaces while I'm here.

Suggested by:	 sobomax
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.22 2000/06/16 08:18:47 sobomax Exp $
d9 1
a9 1
PORTVERSION=	1.4.4
@


1.22
log
@Fix MASSIVE typo INSTALL_SHLIBS --> INSTALLS_SHLIBS, which occured because I
just cun'n'pasted the name from Satoshi's commit message without checking
it.

Hall of shame entry:	sobomax
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.21 2000/06/15 17:59:16 sobomax Exp $
d21 1
a21 1
INSTALLS_SHLIBS=	yes
@


1.21
log
@Third round of INSTALL_SHLIBS=yes fixes.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.20 2000/04/25 04:34:14 knu Exp $
d21 1
a21 1
INSTALL_SHLIBS=	yes
@


1.20
log
@- Update to 1.4.4.
- Change the MAINTAINER address.
- Remove the only patch, patch-aa.  Yeah!

PR:		ports/18194
Submitted by:	MAINTAINER

- Use `=' instead of unneeded `+='.  You don't need to use `+=' before
including a file.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.19 2000/04/12 06:20:25 obrien Exp $
d21 1
a66 1
	${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
@


1.19
log
@Convert to the PORTNAME - PORTVERSION syntax.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.18 2000/01/25 18:33:42 sumikawa Exp $
d9 1
a9 1
PORTVERSION=	1.4.3
d18 1
a18 1
MAINTAINER=	yasuf@@big.or.jp
d21 1
a21 1
CONFIGURE_ARGS+= --enable-shared
d23 1
a23 1
PLIST_SUB+=	RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
@


1.18
log
@Use ${OSVERSION} instead of ${USE_INET6}.

Reviewed by:	maintainer
@
text
@a1 1
# Version required:     1.4.3
d5 1
a5 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.17 2000/01/18 12:34:30 sumikawa Exp $
d8 2
a9 1
DISTNAME=	ruby-1.4.3
@


1.17
log
@Add 'ipv6' on CATEGORIES.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.16 2000/01/12 19:16:43 sumikawa Exp $
a21 3
.if defined(USE_INET6)
CONFIGURE_ARGS+= --enable-ipv6
.endif
d33 6
d72 1
a72 1
.include <bsd.port.mk>
@


1.16
log
@Support IPv6

Approved by:	maintainer
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.15 1999/12/24 04:30:26 steve Exp $
d10 1
a10 1
CATEGORIES=	lang
@


1.15
log
@Update to version 1.4.3.

PR:		15590
Submitted by:	maintainer
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.14 1999/11/14 01:37:13 steve Exp $
d22 3
@


1.14
log
@Update to version 1.4.2.

PR:		14628
Submitted by:	maintainer
@
text
@d2 1
a2 1
# Version required:     1.4.2
d6 1
a6 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.13 1999/08/26 21:10:22 cpiazza Exp $
d9 1
a9 1
DISTNAME=	ruby-1.4.2
@


1.13
log
@Update to version 1.4.0

PR:		13304
Submitted by:	maintainer
@
text
@d2 1
a2 1
# Version required:     1.4.0
d6 1
a6 1
# $FreeBSD: ports/lang/ruby/Makefile,v 1.12 1999/08/25 06:35:19 obrien Exp $
d9 1
a9 1
DISTNAME=	ruby-1.4.0
d28 4
a31 1
BRANCH_NAME=	.
d36 1
d40 20
a59 4
	${MKDIR} ${PREFIX}/share/examples/ruby
	${INSTALL_DATA} ${WRKSRC}/sample/* ${PREFIX}/share/examples/ruby
	${MKDIR} ${PREFIX}/share/examples/ruby/misc
	${INSTALL_DATA} ${WRKSRC}/misc/* ${PREFIX}/share/examples/ruby/misc
d61 1
@


1.12
log
@Change Id->FreeBSD.
@
text
@d2 1
a2 1
# Version required:     1.2.5
d6 1
a6 1
# $FreeBSD$
d9 1
a9 1
DISTNAME=	ruby-1.2.5
d21 1
a21 1
#USE_AUTOCONF=	yes
d23 1
a23 1
PLIST_SUB+=	RUBY_ARCH="${RUBY_ARCH}"
d25 1
d28 1
a28 5
# lib/mkmf.rb requires that the name of the install program will be
# specified with absolute path.
INSTALL=	/usr/bin/install

BRANCH_NAME=	1.2
d38 3
@


1.11
log
@this should finish cleaning up the WWW_SITE -> DESCR/WWW: mess ...
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.10 1999/04/19 03:55:51 steve Exp $
@


1.10
log
@Update to version 1.2.5.

PR:		10906
Submitted by:	maintainer
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.9 1999/02/22 04:11:48 steve Exp $
a18 2

WWW_SITE=	http://www.netlab.co.jp/ruby/
@


1.9
log
@Update to version 1.2.2.

PR:		9941
Submitted by:	maintainer
@
text
@d2 1
a2 1
# Version required:     1.2.2
d6 1
a6 1
# $Id: Makefile,v 1.8 1998/09/22 03:22:47 jkoshy Exp $
d9 1
a9 1
DISTNAME=	ruby-1.2.2
d20 2
d25 7
d35 4
d41 2
@


1.8
log
@Add trailing "/" to MASTER_SITE.

Botched by: 	jkoshy
Reminded by:	 Eiji-usagi-MATSUmoto <usagi@@clave.gr.jp>
@
text
@d2 1
a2 1
# Version required:     1.0-971225
d6 1
a6 1
# $Id: Makefile,v 1.7 1998/09/09 01:22:59 jkoshy Exp $
d9 1
a9 2
DISTNAME=	ruby-1.0-971225
PKGNAME=	ruby-1.0
d11 6
a16 1
MASTER_SITES=	ftp://ftp.netlab.co.jp/pub/lang/ruby/1.0/
d18 1
a18 1
MAINTAINER=	usagi@@clave.gr.jp
d21 1
d23 5
@


1.7
log
@Fix MASTER_SITE.

Submitted by:  Eiji-usagi-Matsumoto <usagi@@clave.gr.jp> (maintainer)
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.6 1998/05/15 05:01:04 chuckr Exp $
d12 1
a12 1
MASTER_SITES=	ftp://ftp.netlab.co.jp/pub/lang/ruby/1.0
@


1.6
log
@Changing maintainer's email.
PR:		6637
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.5 1998/02/11 23:56:29 max Exp $
d12 1
a12 1
MASTER_SITES=	ftp://ftp.netlab.co.jp/pub/lang/ruby/
@


1.5
log
@Upgrade, 1.0-971125 -> 1.0-971225.
PR:		5684
Submitted by:	maintainer

While at this, some cleanup:
1. Compress the man page by using MAN1, instead of patching up
   Makefile.in.

2. HAS_CONFIGURE -> GNU_CONFIGUURE to better reflect the reality as
   well as to respect the value of ${PREFIX}.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.4 1997/12/01 08:09:37 vanilla Exp $
d14 1
a14 1
MAINTAINER=	usagi@@ruby.club.or.jp
@


1.4
log
@Update to ruby-1.0-971125, add some sample script.
PR:		ports/5185
Submitted by:	Eiji-usagi-MATSUmoto <usagi@@ruby.club.or.jp>
@
text
@d2 1
a2 1
# Version required:     1.0-971125
d6 1
a6 1
# $Id: Makefile,v 1.3 1997/09/22 13:59:37 tg Exp $
d9 1
a9 1
DISTNAME=	ruby-1.0-971125
d16 2
a17 1
HAS_CONFIGURE=	yes
@


1.3
log
@Upgrade to 970919 version. Install man page.

PR:		4602
Submitted by:	Eiji-usagi-MATSUmoto <usagi@@ruby.club.or.jp>
@
text
@d2 1
a2 1
# Version required:     1.0-970919
d6 1
a6 1
# $Id: Makefile,v 1.2 1997/09/12 07:51:47 tg Exp $
d9 1
a9 1
DISTNAME=	ruby-1.0-970919
@


1.2
log
@Changed MAINTAINER address at his request.
@
text
@d2 1
a2 1
# Version required:     1.0-970903
d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1997/09/11 09:45:56 tg Exp $
d9 1
a9 1
DISTNAME=	ruby-1.0-970903
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $Id$
d14 1
a14 1
MAINTAINER=	ematsu@@pfu.co.jp
@


1.1.1.1
log
@Import ruby port. ruby is an object-oriented interpreted
scripting language.

PR:		4504
Submitted by:	Eiji-usagi-MATSUmoto <usagi@@ruby.club.or.jp>
@
text
@@
