freebsd-ports/ftp/wget/Makefile

65 lines
1.4 KiB
Makefile
Raw Normal View History

2000-02-13 04:25:05 +01:00
# Ports collection makefile for: wget
# Date created: 31 December 1996
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
1999-08-25 07:57:29 +02:00
# $FreeBSD$
#
# 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
PORTVERSION= 1.8.2
PORTREVISION= 7
CATEGORIES= ftp www ipv6
2002-07-28 11:51:15 +02:00
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= wget
PATCH_SITES= ${MASTER_SITE_LOCAL}
PATCH_SITE_SUBDIR= sf
2003-10-25 02:34:11 +02:00
PATCHFILES= wget_${PORTVERSION}-12.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= sf@FreeBSD.org
2003-03-03 02:08:52 +01:00
COMMENT= Retrieve files from the Net via HTTP and FTP
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
.endif
CONFLICTS= wget-devel-*
USE_REINPLACE= yes
USE_PERL5_BUILD= yes
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
PLIST_SUB= NLS=""
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB= NLS="@comment "
.endif
MAN1= wget.1
2003-08-17 20:59:44 +02:00
INFO= wget
post-patch:
${RM} -f ${WRKSRC}/doc/wget.info*
2001-10-05 10:26:52 +02:00
# we don't need to run autoconf.
${TOUCH} ${WRKSRC}/configure
${REINPLACE_CMD} -e 's,/etc/wgetrc,${PREFIX}/etc/wgetrc,' \
-e 's,@file{},@file{${PREFIX}},' \
${WRKSRC}/doc/sample.wgetrc* ${WRKSRC}/doc/wget.texi
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
.include <bsd.port.mk>