2012-03-30 15:03:24 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.23 2012/03/30 19:03:24 phessler Exp $
|
Split the lang/ruby port into separate ports for ruby 1.8 and ruby
1.9, similar to how the lang/python ports are handled. ruby 1.8
now installs as ruby18 and ruby 1.9 installs as ruby19. The
included MESSAGE files for both ports let you know the symlinks to
set up if you want to make that version the default system ruby.
Split port originally started by bernd@, many changes since by me,
help and support from jcs@, landry@, jasper@, and sthen@.
This causes a large amount of fallout in dependent ruby ports,
which will be committed shortly.
OK jcs@, landry@, jasper@, sthen@
2010-09-23 17:58:50 -04:00
|
|
|
|
|
|
|
COMMENT-main= object oriented script language with threads
|
|
|
|
COMMENT-iconv= libiconv interface for ruby
|
|
|
|
COMMENT-gdbm= gdbm interface for ruby
|
|
|
|
COMMENT-tk= tk interface for ruby
|
2011-11-08 18:40:05 -05:00
|
|
|
COMMENT-ri_docs= ri documentation files ruby
|
Split the lang/ruby port into separate ports for ruby 1.8 and ruby
1.9, similar to how the lang/python ports are handled. ruby 1.8
now installs as ruby18 and ruby 1.9 installs as ruby19. The
included MESSAGE files for both ports let you know the symlinks to
set up if you want to make that version the default system ruby.
Split port originally started by bernd@, many changes since by me,
help and support from jcs@, landry@, jasper@, and sthen@.
This causes a large amount of fallout in dependent ruby ports,
which will be committed shortly.
OK jcs@, landry@, jasper@, sthen@
2010-09-23 17:58:50 -04:00
|
|
|
|
|
|
|
VERSION= 1.8.7
|
2012-02-27 19:17:17 -05:00
|
|
|
PATCHLEVEL= 358
|
Split the lang/ruby port into separate ports for ruby 1.8 and ruby
1.9, similar to how the lang/python ports are handled. ruby 1.8
now installs as ruby18 and ruby 1.9 installs as ruby19. The
included MESSAGE files for both ports let you know the symlinks to
set up if you want to make that version the default system ruby.
Split port originally started by bernd@, many changes since by me,
help and support from jcs@, landry@, jasper@, and sthen@.
This causes a large amount of fallout in dependent ruby ports,
which will be committed shortly.
OK jcs@, landry@, jasper@, sthen@
2010-09-23 17:58:50 -04:00
|
|
|
|
|
|
|
SHARED_LIBS= ruby18 0.0
|
|
|
|
PKGNAME-main= ruby-${VERSION}.${PATCHLEVEL}
|
|
|
|
PKGNAME-iconv= ruby-iconv-${VERSION}.${PATCHLEVEL}
|
|
|
|
PKGNAME-gdbm= ruby-gdbm-${VERSION}.${PATCHLEVEL}
|
|
|
|
PKGNAME-tk= ruby-tk-${VERSION}.${PATCHLEVEL}
|
2011-11-08 18:40:05 -05:00
|
|
|
PKGNAME-ri_docs= ruby-ri_docs-${VERSION}.${PATCHLEVEL}
|
Split the lang/ruby port into separate ports for ruby 1.8 and ruby
1.9, similar to how the lang/python ports are handled. ruby 1.8
now installs as ruby18 and ruby 1.9 installs as ruby19. The
included MESSAGE files for both ports let you know the symlinks to
set up if you want to make that version the default system ruby.
Split port originally started by bernd@, many changes since by me,
help and support from jcs@, landry@, jasper@, and sthen@.
This causes a large amount of fallout in dependent ruby ports,
which will be committed shortly.
OK jcs@, landry@, jasper@, sthen@
2010-09-23 17:58:50 -04:00
|
|
|
|
2012-03-08 07:13:00 -05:00
|
|
|
REVISION-main= 0
|
|
|
|
|
2011-11-14 19:04:15 -05:00
|
|
|
PKG_ARCH-ri_docs= *
|
2010-11-24 16:26:19 -05:00
|
|
|
PKGSPEC-main= ruby->=1.8,<1.9
|
2010-10-12 11:39:06 -04:00
|
|
|
|
Split the lang/ruby port into separate ports for ruby 1.8 and ruby
1.9, similar to how the lang/python ports are handled. ruby 1.8
now installs as ruby18 and ruby 1.9 installs as ruby19. The
included MESSAGE files for both ports let you know the symlinks to
set up if you want to make that version the default system ruby.
Split port originally started by bernd@, many changes since by me,
help and support from jcs@, landry@, jasper@, and sthen@.
This causes a large amount of fallout in dependent ruby ports,
which will be committed shortly.
OK jcs@, landry@, jasper@, sthen@
2010-09-23 17:58:50 -04:00
|
|
|
CONFIGURE_ARGS= --program-suffix=18 \
|
|
|
|
--enable-ipv6 \
|
|
|
|
--with-dbm-type=bogus \
|
|
|
|
--with-opt-dir="${LOCALBASE}" \
|
|
|
|
--disable-option-checking
|
|
|
|
|
|
|
|
CONFIGURE_ENV= LIBruby18_VERSION=${LIBruby18_VERSION}
|
|
|
|
|
|
|
|
MODULES= converters/libiconv
|
2010-11-17 03:05:12 -05:00
|
|
|
USE_GROFF = Yes
|
Split the lang/ruby port into separate ports for ruby 1.8 and ruby
1.9, similar to how the lang/python ports are handled. ruby 1.8
now installs as ruby18 and ruby 1.9 installs as ruby19. The
included MESSAGE files for both ports let you know the symlinks to
set up if you want to make that version the default system ruby.
Split port originally started by bernd@, many changes since by me,
help and support from jcs@, landry@, jasper@, and sthen@.
This causes a large amount of fallout in dependent ruby ports,
which will be committed shortly.
OK jcs@, landry@, jasper@, sthen@
2010-09-23 17:58:50 -04:00
|
|
|
|
|
|
|
WANTLIB-main= c m readline termcap util crypto ncurses ssl z
|
|
|
|
LIB_DEPENDS-main=
|
|
|
|
RUN_DEPENDS-main=
|
|
|
|
|
2011-11-14 19:04:15 -05:00
|
|
|
PSEUDO_FLAVORS= no_x11 no_ri_docs
|
2012-03-30 15:03:24 -04:00
|
|
|
# Do not build the RI docs on slow arches
|
|
|
|
.if ${MACHINE_ARCH:Marm} || ${MACHINE_ARCH:Msparc} || ${MACHINE_ARCH:Mvax}
|
|
|
|
FLAVOR?= no_ri_docs
|
|
|
|
.else
|
Split the lang/ruby port into separate ports for ruby 1.8 and ruby
1.9, similar to how the lang/python ports are handled. ruby 1.8
now installs as ruby18 and ruby 1.9 installs as ruby19. The
included MESSAGE files for both ports let you know the symlinks to
set up if you want to make that version the default system ruby.
Split port originally started by bernd@, many changes since by me,
help and support from jcs@, landry@, jasper@, and sthen@.
This causes a large amount of fallout in dependent ruby ports,
which will be committed shortly.
OK jcs@, landry@, jasper@, sthen@
2010-09-23 17:58:50 -04:00
|
|
|
FLAVOR?=
|
2012-03-30 15:03:24 -04:00
|
|
|
.endif
|
Split the lang/ruby port into separate ports for ruby 1.8 and ruby
1.9, similar to how the lang/python ports are handled. ruby 1.8
now installs as ruby18 and ruby 1.9 installs as ruby19. The
included MESSAGE files for both ports let you know the symlinks to
set up if you want to make that version the default system ruby.
Split port originally started by bernd@, many changes since by me,
help and support from jcs@, landry@, jasper@, and sthen@.
This causes a large amount of fallout in dependent ruby ports,
which will be committed shortly.
OK jcs@, landry@, jasper@, sthen@
2010-09-23 17:58:50 -04:00
|
|
|
|
2011-11-14 19:04:15 -05:00
|
|
|
MULTI_PACKAGES= -main -iconv -gdbm
|
Split the lang/ruby port into separate ports for ruby 1.8 and ruby
1.9, similar to how the lang/python ports are handled. ruby 1.8
now installs as ruby18 and ruby 1.9 installs as ruby19. The
included MESSAGE files for both ports let you know the symlinks to
set up if you want to make that version the default system ruby.
Split port originally started by bernd@, many changes since by me,
help and support from jcs@, landry@, jasper@, and sthen@.
This causes a large amount of fallout in dependent ruby ports,
which will be committed shortly.
OK jcs@, landry@, jasper@, sthen@
2010-09-23 17:58:50 -04:00
|
|
|
|
2010-11-07 14:12:42 -05:00
|
|
|
WANTLIB-iconv = ${MODLIBICONV_WANTLIB} c m ruby18
|
|
|
|
LIB_DEPENDS-iconv = ${MODLIBICONV_LIB_DEPENDS} \
|
2010-11-24 16:26:19 -05:00
|
|
|
lang/ruby/${REV},-main
|
2010-11-07 14:12:42 -05:00
|
|
|
RUN_DEPENDS-iconv = ${MODLIBICONV_RUN_DEPENDS}
|
Split the lang/ruby port into separate ports for ruby 1.8 and ruby
1.9, similar to how the lang/python ports are handled. ruby 1.8
now installs as ruby18 and ruby 1.9 installs as ruby19. The
included MESSAGE files for both ports let you know the symlinks to
set up if you want to make that version the default system ruby.
Split port originally started by bernd@, many changes since by me,
help and support from jcs@, landry@, jasper@, and sthen@.
This causes a large amount of fallout in dependent ruby ports,
which will be committed shortly.
OK jcs@, landry@, jasper@, sthen@
2010-09-23 17:58:50 -04:00
|
|
|
|
2010-11-17 03:05:12 -05:00
|
|
|
WANTLIB-gdbm = c gdbm>=3 m ruby18
|
|
|
|
LIB_DEPENDS-gdbm = databases/gdbm \
|
2010-11-24 16:26:19 -05:00
|
|
|
lang/ruby/${REV},-main
|
2010-11-07 14:12:42 -05:00
|
|
|
RUN_DEPENDS-gdbm =
|
Split the lang/ruby port into separate ports for ruby 1.8 and ruby
1.9, similar to how the lang/python ports are handled. ruby 1.8
now installs as ruby18 and ruby 1.9 installs as ruby19. The
included MESSAGE files for both ports let you know the symlinks to
set up if you want to make that version the default system ruby.
Split port originally started by bernd@, many changes since by me,
help and support from jcs@, landry@, jasper@, and sthen@.
This causes a large amount of fallout in dependent ruby ports,
which will be committed shortly.
OK jcs@, landry@, jasper@, sthen@
2010-09-23 17:58:50 -04:00
|
|
|
|
2011-12-02 09:36:13 -05:00
|
|
|
.if !${FLAVOR:Mno_x11}
|
Split the lang/ruby port into separate ports for ruby 1.8 and ruby
1.9, similar to how the lang/python ports are handled. ruby 1.8
now installs as ruby18 and ruby 1.9 installs as ruby19. The
included MESSAGE files for both ports let you know the symlinks to
set up if you want to make that version the default system ruby.
Split port originally started by bernd@, many changes since by me,
help and support from jcs@, landry@, jasper@, and sthen@.
This causes a large amount of fallout in dependent ruby ports,
which will be committed shortly.
OK jcs@, landry@, jasper@, sthen@
2010-09-23 17:58:50 -04:00
|
|
|
MULTI_PACKAGES+= -tk
|
|
|
|
CONFIGURE_ARGS+= --with-tcl-include=${PREFIX}/include/tcl8.5 \
|
|
|
|
--with-tk-include=${PREFIX}/include/tk8.5 \
|
|
|
|
--with-X11-dir=${X11BASE}
|
2010-11-07 14:12:42 -05:00
|
|
|
WANTLIB-tk = X11 c m ruby18 tcl85 tk85
|
2010-11-17 03:05:12 -05:00
|
|
|
LIB_DEPENDS-tk = tk->=8.5,<8.6:x11/tk/8.5 \
|
2010-11-24 16:26:19 -05:00
|
|
|
lang/ruby/${REV},-main
|
2010-11-07 14:12:42 -05:00
|
|
|
RUN_DEPENDS-tk =
|
Split the lang/ruby port into separate ports for ruby 1.8 and ruby
1.9, similar to how the lang/python ports are handled. ruby 1.8
now installs as ruby18 and ruby 1.9 installs as ruby19. The
included MESSAGE files for both ports let you know the symlinks to
set up if you want to make that version the default system ruby.
Split port originally started by bernd@, many changes since by me,
help and support from jcs@, landry@, jasper@, and sthen@.
This causes a large amount of fallout in dependent ruby ports,
which will be committed shortly.
OK jcs@, landry@, jasper@, sthen@
2010-09-23 17:58:50 -04:00
|
|
|
.endif
|
|
|
|
|
2011-12-02 09:36:13 -05:00
|
|
|
.if !${FLAVOR:Mno_ri_docs}
|
2011-11-14 19:04:15 -05:00
|
|
|
MULTI_PACKAGES += -ri_docs
|
|
|
|
ALL_TARGET = all rdoc
|
|
|
|
INSTALL_TARGET = install install-doc
|
2011-11-17 06:47:12 -05:00
|
|
|
VMEM_WARNING = Yes
|
2011-11-14 19:04:15 -05:00
|
|
|
.endif
|
|
|
|
|
Split the lang/ruby port into separate ports for ruby 1.8 and ruby
1.9, similar to how the lang/python ports are handled. ruby 1.8
now installs as ruby18 and ruby 1.9 installs as ruby19. The
included MESSAGE files for both ports let you know the symlinks to
set up if you want to make that version the default system ruby.
Split port originally started by bernd@, many changes since by me,
help and support from jcs@, landry@, jasper@, and sthen@.
This causes a large amount of fallout in dependent ruby ports,
which will be committed shortly.
OK jcs@, landry@, jasper@, sthen@
2010-09-23 17:58:50 -04:00
|
|
|
# Known regression failures in OpenSSL extension on sparc64
|
|
|
|
# Known regression failure in IO.readpartial on all arch
|
|
|
|
# Known regression failure in test_connection_refused_in_request on all arch
|
2011-01-05 23:01:52 -05:00
|
|
|
REGRESS_DEPENDS= ${FULLPKGNAME-main}:${BUILD_PKGPATH}
|
Split the lang/ruby port into separate ports for ruby 1.8 and ruby
1.9, similar to how the lang/python ports are handled. ruby 1.8
now installs as ruby18 and ruby 1.9 installs as ruby19. The
included MESSAGE files for both ports let you know the symlinks to
set up if you want to make that version the default system ruby.
Split port originally started by bernd@, many changes since by me,
help and support from jcs@, landry@, jasper@, and sthen@.
This causes a large amount of fallout in dependent ruby ports,
which will be committed shortly.
OK jcs@, landry@, jasper@, sthen@
2010-09-23 17:58:50 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|