summaryrefslogblamecommitdiff
path: root/ftp/curl/Makefile
blob: 5db9b61e846f244e9a4a5f0084d15ef889f83d44 (plain) (tree)
1
2
3
4
5
6
7
8
                                            
                           


                                                               
                                                     
 
                        



                                                                




                                                                   

                                                                      





                                                                        
                   










                                                     
# New ports collection makefile for:	curl
# Version required:     5.8
# Date created:		12 December 1998
# Whom:			Neil Blakey-Milner <nbm@rucus.ru.ac.za>
#
# $Id: Makefile,v 1.4 1999/04/16 02:24:14 mharo Exp $

DISTNAME=	curl-5.8
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/

MAINTAINER=	kkennawa@physics.adelaide.edu.au

.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' 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>