2001-10-29 18:01:07 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2001/10/29 23:01:07 krw Exp $
|
2000-03-28 08:16:02 -05:00
|
|
|
|
2001-03-23 09:12:32 -05:00
|
|
|
COMMENT= object oriented script language with threads
|
2001-10-25 21:25:05 -04:00
|
|
|
VERSION=1.6.5
|
2000-09-05 09:56:24 -04:00
|
|
|
DISTNAME=ruby-${VERSION}
|
2000-03-28 08:16:02 -05:00
|
|
|
CATEGORIES = lang
|
2001-03-23 09:12:32 -05:00
|
|
|
NEED_VERSION= 1.362
|
2000-03-28 08:16:02 -05:00
|
|
|
MASTER_SITES=ftp://ftp.netlab.co.jp/pub/lang/ruby/ \
|
|
|
|
ftp://ftp.iij.ad.jp/pub/lang/ruby/ \
|
|
|
|
ftp://ftp.TokyoNet.AD.JP/pub/misc/ruby/ \
|
|
|
|
ftp://ftp.krnet.ne.jp/pub/ruby/
|
|
|
|
|
|
|
|
MASTER_SITES0=${MASTER_SITES:C,$,doc/,}
|
|
|
|
|
|
|
|
BINARCH=${DISTNAME}.tar.gz
|
2001-02-21 12:17:17 -05:00
|
|
|
MANARCH=ruby-man-1.4.6.tar.gz
|
2000-03-28 08:16:02 -05:00
|
|
|
DISTFILES=${BINARCH} ${MANARCH}:0
|
|
|
|
EXTRACT_ONLY=${BINARCH}
|
|
|
|
|
2001-10-29 18:01:07 -05:00
|
|
|
HOMEPAGE=http://www.ruby-lang.org/
|
2001-10-25 20:35:51 -04:00
|
|
|
MAINTAINER= Ken Westerback <krw@openbsd.org>
|
2000-03-28 08:16:02 -05:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2001-01-08 16:36:42 -05:00
|
|
|
LIB_DEPENDS=tcl83.::lang/tcl/8.3 \
|
|
|
|
tk83.::x11/tk/8.3
|
2000-03-28 08:16:02 -05:00
|
|
|
|
2000-10-22 11:41:23 -04:00
|
|
|
CONFIGURE_STYLE= autoconf
|
2000-03-28 08:16:02 -05:00
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
|
|
|
|
CONFIGURE_ENV=YACC=yacc
|
|
|
|
CONFIGURE_ARGS=${CONFIGURE_SHARED} \
|
|
|
|
--with-tcl-include=${PREFIX}/include/tcl8.3 \
|
|
|
|
--with-tk-include=${PREFIX}/include/tk8.3 \
|
|
|
|
--with-X11-dir=${X11BASE}
|
|
|
|
|
|
|
|
# Force rebuild of parse.c with yacc
|
|
|
|
post-extract:
|
|
|
|
cd ${WRKSRC} && rm parse.c
|
|
|
|
|
|
|
|
# buglet fix: lex.c should be in object dir
|
|
|
|
post-configure:
|
|
|
|
cp ${WRKSRC}/lex.c ${WRKBUILD}/lex.c
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ruby
|
|
|
|
cd ${PREFIX}/share/doc && \
|
|
|
|
tar -s/ruby-man-1.4/ruby/ -zxf ${FULLDISTDIR}/${MANARCH}
|
2001-07-03 02:34:53 -04:00
|
|
|
@strip ${PREFIX}/bin/ruby
|
2000-03-28 08:16:02 -05:00
|
|
|
|
2001-02-21 12:17:17 -05:00
|
|
|
REV=1.6
|
2000-06-28 09:51:23 -04:00
|
|
|
SUB=${ARCH}-openbsd${OSREV}
|
|
|
|
SUBST_VARS=SUB REV
|
2000-03-28 08:16:02 -05:00
|
|
|
|
2000-06-28 09:51:23 -04:00
|
|
|
.include <bsd.port.mk>
|