1999-02-09 10:31:34 -05:00
|
|
|
# New ports collection makefile for: curl
|
|
|
|
# Date created: 12 December 1998
|
|
|
|
# Whom: Neil Blakey-Milner <nbm@rucus.ru.ac.za>
|
|
|
|
#
|
1999-08-25 01:57:29 -04:00
|
|
|
# $FreeBSD$
|
2000-04-12 01:31:29 -04:00
|
|
|
#
|
1999-02-09 10:31:34 -05:00
|
|
|
|
2000-04-12 01:31:29 -04:00
|
|
|
PORTNAME= curl
|
|
|
|
PORTVERSION= 6.5.2
|
1999-08-02 06:44:03 -04:00
|
|
|
CATEGORIES= ftp www
|
2000-03-26 00:08:26 -05:00
|
|
|
MASTER_SITES= http://curl.haxx.nu/stuff/ \
|
1999-02-09 10:31:34 -05:00
|
|
|
ftp://ftp.rhrz.uni-bonn.de/pub-koeln/net/inet/ \
|
|
|
|
ftp://ftp.win.or.jp/pub/network/www/misc/ \
|
2000-03-26 00:08:26 -05:00
|
|
|
ftp://ftp.sunet.se/pub/www/utilities/curl/ \
|
|
|
|
ftp://ftp.fu-berlin.de/pub/unix/network/curl/ \
|
1999-02-09 10:31:34 -05:00
|
|
|
ftp://crydee.sai.msu.ru/zeus/unix/WWW/tools/mirror/
|
|
|
|
|
1999-08-31 02:53:31 -04:00
|
|
|
MAINTAINER= kris@FreeBSD.org
|
1999-02-09 10:31:34 -05:00
|
|
|
|
2000-06-02 16:39:13 -04:00
|
|
|
MAN1= curl.1
|
|
|
|
|
2000-04-16 20:18:05 -04:00
|
|
|
.if defined(WITH_SSL)
|
2000-04-22 05:57:37 -04:00
|
|
|
USE_OPENSSL= RSA
|
1999-02-09 10:31:34 -05:00
|
|
|
.endif
|
2000-04-22 05:57:37 -04:00
|
|
|
|
2000-02-06 17:16:50 -05:00
|
|
|
.include <bsd.port.pre.mk>
|
1999-02-09 10:31:34 -05:00
|
|
|
|
2000-02-06 17:16:50 -05:00
|
|
|
.if defined(USE_OPENSSL)
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS='-I${OPENSSLINC} -I${OPENSSLINC}/openssl' \
|
|
|
|
LDFLAGS='-L${OPENSSLLIB}'
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(OPENSSL_RSAREF)
|
2000-04-22 05:57:37 -04:00
|
|
|
CONFIGURE_ENV+= LIBS="-L${OPENSSLLIB} -lcrypto -lRSAglue -L${LOCALBASE}/lib -lrsaref"
|
1999-02-09 10:31:34 -05:00
|
|
|
.endif
|
|
|
|
|
1999-02-11 06:27:30 -05:00
|
|
|
GNU_CONFIGURE= yes
|
1999-02-09 10:31:34 -05: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
|
|
|
|
|
2000-02-06 17:16:50 -05:00
|
|
|
.include <bsd.port.post.mk>
|