Annotation of pkgsrc/www/curl/Makefile, Revision 1.160
1.160 ! tron 1: # $NetBSD: Makefile,v 1.159 2016/02/08 17:35:31 adam Exp $
1.1 itojun 2:
1.159 adam 3: DISTNAME= curl-7.47.1
1.1 itojun 4: CATEGORIES= www
1.160 ! tron 5: MASTER_SITES= https://curl.haxx.se/download/ \
1.77 wiz 6: ftp://ftp.sunet.se/pub/www/utilities/curl/
1.41 adam 7: EXTRACT_SUFX= .tar.bz2
1.1 itojun 8:
1.102 wiz 9: MAINTAINER= pkgsrc-users@NetBSD.org
1.160 ! tron 10: HOMEPAGE= https://curl.haxx.se/
1.29 martti 11: COMMENT= Client that groks URLs
1.90 wiz 12: # not completely, but near enough
13: LICENSE= mit
1.13 itojun 14:
15: # list it into IPv6-ready packages
1.74 jlam 16: BUILD_DEFS+= IPV6_READY
1.1 itojun 17:
1.158 wiz 18: USE_TOOLS+= nroff perl
1.56 adam 19: USE_LIBTOOL= yes
1.4 jlam 20: GNU_CONFIGURE= yes
1.20 jlam 21: CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_PREFIX.openssl}
1.92 wiz 22: CONFIGURE_ARGS+= --with-ca-path=${SSLCERTS}
1.22 seb 23: CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib}
1.97 adam 24: PKGCONFIG_OVERRIDE= libcurl.pc.in
1.32 erh 25:
1.132 adam 26: INSTALLATION_DIRS= share/doc/curl
1.100 wiz 27:
1.67 rillig 28: .include "../../mk/bsd.prefs.mk"
29:
30: .if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
1.46 wiz 31: TEST_TARGET= check
1.67 rillig 32: USE_TOOLS+= perl
33: .endif
1.46 wiz 34:
1.85 minskim 35: .if ${_USE_DESTDIR} == "no"
1.81 xtraeme 36: PRIVILEGED_STAGES+= clean
37: .endif
38:
1.66 wiz 39: .include "options.mk"
1.55 jmmv 40:
1.17 seb 41: post-install:
1.132 adam 42: .for f in MANUAL TheArtOfHttpScripting FAQ
43: ${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DESTDIR}${PREFIX}/share/doc/curl/
44: .endfor
1.21 shell 45:
1.36 wiz 46: .include "../../devel/zlib/buildlink3.mk"
47: .include "../../security/openssl/buildlink3.mk"
1.1 itojun 48: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>