diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-05-24 11:15:17 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-05-24 11:15:17 +0000 |
commit | ddcf000c04470e6228caf8d0b1ba71f9a07a9d1a (patch) | |
tree | 8a7c5165adb53fe78b4e74618b5220e5bf41a971 /ftp | |
parent | 10e344b7a245da1718968f36c5d4783e7b1a13a6 (diff) | |
download | ports-ddcf000c04470e6228caf8d0b1ba71f9a07a9d1a.tar.gz ports-ddcf000c04470e6228caf8d0b1ba71f9a07a9d1a.zip |
Notes
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/ruby-curl/Makefile | 8 | ||||
-rw-r--r-- | ftp/ruby-curl/distinfo | 2 | ||||
-rw-r--r-- | ftp/ruby-curl/files/patch-init.c | 17 | ||||
-rw-r--r-- | ftp/ruby-curl/pkg-plist | 2 |
4 files changed, 23 insertions, 6 deletions
diff --git a/ftp/ruby-curl/Makefile b/ftp/ruby-curl/Makefile index cacdaa8b6c02..70c68a51e0c7 100644 --- a/ftp/ruby-curl/Makefile +++ b/ftp/ruby-curl/Makefile @@ -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: diff --git a/ftp/ruby-curl/distinfo b/ftp/ruby-curl/distinfo index f55cc5b227ae..fa00041ebc27 100644 --- a/ftp/ruby-curl/distinfo +++ b/ftp/ruby-curl/distinfo @@ -1 +1 @@ -MD5 (ruby/rbCurl.tgz) = a0b1e9b620f1689326e6493abad46f6a +MD5 (ruby/rbCurl-0.0.2a0.tgz) = 8c7ba38d0a5e8c7a8db9c2f18a6ba45f diff --git a/ftp/ruby-curl/files/patch-init.c b/ftp/ruby-curl/files/patch-init.c new file mode 100644 index 000000000000..111399570f7e --- /dev/null +++ b/ftp/ruby-curl/files/patch-init.c @@ -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)); diff --git a/ftp/ruby-curl/pkg-plist b/ftp/ruby-curl/pkg-plist index 66f57d0ae6f1..f8937700d696 100644 --- a/ftp/ruby-curl/pkg-plist +++ b/ftp/ruby-curl/pkg-plist @@ -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 |