pkgsrc/converters/rss2html/Makefile

34 lines
1.1 KiB
Makefile
Raw Normal View History

2010-01-29 17:51:38 +01:00
# $NetBSD: Makefile,v 1.16 2010/01/29 16:51:42 joerg Exp $
#
DISTNAME= rss2html-0.8.2
PKGREVISION= 2
CATEGORIES= converters
MASTER_SITES= ftp://ftp.nopcode.org/prj/rss2html/
MAINTAINER= pancake@phreaker.net
update to rsshtml-0.8 patch provided by pancake at phreaker dot net (maintainer) in PR 32857 0.7.8 * 2006/02/14 - add -n -N and -r (limit number of posts and words per post) - support foreach url name format: name@url - add link_node number id foreach link (html + xml2doc) - add support for RDF like dates. - reclean the plain text output format - use \r\n instead of just \n. (support for silly http servers). - fix HTML output when no pubDate defined. - fix support for RDF files. - cleanup the txt output format. - add substitution pattern and htmlize_string. - use <author> foreach item. - fix rss generation for planets. Change -P flag. - minor fix rss2 generation. - add author stuff for the templates - fixes for the cdata strings - add nopcode template - add crontab planet script - Add -P flag in cmdline - Add support for planets (order posts by date). - default html template reads rss2html.css - add manpage. - Initial support of templates - initial enclosure url support (useful for podcast) - add 'url' output format, for make pipes happy. - fix parser.c again - initial import of subst framework. - add xml2doc output format - initial use of the storage infrastructure. - fix <![CDATA parser. - finally remove the deprecated parser. - fix pubDate output in MXML format. - initial port to acr. - add GPLv2 license and related stuff properly. - initial import of cmptime.c - rework on storage framework. - fix html entities inside MXML output format. - add doblog output information tip in README - fix temporally file creation bug. - handle description and content:encoded fields. - add -n -N and -r (limit number of posts and words per post) - support foreach url name format: name@url - support for MXML format - add some snippets for planet support in the future. - implement the new XML parser. - initial preparation for mxml format and date ordening. (not working yet) - rename -d to -D and -x flag to -d - add -L flag (local link translation) - fix default prefix to /usr/local (stoned stuff) - fix install stuff to use INSTALL_* stuff - support for enclosure tag for podcasts - podcast RSSs also working - integrate Darek's patch that fix description field parsing (-x) - order help flags
2006-02-19 21:49:11 +01:00
HOMEPAGE= http://www.nopcode.org/blog/rss2html.html
COMMENT= RSS to HTML converter
PKG_INSTALLATION_TYPES= overwrite pkgviews
2010-01-29 17:51:38 +01:00
PKG_DESTDIR_SUPPORT= user-destdir
update to rsshtml-0.8 patch provided by pancake at phreaker dot net (maintainer) in PR 32857 0.7.8 * 2006/02/14 - add -n -N and -r (limit number of posts and words per post) - support foreach url name format: name@url - add link_node number id foreach link (html + xml2doc) - add support for RDF like dates. - reclean the plain text output format - use \r\n instead of just \n. (support for silly http servers). - fix HTML output when no pubDate defined. - fix support for RDF files. - cleanup the txt output format. - add substitution pattern and htmlize_string. - use <author> foreach item. - fix rss generation for planets. Change -P flag. - minor fix rss2 generation. - add author stuff for the templates - fixes for the cdata strings - add nopcode template - add crontab planet script - Add -P flag in cmdline - Add support for planets (order posts by date). - default html template reads rss2html.css - add manpage. - Initial support of templates - initial enclosure url support (useful for podcast) - add 'url' output format, for make pipes happy. - fix parser.c again - initial import of subst framework. - add xml2doc output format - initial use of the storage infrastructure. - fix <![CDATA parser. - finally remove the deprecated parser. - fix pubDate output in MXML format. - initial port to acr. - add GPLv2 license and related stuff properly. - initial import of cmptime.c - rework on storage framework. - fix html entities inside MXML output format. - add doblog output information tip in README - fix temporally file creation bug. - handle description and content:encoded fields. - add -n -N and -r (limit number of posts and words per post) - support foreach url name format: name@url - support for MXML format - add some snippets for planet support in the future. - implement the new XML parser. - initial preparation for mxml format and date ordening. (not working yet) - rename -d to -D and -x flag to -d - add -L flag (local link translation) - fix default prefix to /usr/local (stoned stuff) - fix install stuff to use INSTALL_* stuff - support for enclosure tag for podcasts - podcast RSSs also working - integrate Darek's patch that fix description field parsing (-x) - order help flags
2006-02-19 21:49:11 +01:00
GNU_CONFIGURE= YES
USE_TOOLS+= gmake
2010-01-29 17:51:38 +01:00
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 share/doc/rss2html
2005-07-29 06:40:47 +02:00
LIBS.SunOS+= -lnsl -lsocket
MAKE_ENV+= LIBS=${LIBS:M*:Q}
2005-07-29 06:40:47 +02:00
2010-01-29 17:51:38 +01:00
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/rss2html ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/doc/rss2html.links ${DESTDIR}${PREFIX}/share/doc/rss2html/
${INSTALL_DATA} ${WRKSRC}/doc/usage.example ${DESTDIR}${PREFIX}/share/doc/rss2html/
${INSTALL_DATA} ${WRKSRC}/doc/rss2html.template ${DESTDIR}${PREFIX}/share/doc/rss2html/
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/rss2html/
${INSTALL_MAN} ${WRKSRC}/doc/rss2html.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"