summaryrefslogtreecommitdiff
path: root/lang/ruby18-base
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2011-11-08 15:20:36 +0000
committertaca <taca@pkgsrc.org>2011-11-08 15:20:36 +0000
commit7c96846e039bedd33f7672365408552a652bc5b7 (patch)
tree4b2b305232bd8e86f5ad2f99a51ee50ae571b8db /lang/ruby18-base
parentdfc84d6197bc2ee32eee5d49b7b2f650aa897e5a (diff)
downloadpkgsrc-7c96846e039bedd33f7672365408552a652bc5b7.tar.gz
* Change RUBY_VERSION_SUFFIX to RUBY_VERSION_FULL.
* Remove workaround for version.h.
Diffstat (limited to 'lang/ruby18-base')
-rw-r--r--lang/ruby18-base/DESCR2
-rw-r--r--lang/ruby18-base/MESSAGE4
-rw-r--r--lang/ruby18-base/Makefile7
3 files changed, 6 insertions, 7 deletions
diff --git a/lang/ruby18-base/DESCR b/lang/ruby18-base/DESCR
index 984ff4d31ee..05ced2b70ff 100644
--- a/lang/ruby18-base/DESCR
+++ b/lang/ruby18-base/DESCR
@@ -16,4 +16,4 @@ Features of Ruby are shown below.
+ Highly Portable (works on many UNIX machines, and on DOS,
Windows, Mac, BeOS etc.)
-This package is Ruby 1.8 based release.
+This package is Ruby 1.8.7 release minimum base package.
diff --git a/lang/ruby18-base/MESSAGE b/lang/ruby18-base/MESSAGE
index 5bc455d8a82..1d55283022f 100644
--- a/lang/ruby18-base/MESSAGE
+++ b/lang/ruby18-base/MESSAGE
@@ -1,9 +1,9 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.5 2006/09/07 15:40:00 taca Exp $
+$NetBSD: MESSAGE,v 1.6 2011/11/08 15:20:36 taca Exp $
Note that this is a minimal package.
-The original Ruby ${RUBY_VERSION} distribution includes more extension
+The original ${RUBY_DISTNAME} distribution includes more extension
libraries, some of which are provided as separate packages:
databases/ruby-gdbm: GDBM module
diff --git a/lang/ruby18-base/Makefile b/lang/ruby18-base/Makefile
index 917cb2e8a11..651870e62b9 100644
--- a/lang/ruby18-base/Makefile
+++ b/lang/ruby18-base/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.65 2011/10/21 05:24:13 obache Exp $
+# $NetBSD: Makefile,v 1.66 2011/11/08 15:20:36 taca Exp $
#
DISTNAME= ${RUBY_DISTNAME}
-PKGNAME= ${RUBY_PKGPREFIX}-base-${RUBY_VERSION_SUFFIX}
+PKGNAME= ${RUBY_PKGPREFIX}-base-${RUBY_VERSION_FULL}
CATEGORIES= lang ruby
MASTER_SITES= ${MASTER_SITE_RUBY}
@@ -11,7 +11,7 @@ HOMEPAGE= ${RUBY_HOMEPAGE}
COMMENT= Ruby 1.8 based release minimum package
LICENSE= gnu-gpl-v2 OR ruby-license
-RUBY_VERSION= ${RUBY18_VERSION}
+RUBY_VERSION_SUPPORTED= 18
CONFLICTS= ${RUBY_PKGPREFIX}-dbm-[0-9]* \
${RUBY_PKGPREFIX}-digest-[0-9]* \
@@ -112,7 +112,6 @@ FIX_PERM= ${RUBY_ARCHLIB}/digest.h ${RUBY_ARCHLIB}/dl.h \
${RUBY_ARCHLIB}/dlconfig.h
pre-configure:
- ${ECHO} >> ${WRKSRC}/version.h # workaround for no EOL.
${RM} -f ${WRKSRC}/ext/curses/extconf.rb
${RM} -f ${WRKSRC}/ext/gdbm/extconf.rb
${RM} -f ${WRKSRC}/ext/readline/extconf.rb