openbsd-ports/net/curl/Makefile
brad b7e6bdb640 curl-config with cURL 7.10.3 does not output a header path with the
--cflags flag, revert this change for now.
2003-02-14 02:38:15 +00:00

47 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.39 2003/02/14 02:38:15 brad Exp $
COMMENT= "get files from FTP, Gopher, HTTP or HTTPS servers"
DISTNAME= curl-7.10.3
PKGNAME= ${DISTNAME}p1
CATEGORIES= net
MASTER_SITES= http://curl.haxx.se/download/ \
ftp://ftp.sunet.se/pub/www/utilities/curl/ \
ftp://cool.haxx.se/curl/ \
ftp://ftp.fu-berlin.de/pub/unix/network/curl/ \
http://curl.linuxworx.com.au/ \
http://www.cubic.ch/mirror/curl/ \
http://curl.webmeta.com/ \
ftp://gd.tuwien.ac.ut/utils/archivers/curl/
HOMEPAGE= http://curl.haxx.se/
MAINTAINER= Brad Smith <brad@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+=--enable-static \
--with-random="/dev/arandom"
FLAVORS= kerberos
FLAVOR?=
.if ${FLAVOR:L:Mkerberos}
CONFIGURE_ARGS+=--with-krb4-includes="/usr/include/kerberosIV" \
--disable-ipv6
.endif
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/curl
cd ${WRKSRC}; ${INSTALL_DATA} README ${PREFIX}/share/doc/curl
cd ${WRKSRC}; ${INSTALL_DATA} curl-mode.el ${PREFIX}/share/curl
.include <bsd.port.mk>