2004-02-16 00:52:29 +01:00
|
|
|
# $NetBSD: Makefile,v 1.6 2004/02/15 23:52:29 wiz Exp $
|
2003-12-28 00:04:23 +01:00
|
|
|
|
2004-02-16 00:52:29 +01:00
|
|
|
DISTNAME= snownews-1.4.4
|
2004-01-23 22:55:48 +01:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://home.kcore.de/~kiza/software/snownews/download/
|
2003-12-28 00:04:23 +01:00
|
|
|
|
2004-01-23 22:55:48 +01:00
|
|
|
MAINTAINER= pkgsrc@bjan.freeshell.org
|
2003-12-28 00:04:23 +01:00
|
|
|
HOMEPAGE= http://home.kcore.de/~kiza/software/snownews/
|
2004-01-23 22:55:48 +01:00
|
|
|
COMMENT= Small, curses based RSS feed reader
|
2003-12-28 00:04:23 +01:00
|
|
|
|
|
|
|
BUILD_USES_MSGFMT= YES
|
|
|
|
|
|
|
|
USE_BUILDLINK2= YES
|
2004-01-24 16:18:32 +01:00
|
|
|
USE_GNU_TOOLS+= make
|
2003-12-28 00:04:23 +01:00
|
|
|
USE_NCURSES= # missing WA_BOLD, WA_REVERSE, KEY_RESIZE
|
|
|
|
USE_PKGLOCALEDIR= YES
|
|
|
|
|
2004-02-16 00:52:29 +01:00
|
|
|
MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}" GMAKE="${GMAKE}"
|
|
|
|
MAKE_ENV+= EXTRA_CFLAGS="${CFLAGS}" LOCALBASE="${LOCALBASE}"
|
2003-12-28 00:04:23 +01:00
|
|
|
|
|
|
|
# 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}"
|
|
|
|
|
2004-02-16 00:52:29 +01:00
|
|
|
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
|
|
|
|
|
2003-12-28 00:04:23 +01:00
|
|
|
.include "../../converters/libiconv/buildlink2.mk"
|
|
|
|
.include "../../textproc/libxml2/buildlink2.mk"
|
|
|
|
.include "../../devel/ncurses/buildlink2.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|