pkgsrc/www/snownews/Makefile
wiz f7ce2359ef Update to 1.4.4, based on an update sent by Bruce J.A. Nourish.
1.4.4:
  1.4.3 crashes on systems where it runs the first time.
  Cookie support
1.4.3:
  Feed overview menu can now be assigned a color via the colors config file
  HTTP Authentication
  Code rewrites
  Translation updates
  '?' brings help menu
  'M' sets item to unread
  Bug fixes
2004-02-15 23:52:29 +00:00

38 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.6 2004/02/15 23:52:29 wiz Exp $
DISTNAME= snownews-1.4.4
CATEGORIES= www
MASTER_SITES= http://home.kcore.de/~kiza/software/snownews/download/
MAINTAINER= pkgsrc@bjan.freeshell.org
HOMEPAGE= http://home.kcore.de/~kiza/software/snownews/
COMMENT= Small, curses based RSS feed reader
BUILD_USES_MSGFMT= YES
USE_BUILDLINK2= YES
USE_GNU_TOOLS+= make
USE_NCURSES= # missing WA_BOLD, WA_REVERSE, KEY_RESIZE
USE_PKGLOCALEDIR= YES
MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}" GMAKE="${GMAKE}"
MAKE_ENV+= EXTRA_CFLAGS="${CFLAGS}" LOCALBASE="${LOCALBASE}"
# XXX -lintl hack suggested by Jeremy C. Reed: blocking on PR #23369
.include "../../devel/gettext-lib/buildlink2.mk"
MAKE_ENV+= EXTRA_LDFLAGS="${LDFLAGS} ${_BLNK_INTL_LDFLAGS}"
post-patch:
for FILE in ${WRKSRC}/doc/man/Makefile ${WRKSRC}/doc/man/*/Makefile;do \
${MV} $${FILE} $${FILE}.orig; \
${SED} -e 's/$$(INSTALL) -m 0644/$$(BSD_INSTALL_MAN)/' $${FILE}.orig > $${FILE}; \
done
for FILE in ${WRKSRC}/po/Makefile;do \
${MV} $${FILE} $${FILE}.orig; \
${SED} -e 's/$$(INSTALL) -m 0644/$$(BSD_INSTALL_DATA)/' $${FILE}.orig > $${FILE}; \
done
.include "../../converters/libiconv/buildlink2.mk"
.include "../../textproc/libxml2/buildlink2.mk"
.include "../../devel/ncurses/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"