import WWW::Curl-20040519, perl binding for curl

This commit is contained in:
jolan 2004-05-21 17:21:54 +00:00
parent e13194dad7
commit 84102d5fe9
5 changed files with 89 additions and 0 deletions

33
www/p5-WWW-Curl/Makefile Normal file
View File

@ -0,0 +1,33 @@
# $OpenBSD: Makefile,v 1.1.1.1 2004/05/21 17:21:54 jolan Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
COMMENT= "perl binding for curl"
DISTNAME= p5-WWW-Curl-20040519
CATEGORIES= www net
MASTER_SITES= http://mirrors.protection.cx/~jolan/
MAINTAINER= Jolan Luff <jolan@openbsd.org>
HOMEPAGE= http://curl.haxx.se/libcurl/perl/
# MIT
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
LIB_DEPENDS= curl.2.2::net/curl
CONFIGURE_STYLE=perl
MAKE_ENV+= CURL_TEST_URL="http://www.openbsd.org/"
post-configure:
@perl -pi -e s,'t/\*.t','t/new/\*.t',g ${WRKSRC}/Makefile
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-WWW-Curl
${INSTALL_SCRIPT} ${WRKSRC}/examples/* \
${PREFIX}/share/examples/p5-WWW-Curl
.include <bsd.port.mk>

3
www/p5-WWW-Curl/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (p5-WWW-Curl-20040519.tar.gz) = 49883d9ba82025e61b4da5e13d2d80ce
RMD160 (p5-WWW-Curl-20040519.tar.gz) = 01b46fd74729b211243f098c3c154a5adfb7d9dc
SHA1 (p5-WWW-Curl-20040519.tar.gz) = 9b6f30801f0ad9683fea3957c7d829e8f536299f

View File

@ -0,0 +1,22 @@
$OpenBSD: patch-Curl_xs,v 1.1.1.1 2004/05/21 17:21:54 jolan Exp $
--- Curl.xs.orig 2004-04-20 08:24:18.000000000 -0500
+++ Curl.xs 2004-05-19 10:57:20.000000000 -0500
@@ -30,6 +30,10 @@
#define header_callback_func writeheader_callback_func
#endif
+#ifdef __CURL_MULTI_H
+int remaining;
+#endif
+
typedef enum {
CALLBACK_WRITE = 0,
CALLBACK_READ,
@@ -927,7 +931,6 @@ curl_multi_perform(self)
WWW::Curl::Multi self
CODE:
#ifdef __CURL_MULTI_H
- int remaining;
while(CURLM_CALL_MULTI_PERFORM ==
curl_multi_perform(self->curlm, &remaining));
while(remaining) {

View File

@ -0,0 +1 @@
WWW::Curl is a perl binding for curl.

30
www/p5-WWW-Curl/pkg/PLIST Normal file
View File

@ -0,0 +1,30 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/05/21 17:21:54 jolan Exp $
@comment ${P5ARCH}/Makefile.am
${P5ARCH}/WWW/Curl.pm
${P5ARCH}/WWW/Curl/Easy.pm
${P5ARCH}/WWW/Curl/Form.pm
@comment ${P5ARCH}/WWW/Curl/Makefile.am
${P5ARCH}/WWW/Curl/Multi.pm
${P5ARCH}/WWW/Curl/easy.pm
@comment ${P5ARCH}/WWW/Makefile.am
@comment ${P5ARCH}/auto/WWW/Curl/.packlist
${P5ARCH}/auto/WWW/Curl/Curl.bs
${P5ARCH}/auto/WWW/Curl/Curl.so
${P5ARCH}/auto/WWW/Curl/Easy/autosplit.ix
man/man3p/WWW::Curl.3p
man/man3p/WWW::Curl::Easy.3p
man/man3p/WWW::Curl::Multi.3p
man/man3p/WWW::Curl::easy.3p
share/examples/p5-WWW-Curl/basicfirst.pl
share/examples/p5-WWW-Curl/easy.pl
@comment share/examples/p5-WWW-Curl/multi-threaded.pl
share/examples/p5-WWW-Curl/multi.pl
@dirrm share/examples/p5-WWW-Curl
@dirrm man/man3p
@dirrm ${P5ARCH}/auto/WWW/Curl/Easy
@dirrm ${P5ARCH}/auto/WWW/Curl
@dirrm ${P5ARCH}/auto/WWW
@dirrm ${P5ARCH}/auto
@dirrm ${P5ARCH}/WWW/Curl
@dirrm ${P5ARCH}/WWW
@dirrm ${P5ARCH}