blob: 91bc7969f4ac14c4c2ac1dda99ce748d400dfca1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# $NetBSD: Makefile,v 1.34 2004/01/23 22:52:28 recht Exp $
DISTNAME= curl-7.11.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/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://curl.haxx.se/
COMMENT= Client that groks URLs
# list it into IPv6-ready packages
BUILD_DEFS+= USE_INET6
USE_BUILDLINK2= yes
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_PREFIX.openssl}
CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib}
.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/buildlink2.mk"
.include "../../security/openssl/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|