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
|
|
|
#
|
|
|
|
|
2000-04-12 07:31:29 +02:00
|
|
|
PORTNAME= wget
|
2001-06-05 16:38:11 +02:00
|
|
|
PORTVERSION= 1.7
|
2001-08-25 07:44:46 +02:00
|
|
|
PORTREVISION= 3
|
2001-07-19 20:28:48 +02:00
|
|
|
CATEGORIES= ftp www ipv6
|
1998-12-08 22:03:16 +01:00
|
|
|
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/ \
|
1999-07-15 08:15:10 +02:00
|
|
|
ftp://ftp.max.irk.ru/unix/net/www/wget/
|
1999-01-27 08:41:29 +01:00
|
|
|
MASTER_SITE_SUBDIR= wget
|
1997-01-02 08:19:08 +01:00
|
|
|
|
2001-07-19 20:28:48 +02:00
|
|
|
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/ \
|
|
|
|
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/kame/misc/&,}
|
|
|
|
PATCHFILES= wget-17-v6-20010716a.diff.gz
|
2001-03-02 22:54:23 +01:00
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
2001-01-14 21:11:06 +01:00
|
|
|
MAINTAINER= sf@FreeBSD.org
|
1997-01-02 08:19:08 +01:00
|
|
|
|
2001-09-11 15:17:09 +02:00
|
|
|
BUILD_DEPENDS= msgfmt-new:${PORTSDIR}/devel/gettext-devel
|
1999-03-20 18:18:04 +01:00
|
|
|
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
|
|
|
|
|
2001-06-05 16:38:11 +02:00
|
|
|
.if !defined(WITHOUT_SSL)
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE}
|
|
|
|
.endif
|
2001-05-05 13:09:33 +02:00
|
|
|
USE_GMAKE= yes
|
1997-01-02 08:19:08 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2001-05-26 00:07:35 +02:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
|
2001-09-11 15:17:09 +02:00
|
|
|
LIBS=-L${LOCALBASE}/lib \
|
|
|
|
MSGFMT=${LOCALBASE}/bin/msgfmt-new \
|
|
|
|
XGETTEXT=${LOCALBASE}/bin/xgettext-new
|
2001-06-05 16:38:11 +02:00
|
|
|
|
|
|
|
MAN1= wget.1
|
1997-01-02 08:19:08 +01:00
|
|
|
|
2001-07-19 20:28:48 +02:00
|
|
|
post-patch:
|
2001-08-25 07:44:46 +02:00
|
|
|
# made by broken KAME patch. Already contacted.
|
2001-07-19 20:28:48 +02:00
|
|
|
@${RM} -f ${WRKSRC}/po/zh.po*
|
2001-10-05 10:26:52 +02:00
|
|
|
# we don't need to run autoconf.
|
|
|
|
${TOUCH} ${WRKSRC}/configure
|
2001-07-19 20:28:48 +02:00
|
|
|
|
2000-06-24 17:33:02 +02:00
|
|
|
pre-build:
|
2001-06-05 16:38:11 +02:00
|
|
|
@${RM} -f ${WRKSRC}/doc/wget.info*
|
1999-05-01 04:31:46 +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>
|