2004-05-18 03:39:20 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: wgetpro
|
|
|
|
# Date created: May 18, 2004
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= wgetpro
|
2005-04-18 17:50:57 +02:00
|
|
|
PORTVERSION= 0.1.3
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 1
|
2004-05-18 03:39:20 +02:00
|
|
|
CATEGORIES= ftp
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2007-03-28 00:12:03 +02:00
|
|
|
MAINTAINER= stas@FreeBSD.org
|
2004-05-18 03:39:20 +02:00
|
|
|
COMMENT= Wget with "PRO" features
|
|
|
|
|
2005-06-12 01:12:26 +02:00
|
|
|
RESTRICTED= "may implement United States Patent 6,041,345"
|
2004-05-18 03:39:20 +02:00
|
|
|
USE_GETOPT_LONG= yes
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
USE_GMAKE= yes
|
2004-07-03 17:39:51 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2004-05-18 03:39:20 +02:00
|
|
|
|
2004-07-03 17:39:51 +02:00
|
|
|
.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
|
2004-05-18 03:39:20 +02:00
|
|
|
|
|
|
|
post-patch:
|
2005-04-18 17:50:57 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|^\(PACKAGE=\).*|\1wpro|' ${WRKSRC}/configure
|
2004-05-18 03:39:20 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|