head	1.19;
access;
symbols
	RELEASE_4_8_0:1.17
	RELEASE_5_0_0:1.16
	RELEASE_4_7_0:1.14
	RELEASE_4_6_2:1.14
	RELEASE_4_6_1:1.14
	RELEASE_4_6_0:1.14
	RELEASE_5_0_DP1:1.14
	RELEASE_4_5_0:1.10
	RELEASE_4_4_0:1.9
	RELEASE_4_3_0:1.7
	RELEASE_4_2_0:1.7
	RELEASE_4_1_1:1.5;
locks; strict;
comment	@# @;


1.19
date	2003.04.19.15.57.37;	author knu;	state dead;
branches;
next	1.18;

1.18
date	2003.03.28.09.53.06;	author knu;	state Exp;
branches;
next	1.17;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


desc
@@


1.19
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
@# New ports collection makefile for:	Ruby-zlib
# Date created:		12 Aug 2000
# Whom:			Akinori MUSHA aka knu <knu@@idaemons.org>
#
# $FreeBSD: ports/archivers/ruby-zlib/Makefile,v 1.18 2003/03/28 09:53:06 knu Exp $
#

PORTNAME=	zlib
PORTVERSION=	0.6.0
CATEGORIES=	archivers ruby
MASTER_SITES=	http://www.blue.sky.or.jp/atelier/ruby/
PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
DISTNAME=	ruby-${PORTNAME}-${PORTVERSION:S/.p/-pre/}
DIST_SUBDIR=	ruby

MAINTAINER=	knu@@FreeBSD.org
COMMENT=	An extension library to use zlib from Ruby

USE_RUBY=	yes
USE_RUBY_EXTCONF=	yes

INSTALL_TARGET=	site-install

DOCS_EN=	ChangeLog doc/zlib.rd doc/zlib.html
DOCS_JA=	doc/zlib.rd.ja doc/zlib.ja.html

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${RUBY_MODDOCDIR}/ja
.for f in ${DOCS_EN}
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.for f in ${DOCS_JA}
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif

.include <bsd.port.mk>
@


1.18
log
@Update to 0.6.0.  This library will soon be integrated into ruby 1.8
and ruby-shim.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.17
log
@De-pkg-comment.
@
text
@d9 1
a9 1
PORTVERSION=	0.5.1
d24 2
a25 5
DOCS_EN=	ChangeLog zlib.rd.en zlib.en.html
DOCS_JA=	zlib.rd.ja zlib.ja.html

post-extract:
	${RM} ${WRKSRC}/depend
@


1.16
log
@Fix the build of lang/ruby_static-devel, i.e. the build of
archiver/ruby-zlib with lang/ruby-devel in the correct way.

The cause of this problem is that FreeBSD's make(1) got a bit too
sensitive about a mixture of `target:' and `target::'.
@
text
@d17 1
@


1.15
log
@Use RUBY_MOD*.
@
text
@d26 3
@


1.14
log
@Update to 0.5.1.
@
text
@d28 1
a28 1
	${MKDIR} ${RUBY_DOCDIR}/zlib/ja
d30 1
a30 1
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/zlib/
d33 1
a33 1
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/zlib/ja/
@


1.13
log
@Update to 0.5.0-pre6.
@
text
@d9 1
a9 1
PORTVERSION=	0.5.0.p6
@


1.12
log
@Update to 0.5.0-pre5, which fixes some critical bugs.
@
text
@d9 1
a9 1
PORTVERSION=	0.5.0.p5
@


1.11
log
@Update to 0.5.0-pre3.
@
text
@d9 1
a9 1
PORTVERSION=	0.5.0.p3
@


1.10
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/archivers/ruby-zlib/Makefile,v 1.9 2001/05/06 14:23:53 knu Exp $
d9 1
a9 2
PORTVERSION=	0.4.0
PORTREVISION=	1
d13 1
a13 1
DISTNAME=	ruby-${PORTNAME}-${PORTVERSION}
d23 2
a24 8
DOCS_EN=	ChangeLog zlib.en.html
DOCS_JA=	zlib.ja.html

post-patch:
	${RUBY} -i -p \
		-e 'gsub /\bNORETURN\b/, ""' \
		-e 'gsub /\bstr2cstr\b/, "rb_str2cstr"' \
		 ${WRKSRC}/zlib.c
@


1.9
log
@Oops, make it *work* with Ruby 1.7 (make RUBY_VER=1.7).
@
text
@d5 1
a5 1
# $FreeBSD: ports/archivers/ruby-zlib/Makefile,v 1.8 2001/05/06 14:05:06 knu Exp $
d10 1
@


1.8
log
@Make it compile with Ruby 1.7 (make RUBY_VER=1.7).
@
text
@d5 1
a5 1
# $FreeBSD: ports/archivers/ruby-zlib/Makefile,v 1.7 2000/09/26 22:01:12 knu Exp $
d27 4
a30 1
	${RUBY} -i -pe 'sub /\bNORETURN\b/, ""' ${WRKSRC}/zlib.c
@


1.7
log
@Update to 0.4.0.  Ruby 1.6.0 is now supported.
@
text
@d5 1
a5 1
# $FreeBSD: ports/archivers/ruby-zlib/Makefile,v 1.6 2000/09/26 08:02:14 knu Exp $
d25 3
@


1.6
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/archivers/ruby-zlib/Makefile,v 1.5 2000/09/10 07:57:05 knu Exp $
d9 1
a9 1
PORTVERSION=	0.3.1
@


1.5
log
@Fix build with Ruby 1.4.  Do not use PKGNAMEPREFIX in DISTNAME.
@
text
@d5 1
a5 1
# $FreeBSD: ports/archivers/ruby-zlib/Makefile,v 1.4 2000/09/07 07:44:33 knu Exp $
d37 1
a37 3
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.ruby.mk"
.include <bsd.port.post.mk>
@


1.4
log
@Update with bsd.ruby.mk.
@
text
@d5 1
a5 1
# $FreeBSD: ports/archivers/ruby-zlib/Makefile,v 1.3 2000/08/16 12:21:23 knu Exp $
d13 1
a13 1
DISTNAME=	${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
@


1.3
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/archivers/ruby-zlib/Makefile,v 1.2 2000/08/12 20:09:40 knu Exp $
d12 1
a12 1
PKGNAMEPREFIX=	ruby-
d18 2
a19 2
BUILD_DEPENDS=	ruby:${PORTSDIR}/lang/ruby
RUN_DEPENDS=	ruby:${PORTSDIR}/lang/ruby
a22 6
PLIST_SUB=	RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"

RUBY?=		${LOCALBASE}/bin/ruby
RUBY_VER?=	1.4
RUBY_ARCH?=	${ARCH}-freebsd${OSREL}

a25 4
do-configure:
	@@cd ${WRKSRC}; \
	${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb

d28 1
a28 1
	${MKDIR} ${PREFIX}/share/doc/ruby/zlib/ja
d30 1
a30 1
	${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/zlib/
d33 1
a33 1
	${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/zlib/ja/
d37 3
a39 1
.include <bsd.port.mk>
@


1.2
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/archivers/ruby-zlib/Makefile,v 1.1 2000/08/12 12:12:38 knu Exp $
d10 1
a10 1
CATEGORIES=	archivers	# ruby
@


1.1
log
@Add ruby-zlib, an extension library to use zlib from Ruby
@
text
@d5 1
a5 1
# $FreeBSD$
d25 3
a27 3
RUBY=		${LOCALBASE}/bin/ruby
RUBY_VER=	1.4
RUBY_ARCH=	${ARCH}-freebsd${OSREL}
@

