summaryrefslogtreecommitdiff
path: root/mail/queue-repair/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/queue-repair/Makefile')
-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"