1999-02-09 10:31:34 -05:00
|
|
|
# New ports collection makefile for: curl
|
1999-05-27 08:33:19 -04:00
|
|
|
# Version required: 5.9
|
1999-02-09 10:31:34 -05:00
|
|
|
# Date created: 12 December 1998
|
|
|
|
# Whom: Neil Blakey-Milner <nbm@rucus.ru.ac.za>
|
|
|
|
#
|
1999-08-02 06:44:03 -04:00
|
|
|
# $Id: Makefile,v 1.7 1999/06/02 07:22:49 dirk Exp $
|
1999-02-09 10:31:34 -05:00
|
|
|
|
1999-05-27 08:33:19 -04:00
|
|
|
DISTNAME= curl-5.9
|
1999-08-02 06:44:03 -04:00
|
|
|
CATEGORIES= ftp www
|
1999-02-09 10:31:34 -05: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-05-27 08:33:19 -04:00
|
|
|
MAINTAINER= kris@FreeBSD.ORG
|
1999-02-09 10:31:34 -05:00
|
|
|
|
|
|
|
.if defined(USE_SSL)
|
1999-03-30 05:13:26 -05:00
|
|
|
BUILD_DEPENDS= ${PREFIX}/lib/libssl.a:${PORTSDIR}/security/openssl \
|
|
|
|
${PREFIX}/lib/libcrypto.a:${PORTSDIR}/security/openssl
|
1999-02-09 10:31:34 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(USE_SSL)
|
1999-06-02 03:24:33 -04:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS='-I${PREFIX}/include -I${PREFIX}/include/openssl' \
|
|
|
|
LDFLAGS='-L${PREFIX}/lib'
|
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
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|