2012-01-26 20:09:08 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.81 2012/01/26 20:09:08 naddy Exp $
|
1999-03-27 07:18:57 +00:00
|
|
|
|
2007-09-15 22:36:51 +00:00
|
|
|
COMMENT= get files from FTP, Gopher, HTTP or HTTPS servers
|
2001-03-30 18:40:59 +00:00
|
|
|
|
2012-01-26 20:09:08 +00:00
|
|
|
DISTNAME= curl-7.24.0
|
|
|
|
SHARED_LIBS= curl 22.0 # .6.0
|
1999-03-27 07:18:57 +00:00
|
|
|
CATEGORIES= net
|
2000-09-06 20:50:13 +00:00
|
|
|
MASTER_SITES= http://curl.haxx.se/download/ \
|
2010-09-19 16:30:26 +00:00
|
|
|
ftp://ftp.sunet.se/pub/www/utilities/curl/
|
1999-03-27 07:18:57 +00:00
|
|
|
|
2000-07-22 20:49:51 +00:00
|
|
|
HOMEPAGE= http://curl.haxx.se/
|
2000-03-14 22:38:19 +00:00
|
|
|
|
2005-05-26 23:13:28 +00:00
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
1999-03-27 07:18:57 +00:00
|
|
|
|
2002-11-24 03:40:08 +00:00
|
|
|
# MIT
|
2000-03-14 22:38:19 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2007-11-14 19:38:58 +00:00
|
|
|
MODULES= devel/gettext
|
2010-11-19 22:31:32 +00:00
|
|
|
LIB_DEPENDS= devel/libidn
|
2010-09-19 16:30:26 +00:00
|
|
|
WANTLIB= c crypto idn ssl z
|
2005-10-16 15:31:39 +00:00
|
|
|
|
|
|
|
USE_LIBTOOL= Yes
|
2005-05-26 23:13:28 +00:00
|
|
|
CONFIGURE_STYLE=gnu
|
2005-10-16 15:31:39 +00:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
2008-05-13 17:56:29 +00:00
|
|
|
--with-ca-bundle=/etc/ssl/cert.pem \
|
2005-10-16 15:31:39 +00:00
|
|
|
--with-random="/dev/arandom" \
|
2007-05-13 17:08:25 +00:00
|
|
|
--with-libidn=${LOCALBASE} \
|
|
|
|
--without-libssh2
|
1999-03-27 07:18:57 +00:00
|
|
|
|
2011-12-10 17:28:13 +00:00
|
|
|
# speed up some time-consuming configure tests
|
|
|
|
CONFIGURE_ENV+=curl_cv_func_select_args="int,fd_set *,struct timeval *,int"
|
|
|
|
CONFIGURE_ENV+=curl_cv_func_recv_args="int,void *,size_t,int,ssize_t"
|
|
|
|
CONFIGURE_ENV+=curl_cv_func_recvfrom_args="int,void *,size_t,int,struct sockaddr *,socklen_t *,ssize_t"
|
|
|
|
CONFIGURE_ENV+=curl_cv_func_send_args="int,const void *,size_t,int,ssize_t"
|
|
|
|
|
1999-03-27 07:18:57 +00:00
|
|
|
post-install:
|
2003-05-27 14:35:12 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp
|
2003-06-01 21:43:49 +00:00
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} curl-style.el \
|
2003-05-27 14:35:12 +00:00
|
|
|
${PREFIX}/share/emacs/site-lisp
|
1999-03-27 07:18:57 +00:00
|
|
|
|
2010-09-19 16:30:26 +00:00
|
|
|
# Note:
|
|
|
|
# use ulimit -p 256 for regress
|
|
|
|
|
1999-03-27 07:18:57 +00:00
|
|
|
.include <bsd.port.mk>
|