diff options
Diffstat (limited to 'lang/ruby18')
-rw-r--r-- | lang/ruby18/Makefile | 31 | ||||
-rw-r--r-- | lang/ruby18/distinfo | 2 |
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 |