2004-07-28 03:02:08 +02:00
|
|
|
# $NetBSD: Makefile,v 1.42 2004/07/28 01:02:08 minskim Exp $
|
2001-02-05 15:32:21 +01:00
|
|
|
|
2004-06-02 14:07:48 +02:00
|
|
|
DISTNAME= curl-7.12.0
|
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/
|
2004-06-02 14:07:48 +02:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
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
|
|
|
|
2004-07-28 03:02:08 +02:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2002-02-19 06:48:07 +01:00
|
|
|
# list it into IPv6-ready packages
|
|
|
|
BUILD_DEFS+= USE_INET6
|
|
|
|
|
2004-02-19 02:24:01 +01:00
|
|
|
USE_BUILDLINK3= yes
|
2001-06-29 05:48:41 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
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
|
|
|
|
2004-03-20 03:05:48 +01:00
|
|
|
# Work around an ICE on sparc64 with gcc2
|
|
|
|
CONFIGURE_ENV+= F77=${FALSE}
|
|
|
|
|
2003-11-24 21:44:07 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if empty(USE_INET6:M[yY][eE][sS])
|
|
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
|
|
|
.endif
|
|
|
|
|
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
|
|
|
|
2004-02-19 02:24:01 +01:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
2001-02-05 15:32:21 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|