summaryrefslogtreecommitdiff
path: root/mail/queue-repair
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
commita80fd13efc426f96e55870df48a2030daea0f14b (patch)
treeea772f1017a149bdf8c86107c24d16246695614e /mail/queue-repair
parent31c6c3a796edf9dd9bae5586339c5e2e023ca408 (diff)
downloadpkgsrc-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/queue-repair')
-rw-r--r--mail/queue-repair/Makefile7
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"