1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/ftp/curl/Makefile

47 lines
1.1 KiB
Makefile
Raw Normal View History

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