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/queue-repair | |
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/queue-repair')
-rw-r--r-- | mail/queue-repair/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mail/queue-repair/Makefile b/mail/queue-repair/Makefile index 3df46582276..968ff737999 100644 --- a/mail/queue-repair/Makefile +++ b/mail/queue-repair/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2006/12/29 06:44:00 schmonz Exp $ +# $NetBSD: Makefile,v 1.4 2008/03/04 17:57:19 jlam Exp $ # DISTNAME= queue-repair-0.9.0 @@ -10,13 +10,16 @@ MAINTAINER= schmonz@NetBSD.org HOMEPAGE= http://pyropus.ca/software/queue-repair/ COMMENT= Check or correct most corruptions of the queue in qmail +PKG_DESTDIR_SUPPORT= user-destdir + NO_BUILD= YES PYTHON_PATCH_SCRIPTS= queue_repair.py INSTALLATION_DIRS= bin do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/queue_repair.py ${PREFIX}/bin/queue_repair + ${INSTALL_SCRIPT} ${WRKSRC}/queue_repair.py \ + ${DESTDIR}${PREFIX}/bin/queue_repair .include "../../lang/python/application.mk" .include "../../mk/bsd.pkg.mk" |