2005-10-18 13:33:20 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.33 2005/10/18 17:33:20 couderc Exp $
|
2000-03-28 08:16:02 -05:00
|
|
|
|
2004-02-20 17:52:57 -05:00
|
|
|
COMMENT= "object oriented script language with threads"
|
2002-12-26 10:48:22 -05:00
|
|
|
|
2004-08-23 04:43:16 -04:00
|
|
|
SHARED_ONLY= Yes
|
2004-02-20 17:52:57 -05:00
|
|
|
VERSION= 1.8.1
|
|
|
|
DISTNAME= ruby-${VERSION}
|
2005-09-04 19:31:07 -04:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2004-02-20 17:52:57 -05:00
|
|
|
CATEGORIES= lang
|
2002-09-20 10:58:38 -04:00
|
|
|
|
2004-02-20 17:52:57 -05:00
|
|
|
HOMEPAGE= http://www.ruby-lang.org/
|
2000-03-28 08:16:02 -05:00
|
|
|
|
2004-02-20 17:52:57 -05:00
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2000-03-28 08:16:02 -05:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
2004-02-20 17:52:57 -05:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2005-02-24 08:20:41 -05:00
|
|
|
WANTLIB= ssl termcap m ncurses crypto c util z readline
|
2000-03-28 08:16:02 -05:00
|
|
|
|
2004-02-20 17:52:57 -05:00
|
|
|
MASTER_SITES= ftp://www.ruby-lang.org/pub/ruby/1.8/ \
|
|
|
|
ftp://mirror.nucba.ac.jp/pub/ruby/1.8/ \
|
|
|
|
ftp://ftp.kr.freebsd.org/pub/ruby/1.8/
|
2000-03-28 08:16:02 -05:00
|
|
|
|
2004-02-20 17:52:57 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
2002-03-06 13:59:21 -05:00
|
|
|
|
2004-02-20 17:52:57 -05:00
|
|
|
FLAVORS= tk
|
|
|
|
FLAVOR?=
|
2002-07-03 12:31:28 -04:00
|
|
|
|
|
|
|
.if ${FLAVOR:L} == "tk"
|
2003-12-27 18:34:42 -05:00
|
|
|
LIB_DEPENDS= tcl84.::lang/tcl/8.4 \
|
|
|
|
tk84.::x11/tk/8.4
|
2002-07-03 12:31:28 -04:00
|
|
|
|
2003-12-27 18:34:42 -05:00
|
|
|
CONFIGURE_ARGS+= --with-tcl-include=${PREFIX}/include/tcl8.4 \
|
|
|
|
--with-tk-include=${PREFIX}/include/tk8.4 \
|
2002-07-03 12:31:28 -04:00
|
|
|
--with-X11-dir=${X11BASE}
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-x11
|
|
|
|
.endif
|
2004-08-23 04:43:16 -04:00
|
|
|
CONFIGURE_ARGS+= --with-dbm-type=bogus
|
2002-07-03 12:31:28 -04:00
|
|
|
|
2004-06-23 10:17:05 -04:00
|
|
|
REGRESS_TARGET= test
|
2000-03-28 08:16:02 -05:00
|
|
|
|
2004-02-20 17:52:57 -05:00
|
|
|
REV=1.8
|
2004-06-23 10:17:05 -04:00
|
|
|
SUB=${MACHINE_ARCH:S/amd64/x86_64/}-openbsd${OSREV}
|
2000-06-28 09:51:23 -04:00
|
|
|
SUBST_VARS=SUB REV
|
2000-03-28 08:16:02 -05:00
|
|
|
|
2000-06-28 09:51:23 -04:00
|
|
|
.include <bsd.port.mk>
|