summaryrefslogtreecommitdiff
path: root/mail/qmail-lint
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-04 17:57:17 +0000
committerjlam <jlam>2008-03-04 17:57:17 +0000
commit227db4fd65c1798f1f06219f896b8a2add93ce0c (patch)
treeea772f1017a149bdf8c86107c24d16246695614e /mail/qmail-lint
parent47512d21954e6312a4cd43b04b4c2594596e697b (diff)
downloadpkgsrc-227db4fd65c1798f1f06219f896b8a2add93ce0c.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'mail/qmail-lint')
-rw-r--r--mail/qmail-lint/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/mail/qmail-lint/Makefile b/mail/qmail-lint/Makefile
index fe4df6248c8..d32f2e5bb70 100644
--- a/mail/qmail-lint/Makefile
+++ b/mail/qmail-lint/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2007/03/24 07:05:26 schmonz Exp $
+# $NetBSD: Makefile,v 1.13 2008/03/04 17:57:19 jlam Exp $
#
DISTNAME= qmail-lint-0.55
@@ -11,6 +11,8 @@ MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://www.qmail.org/
COMMENT= Examine the qmail configuration for common errors
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
USE_TOOLS+= perl:run
REPLACE_PERL= ${DISTNAME}
@@ -25,6 +27,7 @@ INSTALLATION_DIRS= bin
BUILD_DEFS+= QMAILDIR
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/qmail-lint
+ ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} \
+ ${DESTDIR}${PREFIX}/bin/qmail-lint
.include "../../mk/bsd.pkg.mk"