diff options
author | knu <knu@FreeBSD.org> | 2003-01-11 16:46:30 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2003-01-11 16:46:30 +0800 |
commit | c3f4ac3152428640333e9370782272f048811516 (patch) | |
tree | 3925169572024a0cad0da7cec49fed80c3fcd2a4 /lang/ruby16 | |
parent | 2c60aec7e7fb054399d0230c0afaf91e0d6d5c15 (diff) | |
download | freebsd-ports-gnome-c3f4ac3152428640333e9370782272f048811516.tar.gz freebsd-ports-gnome-c3f4ac3152428640333e9370782272f048811516.tar.zst freebsd-ports-gnome-c3f4ac3152428640333e9370782272f048811516.zip |
Update Oni Guruma (alternative BSDL regexp engine) to 20030109.
Diffstat (limited to 'lang/ruby16')
-rw-r--r-- | lang/ruby16/Makefile | 17 | ||||
-rw-r--r-- | lang/ruby16/distinfo | 2 |
2 files changed, 7 insertions, 12 deletions
diff --git a/lang/ruby16/Makefile b/lang/ruby16/Makefile index 6781d8c532d4..4a84ba434bd7 100644 --- a/lang/ruby16/Makefile +++ b/lang/ruby16/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 " @@ -85,16 +84,7 @@ OBSOLETED_MODULES= sha1 \ urb \ uri -post-extract: -.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.166.patch -.endif ${FIND} ${WRKSRC} -name '*.orig' -delete .for d in Win32API ${RM} -rf ${WRKSRC}/ext/${d} @@ -103,6 +93,11 @@ post-patch: ${MV} ${WRKSRC}/ext/${d} ${WRKDIR}/ .endfor +pre-configure: +.if defined(WITH_ONIGURUMA) + cd ${WRKDIR}/oniguruma; ./configure; ${MAKE} 16 RUBYDIR=${WRKSRC} +.endif + post-install: .if defined(STRIP) && ${STRIP} == -s ${STRIP_CMD} ${RUBY} diff --git a/lang/ruby16/distinfo b/lang/ruby16/distinfo index 434239d5d5a5..8953150022e3 100644 --- a/lang/ruby16/distinfo +++ b/lang/ruby16/distinfo @@ -1,2 +1,2 @@ MD5 (ruby/ruby-1.6.8.tar.gz) = bf48d49dbd94b5c0eda5f75b3bfbac16 -MD5 (ruby/onigd20021210.tar.gz) = 941d1d963de7eb9455a1874449679950 +MD5 (ruby/onigd20030109.tar.gz) = b553a8fda41cdec52fed70002b2d3f26 |