Update to 0.0.2 alpha 0 and unbreak.

This commit is contained in:
Akinori MUSHA 2002-05-24 11:15:17 +00:00
parent 10e344b7a2
commit ddcf000c04
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59880
4 changed files with 23 additions and 6 deletions

View file

@ -6,12 +6,11 @@
#
PORTNAME= curl
PORTVERSION= 0.0.1
PORTREVISION= 2
PORTVERSION= 0.0.2.a0
CATEGORIES= ftp www ruby
MASTER_SITES= http://www.d1.dion.ne.jp/~matuyuki/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= rbCurl
DISTNAME= rbCurl-${PORTVERSION:S/.a/a/}
EXTRACT_SUFX= .tgz
DIST_SUBDIR= ruby
@ -22,9 +21,10 @@ LIB_DEPENDS= curl.2:${PORTSDIR}/ftp/curl
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
WRKSRC= ${WRKDIR}/${DISTNAME:C/a.*//}
INSTALL_TARGET= site-install
DOCS_EN= DONE README
DOCS_EN= README TODO
EXAMPLES_EN= example.rb
post-install:

View file

@ -1 +1 @@
MD5 (ruby/rbCurl.tgz) = a0b1e9b620f1689326e6493abad46f6a
MD5 (ruby/rbCurl-0.0.2a0.tgz) = 8c7ba38d0a5e8c7a8db9c2f18a6ba45f

View file

@ -0,0 +1,17 @@
--- init.c.orig Thu May 16 02:07:22 2002
+++ init.c Fri May 24 18:12:22 2002
@@ -380,10 +380,10 @@
#include "auto_defs.inc"
/***************************************************************/
- rb_define_const(cCurl, "TIMECOND_NONE", INT2FIX(TIMECOND_NONE));
- rb_define_const(cCurl, "TIMECOND_IFMODSINCE", INT2FIX(TIMECOND_IFMODSINCE));
- rb_define_const(cCurl, "TIMECOND_IFUNMODSINCE", INT2FIX(TIMECOND_IFUNMODSINCE));
- rb_define_const(cCurl, "TIMECOND_LASTMOD", INT2FIX(TIMECOND_LASTMOD));
+ rb_define_const(cCurl, "TIMECOND_NONE", INT2FIX(CURL_TIMECOND_NONE));
+ rb_define_const(cCurl, "TIMECOND_IFMODSINCE", INT2FIX(CURL_TIMECOND_IFMODSINCE));
+ rb_define_const(cCurl, "TIMECOND_IFUNMODSINCE", INT2FIX(CURL_TIMECOND_IFUNMODSINCE));
+ rb_define_const(cCurl, "TIMECOND_LASTMOD", INT2FIX(CURL_TIMECOND_LASTMOD));
rb_define_const(cCurl, "HTTP_VERSION_NONE", INT2FIX(CURL_HTTP_VERSION_NONE));
rb_define_const(cCurl, "HTTP_VERSION_1_0", INT2FIX(CURL_HTTP_VERSION_1_0));

View file

@ -1,6 +1,6 @@
%%RUBY_SITEARCHLIBDIR%%/curl.so
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/curl/example.rb
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/curl
%%PORTDOCS%%%%RUBY_DOCDIR%%/curl/DONE
%%PORTDOCS%%%%RUBY_DOCDIR%%/curl/README
%%PORTDOCS%%%%RUBY_DOCDIR%%/curl/TODO
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/curl