aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/wget/Makefile
blob: c69779cba9b602713489568a52abfd06ee1dd543 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Ports collection makefile for:  wget
# Date created:           31 December 1996
# Whom:               Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   wget
PORTVERSION=    1.8.2
PORTREVISION=   1
CATEGORIES= ftp www
MASTER_SITES=   ${MASTER_SITE_GNU} \
        ftp://ftp.dl.ac.uk/ccp14/ftp-mirror/wget/pub/unix/util/wget/ \
        ftp://ftp.informatik.hu-berlin.de/gnu/wget/ \
        ftp://ftp.uni-mainz.de/pub/gnu/wget/ \
        ftp://ftp.max.irk.ru/unix/net/www/wget/ \
        http://www3.big.or.jp/~sian/linux/products/
MASTER_SITE_SUBDIR= wget

MAINTAINER= sf@FreeBSD.org

LIB_DEPENDS=    intl.2:${PORTSDIR}/devel/gettext
BUILD_DEPENDS=  perl:${PORTSDIR}/lang/perl5

USE_GMAKE=  yes
GNU_CONFIGURE=  yes

.if defined(WITHOUT_SSL)
CONFIGURE_ARGS= --with-ssl=no
.else
USE_OPENSSL=    yes
.endif
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
        LIBS=-L${LOCALBASE}/lib

MAN1=       wget.1

post-patch:
    ${RM} -f ${WRKSRC}/doc/wget.info*
# we don't need to run autoconf.
    ${TOUCH} ${WRKSRC}/configure

post-install:
    install-info ${PREFIX}/info/wget.info ${PREFIX}/info/dir

.include <bsd.port.mk>