aboutsummaryrefslogtreecommitdiff
path: root/devel/oniguruma
diff options
context:
space:
mode:
Diffstat (limited to 'devel/oniguruma')
-rw-r--r--devel/oniguruma/Makefile10
-rw-r--r--devel/oniguruma/distinfo3
2 files changed, 11 insertions, 2 deletions
diff --git a/devel/oniguruma/Makefile b/devel/oniguruma/Makefile
index 656183166cd8..82104f1a2dfc 100644
--- a/devel/oniguruma/Makefile
+++ b/devel/oniguruma/Makefile
@@ -8,9 +8,12 @@
PORTNAME= oniguruma
PORTVERSION= 2.5.8
CATEGORIES= devel textproc
-MASTER_SITES= http://www.geocities.jp/kosako3/oniguruma/archive/
-DISTNAME= onigd${PORTVERSION:S/./_/g}
+MASTER_SITES= http://www.geocities.jp/kosako3/oniguruma/archive/:onig \
+ ftp://ftp.SpringDaemons.com/dustheap/:ruby186
+DISTFILES= onigd${PORTVERSION:S/./_/g}${EXTRACT_SUFX}:onig \
+ ruby186.patch:ruby186
DIST_SUBDIR= ruby
+EXTRACT_ONLY= onigd${PORTVERSION:S/./_/g}${EXTRACT_SUFX}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= A BSDL Regular Expressions library compatible with POSIX/GNU/Perl
@@ -24,6 +27,9 @@ USE_GNOME= gnometarget
GNU_CONFIGURE= yes
DOCS= HISTORY README doc/*
+post-patch:
+ ${CP} ${DISTDIR}/${DIST_SUBDIR}/ruby186.patch ${WRKSRC}/
+
post-configure:
${SED} -e 's|%%PREFIX%%|${PREFIX}|' \
${FILESDIR}/onig-config > ${WRKSRC}/onig-config
diff --git a/devel/oniguruma/distinfo b/devel/oniguruma/distinfo
index c38c15a9eec2..19287c0a492d 100644
--- a/devel/oniguruma/distinfo
+++ b/devel/oniguruma/distinfo
@@ -1,3 +1,6 @@
MD5 (ruby/onigd2_5_8.tar.gz) = 82cd47ded85f854149ae620a9fa728e5
SHA256 (ruby/onigd2_5_8.tar.gz) = 11aa092d7cb1c21b7fb60980e9c5a9b931e670c29553ea9444927a8a468e526b
SIZE (ruby/onigd2_5_8.tar.gz) = 218187
+MD5 (ruby/ruby186.patch) = 07b39a49b4339db6ce6d57822ccff901
+SHA256 (ruby/ruby186.patch) = 11b4fc0138edb43425649c10cde5e3c712c8d65c7b9ab52daca09d47a020f803
+SIZE (ruby/ruby186.patch) = 8434