diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
commit | 411a468ce44836ba0dce72243b549d700f29037a (patch) | |
tree | ea772f1017a149bdf8c86107c24d16246695614e /mail/rss2email | |
parent | a8d05d72830e3030fc1f7f00f4b39671102c05e6 (diff) | |
download | pkgsrc-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/rss2email')
-rw-r--r-- | mail/rss2email/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/mail/rss2email/Makefile b/mail/rss2email/Makefile index 205889b3dba..ba660d9f508 100644 --- a/mail/rss2email/Makefile +++ b/mail/rss2email/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2008/02/28 12:12:20 rillig Exp $ +# $NetBSD: Makefile,v 1.19 2008/03/04 17:57:19 jlam Exp $ # DISTNAME= rss2email-2.62 @@ -13,6 +13,8 @@ COMMENT= Get RSS feeds emailed to you DEPENDS+= ${PYPKGPREFIX}-feedparser-[0-9]*:../../textproc/py-feedparser DEPENDS+= ${PYPKGPREFIX}-html2text-[0-9]*:../../textproc/py-html2text +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} USE_TOOLS+= tr @@ -38,12 +40,12 @@ do-extract: do-install: set -e; cd ${WRKSRC}; \ - ${INSTALL_SCRIPT_DIR} ${SHAREDIR}; \ - ${INSTALL_SCRIPT} rss2email.py ${SHAREDIR}; \ - ${INSTALL_DATA_DIR} ${EGDIR}; \ - ${INSTALL_DATA} config.py ${EGDIR}; \ - ${INSTALL_MAN} r2e.1 ${PREFIX}/${PKGMANDIR}/man1; \ - ${INSTALL_SCRIPT} r2e ${PREFIX}/bin + ${INSTALL_SCRIPT_DIR} ${DESTDIR}${SHAREDIR}; \ + ${INSTALL_SCRIPT} rss2email.py ${DESTDIR}${SHAREDIR}; \ + ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}; \ + ${INSTALL_DATA} config.py ${DESTDIR}${EGDIR}; \ + ${INSTALL_MAN} r2e.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1; \ + ${INSTALL_SCRIPT} r2e ${DESTDIR}${PREFIX}/bin .include "../../lang/python/application.mk" .include "../../mk/bsd.pkg.mk" |