1999-02-09 15:31:34 +00:00
|
|
|
# New ports collection makefile for: curl
|
|
|
|
# Version required: 5.5
|
|
|
|
# Date created: 12 December 1998
|
|
|
|
# Whom: Neil Blakey-Milner <nbm@rucus.ru.ac.za>
|
|
|
|
#
|
1999-03-30 10:13:26 +00:00
|
|
|
# $Id: Makefile,v 1.2 1999/02/11 11:27:30 obrien Exp $
|
1999-02-09 15:31:34 +00:00
|
|
|
|
1999-03-30 10:13:26 +00:00
|
|
|
DISTNAME= curl-5.5
|
1999-02-09 15:31:34 +00:00
|
|
|
CATEGORIES= net www
|
|
|
|
MASTER_SITES= http://www.fts.frontec.se/~dast/stuff/ \
|
|
|
|
ftp://ftp.rhrz.uni-bonn.de/pub-koeln/net/inet/ \
|
|
|
|
ftp://ftp.win.or.jp/pub/network/www/misc/ \
|
|
|
|
ftp://ftp.all.de/pub2/unix/network/www/curl/ \
|
|
|
|
ftp://crydee.sai.msu.ru/zeus/unix/WWW/tools/mirror/
|
|
|
|
|
|
|
|
MAINTAINER= kkennawa@physics.adelaide.edu.au
|
|
|
|
|
|
|
|
.if defined(USE_SSL)
|
1999-03-30 10:13:26 +00:00
|
|
|
BUILD_DEPENDS= ${PREFIX}/lib/libssl.a:${PORTSDIR}/security/openssl \
|
|
|
|
${PREFIX}/lib/libcrypto.a:${PORTSDIR}/security/openssl
|
1999-02-09 15:31:34 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(USE_SSL)
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS='-I${PREFIX}/include' LDFLAGS='-L${PREFIX}/lib'
|
|
|
|
.endif
|
|
|
|
|
1999-02-11 11:27:30 +00:00
|
|
|
GNU_CONFIGURE= yes
|
1999-02-09 15:31:34 +00:00
|
|
|
MAKEFILES= Makefile src/Makefile
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
|
|
|
|
.for x in ${MAKEFILES}
|
|
|
|
@ ${MV} ${WRKSRC}/${x} ${WRKSRC}/${x}.pre_sed
|
|
|
|
@ ${SED} -e 's#@SHELL@#${SH}#' \
|
|
|
|
${WRKSRC}/${x}.pre_sed > ${WRKSRC}/${x}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|