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 | a80fd13efc426f96e55870df48a2030daea0f14b (patch) | |
tree | ea772f1017a149bdf8c86107c24d16246695614e /mail/rss2email | |
parent | 31c6c3a796edf9dd9bae5586339c5e2e023ca408 (diff) | |
download | pkgsrc-a80fd13efc426f96e55870df48a2030daea0f14b.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" |