freebsd-ports/ftp/curl/Makefile

39 lines
1022 B
Makefile
Raw Normal View History

# New ports collection makefile for: curl
1999-05-27 08:33:19 -04:00
# Version required: 5.9
# Date created: 12 December 1998
# Whom: Neil Blakey-Milner <nbm@rucus.ru.ac.za>
#
# $Id: Makefile,v 1.6 1999/05/27 12:33:09 kris Exp $
1999-05-27 08:33:19 -04:00
DISTNAME= curl-5.9
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://crydee.sai.msu.ru/zeus/unix/WWW/tools/mirror/
1999-05-27 08:33:19 -04:00
MAINTAINER= kris@FreeBSD.ORG
.if defined(USE_SSL)
BUILD_DEPENDS= ${PREFIX}/lib/libssl.a:${PORTSDIR}/security/openssl \
${PREFIX}/lib/libcrypto.a:${PORTSDIR}/security/openssl
.endif
.if defined(USE_SSL)
CONFIGURE_ENV+= CPPFLAGS='-I${PREFIX}/include -I${PREFIX}/include/openssl' \
LDFLAGS='-L${PREFIX}/lib'
.endif
GNU_CONFIGURE= yes
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>