aboutsummaryrefslogtreecommitdiff
path: root/lang/ruby18
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-01-11 08:46:30 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-01-11 08:46:30 +0000
commit1423ddf3358c4ca72c08907db19240a432116e12 (patch)
treec77204dabf9953940d9d5ef96348b4b60a780cf2 /lang/ruby18
parentd47134d7606eeabd50aca791aaecf6aa0621a925 (diff)
downloadports-1423ddf3358c4ca72c08907db19240a432116e12.tar.gz
ports-1423ddf3358c4ca72c08907db19240a432116e12.zip
Notes
Diffstat (limited to 'lang/ruby18')
-rw-r--r--lang/ruby18/Makefile15
-rw-r--r--lang/ruby18/distinfo2
2 files changed, 7 insertions, 10 deletions
diff --git a/lang/ruby18/Makefile b/lang/ruby18/Makefile
index df64904de83c..0614137736a3 100644
--- a/lang/ruby18/Makefile
+++ b/lang/ruby18/Makefile
@@ -15,7 +15,6 @@ MASTER_SITE_SUBDIR= ${MASTER_SITE_SUBDIR_RUBY} \
DISTFILES= ${RUBY_DISTNAME}${EXTRACT_SUFX} \
${ONIGURUMA_DISTFILE:S,$,:oniguruma,}
DIST_SUBDIR= ruby
-EXTRACT_ONLY= ${RUBY_DISTNAME}${EXTRACT_SUFX}
PATCH_SITES= ${MASTER_SITE_RUBY}
PATCH_SITE_SUBDIR= snapshots
@@ -27,7 +26,7 @@ MAINTAINER= knu@FreeBSD.org
.if defined(WITH_ONIGURUMA)
ONIGURUMA_MASTER_SITES= ${MASTER_SITE_RUBY}
ONIGURUMA_MASTER_SITE_SUBDIR= contrib
-ONIGURUMA_DISTFILE= onigd20021210.tar.gz
+ONIGURUMA_DISTFILE= onigd20030109.tar.gz
PLIST_SUB+= ONIGURUMA=""
.else
PLIST_SUB+= ONIGURUMA="@comment "
@@ -99,15 +98,8 @@ OBSOLETED_MODULES= dl \
post-extract:
${RMDIR} ${WRKSRC}/doc/net
${MV} ${WRKSRC}/ext/dl/h2rb ${WRKSRC}/bin/
-.if defined(WITH_ONIGURUMA)
- ${TAR} -zxvf ${DISTDIR}/${DIST_SUBDIR}/${ONIGURUMA_DISTFILE} -C ${WRKDIR}
-.endif
post-patch:
-.if defined(WITH_ONIGURUMA)
- ${CP} -f ${WRKDIR}/oniguruma/*.[ch] ${WRKSRC}/
- cd ${WRKSRC}; ${PATCH} < ${WRKDIR}/oniguruma/re.c.172.patch
-.endif
${FIND} ${WRKSRC} -name '*.orig' -delete
.for d in Win32API
${RM} -rf ${WRKSRC}/ext/${d}
@@ -116,6 +108,11 @@ post-patch:
${MV} ${WRKSRC}/ext/${d} ${WRKDIR}/
.endfor
+pre-configure:
+.if defined(WITH_ONIGURUMA)
+ cd ${WRKDIR}/oniguruma; ./configure; ${MAKE} 18 RUBYDIR=${WRKSRC}
+.endif
+
post-install:
.if defined(STRIP) && ${STRIP} == -s
${STRIP_CMD} ${RUBY}
diff --git a/lang/ruby18/distinfo b/lang/ruby18/distinfo
index 5df437bd4211..dd1e5d43b2e3 100644
--- a/lang/ruby18/distinfo
+++ b/lang/ruby18/distinfo
@@ -1,3 +1,3 @@
MD5 (ruby/ruby-1.8.0-preview1.tar.gz) = 1c37ec680b91cbea7a343252e4bd1e8d
MD5 (ruby/ruby-1.8.0-preview1-errata.diff) = 7ae6289348c59ca5107064cc75edc64e
-MD5 (ruby/onigd20021210.tar.gz) = 941d1d963de7eb9455a1874449679950
+MD5 (ruby/onigd20030109.tar.gz) = b553a8fda41cdec52fed70002b2d3f26