diff options
author | schmonz <schmonz@pkgsrc.org> | 2004-06-27 23:00:34 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2004-06-27 23:00:34 +0000 |
commit | 82f39c2142a93c2b7f45daa935431ebd17f16af0 (patch) | |
tree | c016601a02f233fab12970f1c22f7ecc8ea7b5b6 /mail/rss2email/Makefile | |
parent | f42539f89d89bbd2228cd5d8ca7e6cdec46dfbda (diff) | |
download | pkgsrc-82f39c2142a93c2b7f45daa935431ebd17f16af0.tar.gz |
Import rss2email 2.32.
rss2email is a simple Python script that lets you subscribe to a
list of XML newsfeeds and get new items sent to you by email.
The man page and sample config file are from the Debian package.
Diffstat (limited to 'mail/rss2email/Makefile')
-rw-r--r-- | mail/rss2email/Makefile | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/mail/rss2email/Makefile b/mail/rss2email/Makefile new file mode 100644 index 00000000000..00d23c9569e --- /dev/null +++ b/mail/rss2email/Makefile @@ -0,0 +1,47 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/06/27 23:00:34 schmonz Exp $ +# + +DISTNAME= rss2email-2.32 +CATEGORIES= mail +MASTER_SITES= ${HOMEPAGE} +EXTRACT_SUFX= .py +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} r2e html2text-1.0.py + +MAINTAINER= schmonz@NetBSD.org +HOMEPAGE= http://www.aaronsw.com/2002/rss2email/ +COMMENT= Get RSS feeds emailed to you + +DEPENDS+= ${PYPKGPREFIX}-feedparser-[0-9]*:../../textproc/py-feedparser + +SITES_html2text-1.0.py= http://www.aaronsw.com/2002/html2text/ + +DIST_SUBDIR= ${PKGNAME_NOREV} + +NO_BUILD= # defined +USE_BUILDLINK3= yes +PYTHON_PATCH_SCRIPTS= *.py + +SUBST_CLASSES+= bin +SUBST_STAGE.bin= do-configure +SUBST_FILES.bin= r2e +SUBST_SED.bin= -e 's|@PREFIX@|${PREFIX}|g' +SUBST_SED.bin+= -e 's|@PYTHONBIN@|${PYTHONBIN}|g' + +SHAREDIR= ${PREFIX}/share/rss2email +EGDIR= ${PREFIX}/share/examples/rss2email + +do-extract: + ${CP} -R ${DISTDIR}/${DIST_SUBDIR} ${WRKSRC} + +do-install: + cd ${WRKSRC} && \ + ${INSTALL_SCRIPT_DIR} ${SHAREDIR}; \ + ${INSTALL_SCRIPT} rss2email-2.32.py ${SHAREDIR}/rss2email.py; \ + ${INSTALL_SCRIPT} html2text-1.0.py ${SHAREDIR}/html2text.py; \ + ${INSTALL_DATA_DIR} ${EGDIR}; \ + ${INSTALL_DATA} config.py ${EGDIR}; \ + ${INSTALL_MAN} r2e.1 ${PREFIX}/man/man1; \ + ${INSTALL_SCRIPT} r2e ${PREFIX}/bin + +.include "../../lang/python/application.mk" +.include "../../mk/bsd.pkg.mk" |