aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/wgetpro/Makefile
blob: 91984e282c280ac1c70406016eee71f63ffa3f38 (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
# ex:ts=8
# Ports collection makefile for:  wgetpro
# Date created:         May 18, 2004
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   wgetpro
PORTVERSION=    0.1.3
PORTREVISION=   3
CATEGORIES= ftp
MASTER_SITES=   SF
EXTRACT_SUFX=   .tgz

MAINTAINER= stas@FreeBSD.org
COMMENT=    Wget with "PRO" features

FORBIDDEN=  Vulnerable since 2004-12-14, http://portaudit.freebsd.org/06f142ff-4df3-11d9-a9e7-0001020eed82.html
EXPIRATION_DATE=    2011-10-14

RESTRICTED= "may implement United States Patent 6,041,345"
USE_OPENSSL=    yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes

.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=    --disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT=    yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
PLIST_SUB+= NLS=""
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|^\(PACKAGE=\).*|\1wpro|' ${WRKSRC}/configure

.include <bsd.port.mk>