cwen b7b037a8d5 snownews: update to 1.8
Changelog:
https://github.com/msharov/snownews/releases

Major highlights:
- Atom feeds are now supported, and so are HTTPS and UTF-8 display
- The feeds list is now in the OPML format, configuration files have moved to
  ~/.config/snownews and cache files to ~/.local/share/snownews. The migration
  will be automatically done during the first run, with the notable exception
  of the 'exec:ftp -Vo-' invocations you may have used for HTTPS; they are not
  removed but still work.

Extra testing (thanks!) by:

nathanael   <nathanael () dalliard ! ch>
Tim Meunier <trondd () kagu-tsuchi ! com>

OK bcallah@
2021-07-06 19:33:21 +00:00

38 lines
802 B
Makefile

# $OpenBSD: Makefile,v 1.42 2021/07/06 19:33:21 cwen Exp $
COMMENT= text mode rss and atom newsreader
CATEGORIES= www
GH_ACCOUNT= msharov
GH_PROJECT= snownews
GH_TAGNAME= v1.8
# GPLv3 only
PERMIT_PACKAGE= Yes
# C11
COMPILER= base-clang ports-gcc
WANTLIB += c crypto curl curses iconv intl xml2
NO_TEST= Yes
USE_GMAKE= Yes
BUILD_DEPENDS= devel/gettext,-tools
LIB_DEPENDS= devel/gettext,-runtime \
net/curl \
textproc/libxml
CONFIGURE_STYLE= simple
CONFIGURE_ARGS+= --builddir=${WRKDIR} --mandir=${PREFIX}/man
MAKE_ENV= cflags="${CFLAGS}" ldflags="${LDFLAGS}"
# Needed for cchar_t, setcchar() and getcchar()
CFLAGS+= -D_XOPEN_SOURCE_EXTENDED
# Fix linking errors due to upstream build system
# not being able to find proper LDFLAGS for ncurses
LDFLAGS+= -lncursesw
.include <bsd.port.mk>