# $NetBSD: Makefile,v 1.85 2018/05/25 10:16:03 maya Exp $ DISTNAME= weechat-2.1 CATEGORIES= chat MASTER_SITES= https://www.weechat.org/files/src/ EXTRACT_SUFX= .tar.bz2 MAINTAINER= tonio@NetBSD.org HOMEPAGE= https://www.weechat.org/ COMMENT= Lightweight and user friendly curses based IRC client LICENSE= gnu-gpl-v3 BUILD_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc USE_PKGLOCALEDIR= yes USE_TOOLS+= msgfmt pkg-config USE_LANGUAGES= c99 USE_LIBTOOL= yes USE_CMAKE= yes FAKE_NCURSES= yes CMAKE_ARGS+= -DENABLE_ASPELL:BOOL=OFF CMAKE_ARGS+= -DENABLE_GUILE:BOOL=OFF CMAKE_ARGS+= -DENABLE_TCL:BOOL=OFF CMAKE_ARGS+= -DENABLE_MAN:BOOL=OFF # Requires ascii-doctor CMAKE_ARGS+= -DENABLE_V8:BOOL=OFF CMAKE_ARGS+= -DMANDIR:STRING=${PKGMANDIR} CMAKE_ARGS+= -DLOCALEDIR:STRING=${PKGLOCALEDIR}/locale CMAKE_ARGS+= -DENABLE_CHARSET:BOOL=ON LDFLAGS+= ${BUILDLINK_LDADD.gettext} LDFLAGS.Darwin+= -lresolv LDFLAGS.SunOS+= -lresolv .include "options.mk" .include "../../graphics/hicolor-icon-theme/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" #.include "../../devel/readline/buildlink3.mk" .include "../../devel/libidn/buildlink3.mk" .include "../../www/curl/buildlink3.mk" .include "../../converters/libiconv/buildlink3.mk" .include "../../security/libgcrypt/buildlink3.mk" .include "../../mk/curses.buildlink3.mk" .include "../../mk/bsd.pkg.mk"