summaryrefslogtreecommitdiff
path: root/www/curl/Makefile
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/Makefile
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/Makefile')
-rw-r--r--www/curl/Makefile19
1 files changed, 16 insertions, 3 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"