From 411a468ce44836ba0dce72243b549d700f29037a 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/rblcheck/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'mail/rblcheck') 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" -- cgit v1.2.3