head	1.22;
access;
symbols
	RELEASE_4_10_0:1.21
	RELEASE_5_2_1:1.19
	RELEASE_5_2_0:1.19
	RELEASE_4_9_0:1.19
	RELEASE_5_1_0:1.19
	RELEASE_4_8_0:1.18
	RELEASE_5_0_0:1.17
	RELEASE_4_7_0:1.16
	RELEASE_4_6_2:1.16
	RELEASE_4_6_1:1.16
	RELEASE_4_6_0:1.16
	RELEASE_5_0_DP1:1.16
	RELEASE_4_5_0:1.15
	RELEASE_4_4_0:1.14
	RELEASE_4_3_0:1.14
	RELEASE_4_2_0:1.12
	RELEASE_4_1_1:1.11;
locks; strict;
comment	@# @;


1.22
date	2004.05.15.01.01.59;	author linimon;	state dead;
branches;
next	1.21;

1.21
date	2004.04.14.17.26.21;	author linimon;	state Exp;
branches;
next	1.20;

1.20
date	2004.03.21.23.44.15;	author kris;	state Exp;
branches;
next	1.19;

1.19
date	2003.04.17.10.40.48;	author kris;	state Exp;
branches;
next	1.18;

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

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

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

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

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

1.13
date	2001.02.05.15.04.11;	author olgeni;	state Exp;
branches;
next	1.12;

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

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

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

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

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

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

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

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

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

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

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

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


desc
@@


1.22
log
@As previously announced, remove lang/ruby-python.  Its dependendencies are
broken, and it relies on an antique version of Python.  Per the manintainer,
"Ruby now has hundreds of native libraries, and no one would need or want
to use ruby-python to borrow libraries from python."
@
text
@# New ports collection makefile for:	Ruby/Python
# Date created:		7 Aug 2000
# Whom:			Akinori MUSHA aka knu <knu@@idaemons.org>
#
# $FreeBSD: ports/lang/ruby-python/Makefile,v 1.21 2004/04/14 17:26:21 linimon Exp $
#

PORTNAME=	python
PORTVERSION=	0.3.3
PORTREVISION=	2
CATEGORIES=	lang ruby python
MASTER_SITES=	http://www.goto.info.waseda.ac.jp/~fukusima/ruby/
PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
DISTNAME=	ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR=	ruby

MAINTAINER=	knu@@FreeBSD.org
COMMENT=	Ruby extension library for embedding Python in Ruby

BUILD_DEPENDS=	${NONEXISTENT}:${PYTHON_PORTSDIR}:-DWITHOUT_THREADS

BROKEN=		"Broken dependency"
DEPRECATED=	"obsolete now that hundreds of native libraries have been added to Ruby"
EXPIRATION_DATE=	"May 14, 2004"

USE_PYTHON=	yes
PYTHON_VERSION?=	python1.5

USE_RUBY=	yes
USE_RUBY_EXTCONF=	yes

WRKSRC=		${WRKDIR}/${PORTNAME}
CONFIGURE_ARGS=	--with-python-lib=`cd ${PYTHON_PORTSDIR}; ${MAKE} -V WRKSRC`
INSTALL_TARGET=	site-install

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${RUBY_MODEXAMPLESDIR}
	${CP} -R ${WRKSRC}/examples/ ${RUBY_MODEXAMPLESDIR}/
	${MKDIR} ${RUBY_MODDOCDIR}/ja
	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/README ${WRKSRC}/doc/* \
		${RUBY_MODDOCDIR}/
	${INSTALL_DATA} ${WRKSRC}/README.ja ${WRKSRC}/doc-ja/* \
		${RUBY_MODDOCDIR}/ja/
.endif

.include <bsd.port.mk>
@


1.21
log
@Mark as deprecated: its dependendencies are broken, and it relies on
an antique version of Python.  Per the manintainer (knu): "Ruby now
has hundreds of native libraries, and no one would need or want to use
ruby-python to borrow libraries from python."
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.20
log
@BROKEN: Broken dependency
@
text
@d23 2
@


1.19
log
@Set USE_PYTHON explicitly now that PYTHON_VERSION no longer implies it.
@
text
@d22 2
@


1.18
log
@De-pkg-comment.
@
text
@d22 1
@


1.17
log
@Use RUBY_MOD*.
@
text
@d18 1
@


1.16
log
@cd dir && command -> cd dir; command
@
text
@d32 3
a34 3
	${MKDIR} ${RUBY_EXAMPLESDIR}/python
	${CP} -R ${WRKSRC}/examples/ ${RUBY_EXAMPLESDIR}/python/
	${MKDIR} ${RUBY_DOCDIR}/python/ja
d36 1
a36 1
		${RUBY_DOCDIR}/python/
d38 1
a38 1
		${RUBY_DOCDIR}/python/ja/
@


1.15
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-python/Makefile,v 1.14 2001/03/29 08:23:04 knu Exp $
d27 1
a27 1
CONFIGURE_ARGS=	--with-python-lib=`cd ${PYTHON_PORTSDIR} && ${MAKE} -V WRKSRC`
@


1.14
log
@Build and use libpython without threads support and make this work
fine on both 4-STABLE and 5-CURRENT.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby-python/Makefile,v 1.13 2001/02/05 15:04:11 olgeni Exp $
d10 1
a10 1
PORTREVISION=	1
@


1.13
log
@Some style fixes in the lang category (usual round of spaces -> tabs)
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby-python/Makefile,v 1.12 2000/09/26 08:02:00 knu Exp $
d10 1
d19 2
d27 1
a27 1
CONFIGURE_ARGS=	--with-python="${PYTHON_VERSION}" --with-pthread
@


1.12
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-python/Makefile,v 1.11 2000/09/10 20:13:12 knu Exp $
d9 1
a9 1
PORTVERSION= 	0.3.3
@


1.11
log
@Improve the configure script and add a knob to use another version of
Python than 1.5. (Currently this module only works with 1.5 though)

Feedback status:	submitted to the author
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby-python/Makefile,v 1.10 2000/09/10 17:44:12 knu Exp $
d38 1
a38 3
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.ruby.mk"
.include <bsd.port.post.mk>
@


1.10
log
@Update to 0.3.3.  This should fix a problem with Ruby 1.6.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby-python/Makefile,v 1.9 2000/09/10 12:40:42 knu Exp $
d18 1
a18 1
PYTHON_VERSION=	python1.5
d24 1
a26 3
post-configure:
	${PERL} -i -pe 's/-lc\b/-lc_r/g' ${WRKSRC}/Makefile

d29 2
a30 1
	${MKDIR} ${RUBY_EXAMPLESDIR}/python/Lib
a31 1
	cd ${WRKSRC}/examples; find . -exec ${INSTALL_DATA} {} ${RUBY_EXAMPLESDIR}/python/{} \;
@


1.9
log
@Set PYTHON_VERSION=python1.5 to depend on Python 1.5.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby-python/Makefile,v 1.8 2000/09/10 07:57:04 knu Exp $
d9 1
a9 1
PORTVERSION= 	0.3.2
@


1.8
log
@Fix build with Ruby 1.4.  Do not use PKGNAMEPREFIX in DISTNAME.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby-python/Makefile,v 1.7 2000/09/07 07:43:28 knu Exp $
d18 1
a18 2
BUILD_DEPENDS=	python:${PORTSDIR}/lang/python
RUN_DEPENDS=	python:${PORTSDIR}/lang/python
@


1.7
log
@Update with bsd.ruby.mk.

Install library files under the standard directory. (${RUBY_SITELIBDIR},
${RUBY_SITEARCHLIBDIR})
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby-python/Makefile,v 1.6 2000/08/16 12:21:19 knu Exp $
d13 1
a13 1
DISTNAME=	${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
@


1.6
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-python/Makefile,v 1.5 2000/08/13 15:42:17 knu Exp $
d12 1
a12 1
PKGNAMEPREFIX=	ruby-
d18 5
a22 4
BUILD_DEPENDS=	ruby:${PORTSDIR}/lang/ruby \
		python:${PORTSDIR}/lang/python
RUN_DEPENDS=	ruby:${PORTSDIR}/lang/ruby \
		python:${PORTSDIR}/lang/python
d25 1
a25 1
PLIST_SUB=	RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
d27 2
a28 7
RUBY?=		${LOCALBASE}/bin/ruby
RUBY_VER?=	1.4
RUBY_ARCH?=	${ARCH}-freebsd${OSREL}

do-configure:
	@@cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb; \
	${PERL} -i -pe 's/-lc\b/-lc_r/g' Makefile
d32 3
a34 3
	${MKDIR} ${PREFIX}/share/examples/ruby/python/Lib
	${MKDIR} ${PREFIX}/share/doc/ruby/python/ja
	cd ${WRKSRC}/examples; find . -exec ${INSTALL_DATA} {} ${PREFIX}/share/examples/ruby/python/{} \;
d36 1
a36 1
		${PREFIX}/share/doc/ruby/python/
d38 1
a38 1
		${PREFIX}/share/doc/ruby/python/ja/
d41 3
a43 1
.include <bsd.port.mk>
@


1.5
log
@This port surely belongs to the virtual category "python".
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby-python/Makefile,v 1.4 2000/08/12 20:09:35 knu Exp $
d10 1
a10 1
CATEGORIES=	lang python	# ruby
@


1.4
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-python/Makefile,v 1.3 2000/08/08 16:08:25 knu Exp $
d10 1
a10 1
CATEGORIES=	lang	# ruby
@


1.3
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/Python
# Date created:         7 Aug 2000
# Whom:                 Akinori MUSHA aka knu <knu@@idaemons.org>
d5 1
a5 1
# $FreeBSD: ports/lang/ruby-python/Makefile,v 1.2 2000/08/07 12:50:16 knu Exp $
d26 3
a28 3
RUBY=		${LOCALBASE}/bin/ruby
RUBY_VER=	1.4
RUBY_ARCH=	${ARCH}-freebsd${OSREL}
@


1.2
log
@Follow our hier(7) policy: share/doc/ruby/*/examples -> share/examples/ruby/*
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby-python/Makefile,v 1.1 2000/08/07 06:09:17 knu Exp $
d14 1
@


1.1
log
@Add Ruby related ports.

devel/ruby-property:
	Simple properties scheme for Ruby

lang/ruby-python:
	Ruby extension library for embedding Python in Ruby

math/ruby-bigfloat:
	Variable precision floating library for Ruby

Whipped on by:	ade	:>
@
text
@d5 1
a5 1
# $FreeBSD$
d35 1
a35 1
	${MKDIR} ${PREFIX}/share/doc/ruby/python/examples/Lib
d37 1
a37 1
	cd ${WRKSRC}; find examples -exec ${INSTALL_DATA} {} ${PREFIX}/share/doc/ruby/python/{} \;
@

