49 lines
1.3 KiB
Makefile
49 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.42 2004/07/28 01:02:08 minskim Exp $
|
|
|
|
DISTNAME= curl-7.12.0
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://curl.haxx.se/download/ \
|
|
ftp://ftp.sunet.se/pub/www/utilities/curl/ \
|
|
ftp://ftp.rge.com/pub/networking/curl/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://curl.haxx.se/
|
|
COMMENT= Client that groks URLs
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
# list it into IPv6-ready packages
|
|
BUILD_DEFS+= USE_INET6
|
|
|
|
USE_BUILDLINK3= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_PREFIX.openssl}
|
|
CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib}
|
|
|
|
# Work around an ICE on sparc64 with gcc2
|
|
CONFIGURE_ENV+= F77=${FALSE}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if empty(USE_INET6:M[yY][eE][sS])
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
|
.endif
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/curl
|
|
for _f in MANUAL TheArtOfHttpScripting FAQ \
|
|
libcurl-the-guide; 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 \
|
|
${WRKSRC}/docs/examples/README; do \
|
|
${INSTALL_DATA} $${_f} ${PREFIX}/share/examples/curl; \
|
|
done
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|