From a80fd13efc426f96e55870df48a2030daea0f14b Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 4 Mar 2008 17:57:17 +0000 Subject: Mechanical changes to add DESTDIR support to packages that install their files via a custom do-install target. --- mail/queue-repair/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mail/queue-repair') 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" -- cgit v1.2.3