summaryrefslogtreecommitdiff
path: root/mail/rblcheck
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/rblcheck
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/rblcheck')
-rw-r--r--mail/rblcheck/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/mail/rblcheck/Makefile b/mail/rblcheck/Makefile
index b47e9bbe27e..5e3ae113014 100644
--- a/mail/rblcheck/Makefile
+++ b/mail/rblcheck/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/09/11 21:26:04 cube Exp $
+# $NetBSD: Makefile,v 1.15 2008/03/04 17:57:19 jlam Exp $
DISTNAME= rblcheck-1.5
CATEGORIES= mail
@@ -8,6 +8,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://rblcheck.sourceforge.net/
COMMENT= Command-line interface to Paul Vixie's RBL filter
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
@@ -16,9 +18,9 @@ DOCS= README NEWS docs/rblcheck.ps
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/rblcheck ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rblcheck
+ ${INSTALL_PROGRAM} ${WRKSRC}/rblcheck ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/rblcheck
cd ${WRKSRC} && \
- ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/rblcheck
+ ${INSTALL_DATA} ${DOCS} ${DESTDIR}${PREFIX}/share/doc/rblcheck
.include "../../mk/bsd.pkg.mk"