aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/wget/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/wget/Makefile')
-rw-r--r--ftp/wget/Makefile17
1 files changed, 12 insertions, 5 deletions
diff --git a/ftp/wget/Makefile b/ftp/wget/Makefile
index 39f6f86958e..822dc2d5a7b 100644
--- a/ftp/wget/Makefile
+++ b/ftp/wget/Makefile
@@ -6,9 +6,8 @@
#
PORTNAME= wget
-PORTVERSION= 1.6
-PORTREVISION= 4
-CATEGORIES= ftp www ipv6
+PORTVERSION= 1.7
+CATEGORIES= ftp www #ipv6
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/ \
@@ -16,21 +15,29 @@ MASTER_SITES= ${MASTER_SITE_GNU} \
ftp://ftp.max.irk.ru/unix/net/www/wget/
MASTER_SITE_SUBDIR= wget
+.if defined(IPV6_IS_DISABLED_UNTIL_NEW_PATCH_COMES)
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
PATCHFILES= wget-16-v6-20010508b.diff.gz
PATCH_DIST_STRIP= -p1
+.endif
MAINTAINER= sf@FreeBSD.org
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
+.if !defined(WITHOUT_SSL)
+USE_OPENSSL= yes
+CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE}
+.endif
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
- LDFLAGS=-L${LOCALBASE}/lib
+ LIBS=-L${LOCALBASE}/lib
+
+MAN1= wget.1
pre-build:
- @${RM} -rf ${WRKSRC}/doc/wget.info*
+ @${RM} -f ${WRKSRC}/doc/wget.info*
post-install:
install-info ${PREFIX}/info/wget.info ${PREFIX}/info/dir