aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2007-04-03 21:57:49 +0000
committerStanislav Sedov <stas@FreeBSD.org>2007-04-03 21:57:49 +0000
commit8752c350a7bcc5293cf3ace062c6c6f914f8cc04 (patch)
tree1001a7223dee85ee73b729ef1aaeb70a8f29ddfb /Mk
parentee2fdc714d8270e5159f55e0fb307f112c889543 (diff)
downloadports-8752c350a7bcc5293cf3ace062c6c6f914f8cc04.tar.gz
ports-8752c350a7bcc5293cf3ace062c6c6f914f8cc04.zip
- Update ruby to 1.8.6
- Synchronise portversions and portepochs in all ruby subports - Take maintainerships of all ruby subports.
Notes
Notes: svn path=/head/; revision=189129
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.ruby.mk13
1 files changed, 9 insertions, 4 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk
index 6a001eebc156..5ea913424289 100644
--- a/Mk/bsd.ruby.mk
+++ b/Mk/bsd.ruby.mk
@@ -159,12 +159,17 @@ _RUBY_SITEDIR!= ${_RUBY_CONFIG} 'puts C["sitedir"]'
RUBY?= ${LOCALBASE}/bin/${RUBY_NAME}
.if defined(RUBY_VER) && ${RUBY_VER} == 1.8
-RUBY_RELVERSION= 1.8.5
-RUBY_PATCHLEVEL= 12
+RUBY_RELVERSION= 1.8.6
+RUBY_PORTREVISION= 0
+RUBY_PATCHLEVEL= 0
+
+.if ${RUBY_PATCHLEVEL} == 0
+RUBY_VERSION?= ${RUBY_RELVERSION}
+RUBY_DISTVERSION?= ${RUBY_RELVERSION}
+.else
RUBY_VERSION?= ${RUBY_RELVERSION}.${RUBY_PATCHLEVEL}
RUBY_DISTVERSION?= ${RUBY_RELVERSION}-p${RUBY_PATCHLEVEL}
-RUBY_PORTREVISION= 1
-#RUBY_PATCHFILES?= ruby-${RUBY_DISTVERSION}-yyyy.mm.dd.diff.bz2
+.endif
# Security patch
RUBY_PATCHFILES?= ${RUBY_VERSION}-patch1.gz