summaryrefslogtreecommitdiff
path: root/mail/newspipe
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-04 17:57:17 +0000
committerjlam <jlam@pkgsrc.org>2008-03-04 17:57:17 +0000
commit411a468ce44836ba0dce72243b549d700f29037a (patch)
treeea772f1017a149bdf8c86107c24d16246695614e /mail/newspipe
parenta8d05d72830e3030fc1f7f00f4b39671102c05e6 (diff)
downloadpkgsrc-411a468ce44836ba0dce72243b549d700f29037a.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'mail/newspipe')
-rw-r--r--mail/newspipe/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/mail/newspipe/Makefile b/mail/newspipe/Makefile
index 38c83582023..43bf72fa44e 100644
--- a/mail/newspipe/Makefile
+++ b/mail/newspipe/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2007/02/22 19:26:42 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2008/03/04 17:57:19 jlam Exp $
#
DISTNAME= newspipe.1.1.9
@@ -18,6 +18,8 @@ DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
DEPENDS+= ${PYPKGPREFIX}-feedparser-[0-9]*:../../textproc/py-feedparser
DEPENDS+= ${PYPKGPREFIX}-html2text-[0-9]*:../../textproc/py-html2text
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= yes
PYTHON_PATCH_SCRIPTS= *.py
@@ -33,15 +35,15 @@ INSTALLATION_DIRS+= share/examples/newspipe
do-install:
cd ${WRKSRC}; \
- ${INSTALL_SCRIPT} newspipe ${PREFIX}/bin; \
+ ${INSTALL_SCRIPT} newspipe ${DESTDIR}${PREFIX}/bin; \
for f in cache.py newspipe.py opml.py; do \
- ${INSTALL_SCRIPT} $${f} ${PREFIX}/share/newspipe; \
+ ${INSTALL_SCRIPT} $${f} ${DESTDIR}${PREFIX}/share/newspipe; \
done; \
for f in manual.html readme; do \
- ${INSTALL_DATA} $${f} ${PREFIX}/share/doc/newspipe; \
+ ${INSTALL_DATA} $${f} ${DESTDIR}${PREFIX}/share/doc/newspipe; \
done; \
for f in newspipe.ini test.opml; do \
- ${INSTALL_DATA} $${f} ${PREFIX}/share/examples/newspipe; \
+ ${INSTALL_DATA} $${f} ${DESTDIR}${PREFIX}/share/examples/newspipe; \
done
.include "../../lang/python/application.mk"