aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ruby18
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-12-12 20:53:03 +0800
committerknu <knu@FreeBSD.org>2002-12-12 20:53:03 +0800
commitfc89ee6b273b2ed0628b0e9067107e3e1f94a3ce (patch)
treef63c23c577fa85b226b57b1d01bc177755544f59 /lang/ruby18
parent57691fe03c6c47bd1549b8c3d8a65ac9780e12f2 (diff)
downloadfreebsd-ports-gnome-fc89ee6b273b2ed0628b0e9067107e3e1f94a3ce.tar.gz
freebsd-ports-gnome-fc89ee6b273b2ed0628b0e9067107e3e1f94a3ce.tar.zst
freebsd-ports-gnome-fc89ee6b273b2ed0628b0e9067107e3e1f94a3ce.zip
Update lang/ruby to 1.6.8-preview3, lang/ruby16-shim-ruby18 to
1.7.3.2002.12.11, and lang/ruby-devel to 1.7.3-2002.12.12. - Fix a few bugs that lead to core dump, one in the ruby interpreter and another in the syslog module. Reported by: ume (net/dtcp was a victim) - Fix an installation problem occasionally seen on bento. (a bug in Makefile that caused race) Submitted by: bento - Fix a problem that irb(1) didn't work because the symlink was wrong. Submitted by: Jos Backus <jos@catnook.com> - Get rid of move & symlink spaghetti completely from the installation process. Discussed with: portmgr (will)
Diffstat (limited to 'lang/ruby18')
-rw-r--r--lang/ruby18/Makefile31
-rw-r--r--lang/ruby18/distinfo2
2 files changed, 8 insertions, 25 deletions
diff --git a/lang/ruby18/Makefile b/lang/ruby18/Makefile
index 33e6f238e06a..d919b28864e2 100644
--- a/lang/ruby18/Makefile
+++ b/lang/ruby18/Makefile
@@ -10,7 +10,7 @@ PORTVERSION= ${RUBY_PORTVERSION}
CATEGORIES= lang ruby ipv6
MASTER_SITES= ${MASTER_SITE_RUBY} \
${ONIGURUMA_MASTER_SITES:S,$,:oniguruma,}
-MASTER_SITE_SUBDIR= snapshots \
+MASTER_SITE_SUBDIR= ${MASTER_SITE_SUBDIR_RUBY} \
${ONIGURUMA_MASTER_SITE_SUBDIR:S,$,/:oniguruma,}
DISTFILES= ${RUBY_DISTNAME}${EXTRACT_SUFX} \
${ONIGURUMA_DISTFILE:S,$,:oniguruma,}
@@ -115,34 +115,17 @@ post-patch:
${MV} ${WRKSRC}/ext/${d} ${WRKDIR}/
.endfor
-pre-install:
- ${RM} -f ${RUBY_WITHOUT_SUFFIX}${RUBY_R} \
- ${PREFIX}/man/man1/ruby${RUBY_R}.1 \
- ${PREFIX}/man/man1/ruby${RUBY_R}.1.gz
-
post-install:
.if defined(STRIP) && ${STRIP} == -s
${STRIP_CMD} ${RUBY}
.endif
.if ${RUBY_VER} == ${RUBY_DEFAULT_VER}
- ${MV} -f ${RUBY_WITHOUT_SUFFIX}${RUBY_R} ${RUBY_WITH_SUFFIX}
- ${MV} -f ${PREFIX}/man/man1/ruby${RUBY_R}.1 ${PREFIX}/man/man1/ruby${_RUBY_SUFFIX}.1
-.endif
- if [ -x ${RUBY_WITHOUT_SUFFIX}${RUBY_DEFAULT_SUFFIX}${RUBY_R} ]; then \
- ${LN} -fs ${RUBY_WITHOUT_SUFFIX}${RUBY_DEFAULT_SUFFIX}${RUBY_R} ${RUBY_WITHOUT_SUFFIX}${RUBY_R}; \
- ${LN} -fs ruby${RUBY_DEFAULT_SUFFIX}${RUBY_R}.1${MANEXT} ${PREFIX}/man/man1/ruby${RUBY_R}.1${MANEXT}; \
- fi
- if [ -x ${RUBY_WITHOUT_SUFFIX} ]; then \
- for f in ${INSTALLED_SCRIPTS}; do \
- ${LN} -fs $${f}${RUBY_DEFAULT_SUFFIX} $${f}; \
- done; \
- fi
-.if !empty(RUBY_R)
- if [ -x ${RUBY_WITHOUT_SUFFIX}${RUBY_R} ]; then \
- for f in ${INSTALLED_SCRIPTS}; do \
- ${LN} -fs $${f}${_RUBY_SUFFIX} $${f}${RUBY_R}; \
- done; \
- fi
+# Link just installed "ruby" to "ruby17", etc.
+ ${LN} -f ${RUBY_WITHOUT_SUFFIX}${RUBY_R} ${RUBY_WITH_SUFFIX}
+ ${LN} -f ${PREFIX}/man/man1/ruby${RUBY_R}.1 ${PREFIX}/man/man1/ruby${_RUBY_SUFFIX}.1
+ for f in ${INSTALLED_SCRIPTS}; do \
+ ${LN} -f $${f}${RUBY_R} $${f}${_RUBY_SUFFIX}; \
+ done
.endif
${LDCONFIG} -m ${PREFIX}/lib
${MKDIR} ${RUBY_ELISPDIR}
diff --git a/lang/ruby18/distinfo b/lang/ruby18/distinfo
index c274e83098fa..49443af3684c 100644
--- a/lang/ruby18/distinfo
+++ b/lang/ruby18/distinfo
@@ -1,2 +1,2 @@
-MD5 (ruby/ruby-1.7.3-2002.11.22.tar.bz2) = fafe9cbd17e49dbf356710bc5751d78a
+MD5 (ruby/ruby-1.7.3-2002.12.12.tar.bz2) = d200f52d1f7c3a624408b2ebabc66823
MD5 (ruby/onigd20020424.tar.gz) = d5e6505aa776378a58cdb0fd4ef9cdc0