Edit

IABSD.fr/ports/www/links+/Makefile

Branch :

  • Show log

    Commit

  • Author : sthen
    Date : 2024-12-28 17:13:42
    Hash : 72223e05
    Message : update to links+-2.30, from Tim Meunier (maintainer) - sync wantlib while there

  • www/links+/Makefile
  • COMMENT=	graphics and text browser
    VER=		2.30
    DISTNAME=	links-${VER}
    PKGNAME=	links+-${VER}
    CATEGORIES=	www
    
    HOMEPAGE=	http://links.twibright.com/
    
    MAINTAINER=	Tim Meunier <trondd@kagu-tsuchi.com>
    
    # GPLv2+
    PERMIT_PACKAGE=	Yes
    
    WANTLIB=	bz2 c crypto event lzma pthread ssl z
    
    SITES=		http://links.twibright.com/download/
    
    LIB_DEPENDS=	archivers/bzip2 \
    		archivers/xz
    
    CONFIGURE_STYLE= gnu
    CONFIGURE_ARGS+= --with-ssl --without-brotli --without-lzip --without-zstd
    
    FLAVORS=	no_x11
    FLAVOR?=
    
    .if !${FLAVOR:Mno_x11}
    LIB_DEPENDS+=	graphics/jpeg \
    		graphics/png \
    		x11/gnome/librsvg \
    		graphics/tiff \
    		graphics/libwebp \
    		graphics/libavif
    CONFIGURE_ARGS+= --with-x --enable-graphics
    WANTLIB += X11 avif cairo cairo-gobject fontconfig freetype gdk_pixbuf-2.0
    WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 harfbuzz intl
    WANTLIB += jpeg m pango-1.0 pangocairo-1.0 pangoft2-1.0 png rsvg-2
    WANTLIB += tiff webp xml2
    MESSAGE=	${PKGDIR}/MESSAGE.x11
    .endif
    
    MAKE_FLAGS=	CFLAGS="${CFLAGS} -DEVENT_DEPRECATED"
    NO_TEST=	Yes
    
    post-install:
    	${INSTALL_DATA_DIR} ${PREFIX}/share/links+
    	${INSTALL_DATA} ${WRKSRC}/doc/links_cal/* ${PREFIX}/share/links+
    
    .include <bsd.port.mk>