2004-05-18 01:39:20 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: wgetpro
|
|
|
|
# Date created: May 18, 2004
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= wgetpro
|
|
|
|
PORTVERSION= 0.1.2
|
|
|
|
CATEGORIES= ftp
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= Wget with "PRO" features
|
|
|
|
|
2004-07-03 15:39:51 +00:00
|
|
|
USE_PERL5_BUILD= yes
|
2004-05-18 01:39:20 +00:00
|
|
|
USE_GETOPT_LONG= yes
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
USE_GMAKE= yes
|
2004-07-03 15:39:51 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2004-05-18 01:39:20 +00:00
|
|
|
|
2004-07-03 15:39:51 +00: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 01:39:20 +00:00
|
|
|
|
|
|
|
post-patch:
|
2004-07-03 15:39:51 +00:00
|
|
|
@${PERL} -pi -e 's|^PACKAGE=.*$$|PACKAGE=wpro|g' ${WRKSRC}/configure
|
2004-05-18 01:39:20 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|