freebsd-ports/ftp/wgetpro/Makefile
Jean-Yves Lefort b4a5f73165 - Update to 0.1.3.
- Polish the Makefile and correct the packing list.

PR:		ports/80011
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
Approved by:	adamw (mentor)
2005-04-18 15:50:57 +00:00

39 lines
783 B
Makefile

# ex:ts=8
# Ports collection makefile for: wgetpro
# Date created: May 18, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= wgetpro
PORTVERSION= 0.1.3
CATEGORIES= ftp
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Wget with "PRO" features
USE_REINPLACE= yes
USE_GETOPT_LONG= yes
USE_OPENSSL= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.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
post-patch:
@${REINPLACE_CMD} -e 's|^\(PACKAGE=\).*|\1wpro|' ${WRKSRC}/configure
.include <bsd.port.mk>