diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2003-01-11 08:46:30 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2003-01-11 08:46:30 +0000 |
commit | 1423ddf3358c4ca72c08907db19240a432116e12 (patch) | |
tree | c77204dabf9953940d9d5ef96348b4b60a780cf2 /lang/ruby | |
parent | d47134d7606eeabd50aca791aaecf6aa0621a925 (diff) | |
download | ports-1423ddf3358c4ca72c08907db19240a432116e12.tar.gz ports-1423ddf3358c4ca72c08907db19240a432116e12.zip |
Notes
Diffstat (limited to 'lang/ruby')
-rw-r--r-- | lang/ruby/Makefile | 17 | ||||
-rw-r--r-- | lang/ruby/distinfo | 2 |
2 files changed, 7 insertions, 12 deletions
diff --git a/lang/ruby/Makefile b/lang/ruby/Makefile index 6781d8c532d4..4a84ba434bd7 100644 --- a/lang/ruby/Makefile +++ b/lang/ruby/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/ruby/distinfo b/lang/ruby/distinfo index 434239d5d5a5..8953150022e3 100644 --- a/lang/ruby/distinfo +++ b/lang/ruby/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 |