1999-02-09 15:31:34 +00:00
|
|
|
# New ports collection makefile for: curl
|
2000-02-06 22:16:50 +00:00
|
|
|
# Version required: 6.3
|
1999-02-09 15:31:34 +00:00
|
|
|
# Date created: 12 December 1998
|
|
|
|
# Whom: Neil Blakey-Milner <nbm@rucus.ru.ac.za>
|
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1999-02-09 15:31:34 +00:00
|
|
|
|
2000-02-06 22:16:50 +00:00
|
|
|
DISTNAME= curl-6.3
|
1999-08-02 10:44:03 +00:00
|
|
|
CATEGORIES= ftp www
|
1999-02-09 15:31:34 +00:00
|
|
|
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://crydee.sai.msu.ru/zeus/unix/WWW/tools/mirror/
|
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= kris@FreeBSD.org
|
1999-02-09 15:31:34 +00:00
|
|
|
|
|
|
|
.if defined(USE_SSL)
|
2000-02-06 22:16:50 +00:00
|
|
|
USE_OPENSSL= RSA
|
1999-02-09 15:31:34 +00:00
|
|
|
.endif
|
2000-02-06 22:16:50 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
1999-02-09 15:31:34 +00:00
|
|
|
|
2000-02-06 22:16:50 +00:00
|
|
|
.if defined(USE_OPENSSL)
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS='-I${OPENSSLINC} -I${OPENSSLINC}/openssl' \
|
|
|
|
LDFLAGS='-L${OPENSSLLIB}'
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(OPENSSL_RSAREF)
|
|
|
|
CONFIGURE_ENV+= LIBS="-L${OPENSSLLIB} -lcrypto -lRSAglue -L${LOCALBASE}/lib -lrsaref"
|
1999-02-09 15:31:34 +00:00
|
|
|
.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
|
|
|
|
|
2000-02-06 22:16:50 +00:00
|
|
|
.include <bsd.port.post.mk>
|