Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # $OpenBSD: Makefile,v 1.2 2014/08/10 09:58:06 espie Exp $
  2. COMMENT= get news from RSS feeds in email
  3. DISTNAME= rss2email-2.70
  4. CATEGORIES= mail textproc
  5. HOMEPAGE= http://www.allthingsrss.com/rss2email/
  6. # GPLv2/v3
  7. PERMIT_PACKAGE_CDROM= Yes
  8. MASTER_SITES= ${HOMEPAGE}
  9. MODULES= lang/python
  10. BUILD_DEPENDS= ${RUN_DEPENDS}
  11. RUN_DEPENDS= converters/py-html2text \
  12. textproc/py-feedparser
  13. SUBST_VARS+= MODPY_SITEPKG
  14. NO_BUILD= Yes
  15. NO_TEST= Yes
  16. do-install:
  17. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/rss2email/ \
  18. ${PREFIX}/share/doc/rss2email/ ${WRKINST}/${MODPY_SITEPKG}/
  19. ${INSTALL_SCRIPT} ${WRKSRC}/rss2email.py ${WRKINST}/${MODPY_SITEPKG}/
  20. ${INSTALL_DATA} ${WRKSRC}/readme.html ${PREFIX}/share/doc/rss2email/
  21. ${INSTALL_DATA} ${WRKSRC}/config.py.example \
  22. ${PREFIX}/share/examples/rss2email/
  23. ${INSTALL_DATA} ${WRKSRC}/config.py.example \
  24. ${PREFIX}/share/examples/rss2email/
  25. ${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
  26. ${WRKINST}/${MODPY_SITEPKG}/rss2email.py
  27. ${SUBST_PROGRAM} ${FILESDIR}/r2e ${PREFIX}/bin/r2e
  28. .include <bsd.port.mk>