2000-02-13 04:25:05 +01:00
|
|
|
# Ports collection makefile for: wget
|
|
|
|
# Date created: 31 December 1996
|
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
1997-01-02 08:19:08 +01:00
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1997-01-02 08:19:08 +01:00
|
|
|
#
|
|
|
|
|
2003-10-16 21:08:44 +02:00
|
|
|
# NOTE: I would like to skip wget-1.9 and wait for stabilization.
|
|
|
|
# Please don't push me to update. Thank you.
|
|
|
|
|
2000-04-12 07:31:29 +02:00
|
|
|
PORTNAME= wget
|
2002-06-17 16:24:25 +02:00
|
|
|
PORTVERSION= 1.8.2
|
2003-10-25 02:34:11 +02:00
|
|
|
PORTREVISION= 5
|
2003-03-03 01:52:42 +01:00
|
|
|
CATEGORIES= ftp www ipv6
|
2002-07-28 11:51:15 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
1999-01-27 08:41:29 +01:00
|
|
|
MASTER_SITE_SUBDIR= wget
|
1997-01-02 08:19:08 +01:00
|
|
|
|
2003-12-07 05:48:34 +01:00
|
|
|
PATCH_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
PATCH_SITE_SUBDIR= sf
|
2003-10-25 02:34:11 +02:00
|
|
|
PATCHFILES= wget_${PORTVERSION}-12.diff.gz
|
2003-03-03 01:52:42 +01:00
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
2001-01-14 21:11:06 +01:00
|
|
|
MAINTAINER= sf@FreeBSD.org
|
2003-03-03 02:08:52 +01:00
|
|
|
COMMENT= Retrieve files from the Net via HTTP and FTP
|
1997-01-02 08:19:08 +01:00
|
|
|
|
2003-10-16 21:08:44 +02:00
|
|
|
.if !defined(WITHOUT_NLS)
|
2004-01-23 19:12:26 +01:00
|
|
|
LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext-old
|
2003-10-16 21:08:44 +02:00
|
|
|
.endif
|
1999-03-20 18:18:04 +01:00
|
|
|
|
2004-01-17 10:34:15 +01:00
|
|
|
CONFLICTS= wget-devel-*
|
|
|
|
|
2003-03-03 01:52:42 +01:00
|
|
|
USE_REINPLACE= yes
|
2002-11-28 19:05:49 +01:00
|
|
|
USE_PERL5_BUILD= yes
|
2002-01-05 11:41:15 +01:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2002-06-17 16:24:25 +02:00
|
|
|
.if defined(WITHOUT_SSL)
|
2003-10-16 21:08:44 +02:00
|
|
|
CONFIGURE_ARGS= --with-ssl=no
|
2002-06-17 16:24:25 +02:00
|
|
|
.else
|
2001-06-05 16:38:11 +02:00
|
|
|
USE_OPENSSL= yes
|
|
|
|
.endif
|
2001-05-26 00:07:35 +02:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
|
2001-11-14 12:43:11 +01:00
|
|
|
LIBS=-L${LOCALBASE}/lib
|
2003-10-16 21:08:44 +02:00
|
|
|
PLIST_SUB= NLS=""
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB= NLS="@comment "
|
|
|
|
.endif
|
2001-06-05 16:38:11 +02:00
|
|
|
|
2002-07-28 10:24:49 +02:00
|
|
|
MAN1= wget.1
|
2003-08-17 20:59:44 +02:00
|
|
|
INFO= wget
|
2002-07-28 10:24:49 +02:00
|
|
|
|
2001-07-19 20:28:48 +02:00
|
|
|
post-patch:
|
2002-01-05 11:41:15 +01:00
|
|
|
${RM} -f ${WRKSRC}/doc/wget.info*
|
2001-10-05 10:26:52 +02:00
|
|
|
# we don't need to run autoconf.
|
|
|
|
${TOUCH} ${WRKSRC}/configure
|
2003-03-03 01:52:42 +01:00
|
|
|
${REINPLACE_CMD} -e 's,/etc/wgetrc,${PREFIX}/etc/wgetrc,' \
|
|
|
|
-e 's,@file{},@file{${PREFIX}},' \
|
|
|
|
${WRKSRC}/doc/sample.wgetrc* ${WRKSRC}/doc/wget.texi
|
2001-07-19 20:28:48 +02:00
|
|
|
|
1997-05-22 09:53:32 +02:00
|
|
|
post-install:
|
2000-06-24 17:33:02 +02:00
|
|
|
install-info ${PREFIX}/info/wget.info ${PREFIX}/info/dir
|
1997-05-22 09:53:32 +02:00
|
|
|
|
1997-01-02 08:19:08 +01:00
|
|
|
.include <bsd.port.mk>
|