summaryrefslogtreecommitdiff
path: root/www/curl
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-03-15 12:05:09 +0000
committerseb <seb@pkgsrc.org>2002-03-15 12:05:09 +0000
commit209bd45213cbefd3f6862a0445e6d55789f142aa (patch)
tree3a0bf49a7f5f4be454ef698d004c632eb4e18528 /www/curl
parentb0a44bf24329c34baabfa3e5e54b6ff9f3ac5a50 (diff)
downloadpkgsrc-209bd45213cbefd3f6862a0445e6d55789f142aa.tar.gz
Update to version 7.9.5nb1
LTCONFIG_OVERRIDE changed to LIBTOOL_OVERRIDE. GNU make no longer needed. Install some documentation in ${PREFIX}/share/doc/curl, and examples of libcurl usage in ${PREFIX}/share/examples/curl. XXX A buildlink.mk would be nice to have... Bump PKGREVISION for the PLIST additions.
Diffstat (limited to 'www/curl')
-rw-r--r--www/curl/Makefile19
-rw-r--r--www/curl/PLIST24
2 files changed, 38 insertions, 5 deletions
diff --git a/www/curl/Makefile b/www/curl/Makefile
index 7fd4cc392f7..4e4c3816e68 100644
--- a/www/curl/Makefile
+++ b/www/curl/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2002/03/15 08:20:43 itojun Exp $
+# $NetBSD: Makefile,v 1.17 2002/03/15 12:05:09 seb Exp $
DISTNAME= curl-7.9.5
+PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= http://curl.haxx.se/download/ \
ftp://ftp.sunet.se/pub/www/utilities/curl/ \
@@ -15,9 +16,8 @@ BUILD_DEFS+= USE_INET6
USE_BUILDLINK_ONLY= yes
GNU_CONFIGURE= yes
-USE_GMAKE= yes
USE_LIBTOOL= yes
-LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_DIR}
# This causes curl-config not to be regenerated during build-time as it was
@@ -25,5 +25,18 @@ CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_DIR}
#
AUTOMAKE_POST_PATTERNS+= curl-config
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/curl
+ for _f in MANUAL TheArtOfHttpScripting FAQ; do \
+ ${INSTALL_DATA} ${WRKSRC}/docs/$${_f} \
+ ${PREFIX}/share/doc/curl/${_f}; \
+ done
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/curl
+ for _f in ${WRKSRC}/docs/examples/*.c ; do \
+ ${INSTALL_DATA} $${_f} ${PREFIX}/share/examples/curl; \
+ done
+ ${SED} '/php/d' ${WRKSRC}/docs/examples/README > \
+ ${PREFIX}/share/examples/curl/README
+
.include "../../security/openssl/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/curl/PLIST b/www/curl/PLIST
index a08340028d0..111cd872304 100644
--- a/www/curl/PLIST
+++ b/www/curl/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 02:16:37 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2002/03/15 12:05:09 seb Exp $
bin/curl
bin/curl-config
include/curl/curl.h
@@ -11,8 +11,8 @@ lib/libcurl.la
lib/libcurl.so
lib/libcurl.so.2
lib/libcurl.so.2.2
-man/man1/curl.1
man/man1/curl-config.1
+man/man1/curl.1
man/man3/curl_easy_cleanup.3
man/man3/curl_easy_duphandle.3
man/man3/curl_easy_getinfo.3
@@ -35,4 +35,24 @@ man/man3/curl_strnequal.3
man/man3/curl_unescape.3
man/man3/curl_version.3
man/man3/libcurl.3
+share/doc/curl/FAQ
+share/doc/curl/MANUAL
+share/doc/curl/TheArtOfHttpScripting
+share/examples/curl/README
+share/examples/curl/curlgtk.c
+share/examples/curl/ftpget.c
+share/examples/curl/ftpgetresp.c
+share/examples/curl/ftpupload.c
+share/examples/curl/getinmemory.c
+share/examples/curl/http-post.c
+share/examples/curl/httpput.c
+share/examples/curl/multithread.c
+share/examples/curl/persistant.c
+share/examples/curl/postit2.c
+share/examples/curl/sepheaders.c
+share/examples/curl/simple.c
+share/examples/curl/simplessl.c
+share/examples/curl/win32sockets.c
+@dirrm share/examples/curl
+@dirrm share/doc/curl
@dirrm include/curl