Edit

IABSD.fr/ports/net/wget2/Makefile

Branch :

  • Show log

    Commit

  • Author : benoit
    Date : 2026-01-03 14:55:38
    Hash : 3e212af7
    Message : Update to wget2-2.2.1.

  • net/wget2/Makefile
  • COMMENT =	successor of GNU Wget, a file and website downloader
    
    DISTNAME =	wget2-2.2.1
    SHARED_LIBS +=	wget 1.0	# 4.0
    CATEGORIES =	net
    
    HOMEPAGE =	https://gitlab.com/gnuwget/wget2
    
    # GPLv3+ wget2, LGPLv3+ libwget
    PERMIT_PACKAGE =	Yes
    
    SITES =	${SITE_GNU:=wget/}
    
    WANTLIB += assuan brotlicommon brotlidec bz2 c crypto gpg-error
    WANTLIB += gpgme iconv idn2 intl lz lzma m nghttp2 pcre2-8 psl
    WANTLIB += pthread ssl unistring z zstd
    
    BUILD_DEPENDS =		devel/gettext,-tools
    LIB_DEPENDS =		archivers/brotli \
    			archivers/bzip2 \
    			archivers/lzip/lzlib \
    			archivers/zstd \
    			devel/libidn2 \
    			devel/pcre2 \
    			net/libpsl \
    			security/gpgme \
    			www/nghttp2
    
    CONFIGURE_STYLE =	gnu
    CONFIGURE_ARGS =	--disable-doc \
    			--with-bzip2=yes \
    			--with-lzma=yes \
    			--with-ssl=openssl \
    			--without-libdane \
    			--without-libhsts \
    			--without-libmicrohttpd
    CONFIGURE_ENV +=	CPPFLAGS="-I${LOCALBASE}/include" \
    			LDFLAGS="-L${LOCALBASE}/lib"
    
    MODGNU_CONFIG_GUESS_DIRS =	${WRKSRC}/build-aux
    
    .include <bsd.port.mk>