File:
[cvs.NetBSD.org] /
pkgsrc /
mail /
newspipe /
Makefile
Revision
1.4:
download - view:
text,
annotated -
select for diffs
Thu Feb 22 19:26:42 2007 UTC (17 years, 9 months ago) by
wiz
Branches:
MAIN
CVS tags:
pkgsrc-2007Q4-base,
pkgsrc-2007Q4,
pkgsrc-2007Q3-base,
pkgsrc-2007Q3,
pkgsrc-2007Q2-base,
pkgsrc-2007Q2,
pkgsrc-2007Q1-base,
pkgsrc-2007Q1,
HEAD
Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
# $NetBSD: Makefile,v 1.4 2007/02/22 19:26:42 wiz Exp $
#
DISTNAME= newspipe.1.1.9
PKGNAME= ${DISTNAME:S/./-/}
PKGREVISION= 2
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=newspipe/}
EXTRACT_SUFX= .zip
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://newspipe.sourceforge.net/
COMMENT= Read RSS/Atom feeds as email messages
WRKSRC= ${WRKDIR}
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
DEPENDS+= ${PYPKGPREFIX}-feedparser-[0-9]*:../../textproc/py-feedparser
DEPENDS+= ${PYPKGPREFIX}-html2text-[0-9]*:../../textproc/py-html2text
NO_BUILD= yes
PYTHON_PATCH_SCRIPTS= *.py
SUBST_CLASSES+= bin
SUBST_STAGE.bin= do-configure
SUBST_FILES.bin= newspipe.py newspipe
SUBST_SED.bin= -e 's|@LOCALBASE@|${LOCALBASE}|g'
SUBST_SED.bin+= -e 's|@PREFIX@|${PREFIX}|g'
SUBST_SED.bin+= -e 's|@PYTHONBIN@|${PYTHONBIN}|g'
INSTALLATION_DIRS= bin share/newspipe share/doc/newspipe
INSTALLATION_DIRS+= share/examples/newspipe
do-install:
cd ${WRKSRC}; \
${INSTALL_SCRIPT} newspipe ${PREFIX}/bin; \
for f in cache.py newspipe.py opml.py; do \
${INSTALL_SCRIPT} $${f} ${PREFIX}/share/newspipe; \
done; \
for f in manual.html readme; do \
${INSTALL_DATA} $${f} ${PREFIX}/share/doc/newspipe; \
done; \
for f in newspipe.ini test.opml; do \
${INSTALL_DATA} $${f} ${PREFIX}/share/examples/newspipe; \
done
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>