2003-07-30 12:29:02 +02:00
|
|
|
# $NetBSD: Makefile,v 1.30 2003/07/30 10:29:02 wiz Exp $
|
2001-02-05 15:32:21 +01:00
|
|
|
|
2003-07-30 12:29:02 +02:00
|
|
|
DISTNAME= curl-7.10.6
|
2001-02-05 15:32:21 +01:00
|
|
|
CATEGORIES= www
|
2002-01-14 01:31:53 +01:00
|
|
|
MASTER_SITES= http://curl.haxx.se/download/ \
|
|
|
|
ftp://ftp.sunet.se/pub/www/utilities/curl/ \
|
|
|
|
ftp://ftp.rge.com/pub/networking/curl/
|
2001-02-05 15:32:21 +01:00
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2001-02-05 15:32:21 +01:00
|
|
|
HOMEPAGE= http://curl.haxx.se/
|
2003-07-22 06:14:17 +02:00
|
|
|
COMMENT= Client that groks URLs
|
2001-02-05 15:32:21 +01:00
|
|
|
|
2002-02-19 06:48:07 +01:00
|
|
|
# list it into IPv6-ready packages
|
|
|
|
BUILD_DEFS+= USE_INET6
|
|
|
|
|
2002-08-25 23:50:52 +02:00
|
|
|
USE_BUILDLINK2= yes
|
2001-06-29 05:48:41 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
2002-03-15 13:05:09 +01:00
|
|
|
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
|
2002-08-25 23:50:52 +02:00
|
|
|
CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_PREFIX.openssl}
|
2002-10-20 22:10:06 +02:00
|
|
|
CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib}
|
2001-12-23 20:33:18 +01:00
|
|
|
|
2002-03-15 13:05:09 +01:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/curl
|
2002-10-20 22:10:06 +02:00
|
|
|
for _f in MANUAL TheArtOfHttpScripting FAQ \
|
|
|
|
libcurl-the-guide; do \
|
2002-03-15 13:05:09 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/$${_f} \
|
|
|
|
${PREFIX}/share/doc/curl/${_f}; \
|
|
|
|
done
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/curl
|
2002-10-20 22:10:06 +02:00
|
|
|
for _f in ${WRKSRC}/docs/examples/*.c \
|
|
|
|
${WRKSRC}/docs/examples/README; do \
|
2002-03-15 13:05:09 +01:00
|
|
|
${INSTALL_DATA} $${_f} ${PREFIX}/share/examples/curl; \
|
|
|
|
done
|
2002-10-20 04:19:42 +02:00
|
|
|
|
2002-10-20 22:10:06 +02:00
|
|
|
.include "../../devel/zlib/buildlink2.mk"
|
2002-08-25 23:50:52 +02:00
|
|
|
.include "../../security/openssl/buildlink2.mk"
|
2001-02-05 15:32:21 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|