aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2007-04-04 05:57:49 +0800
committerstas <stas@FreeBSD.org>2007-04-04 05:57:49 +0800
commit1bbb70e63a8d9d9f4105dcda55ac36e93544fbf4 (patch)
tree68b013ac93863a15d0f7e903dcdff56a379b8b45 /Mk
parenta186dba1e6a56823cc0b0be84670f1e2d1611604 (diff)
downloadfreebsd-ports-graphics-1bbb70e63a8d9d9f4105dcda55ac36e93544fbf4.tar.gz
freebsd-ports-graphics-1bbb70e63a8d9d9f4105dcda55ac36e93544fbf4.tar.zst
freebsd-ports-graphics-1bbb70e63a8d9d9f4105dcda55ac36e93544fbf4.zip
- Update ruby to 1.8.6
- Synchronise portversions and portepochs in all ruby subports - Take maintainerships of all ruby subports.
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 6a001eebc15..5ea91342428 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