From 39843c2c61acd3e8f1b7d0fa6eb0f76884067d10 Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 4 Mar 2008 19:21:10 +0000 Subject: Mechanical changes to add DESTDIR support to packages that install their files via a custom do-install target. --- misc/vera/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'misc/vera') diff --git a/misc/vera/Makefile b/misc/vera/Makefile index fc224e9be92..2ca897f1951 100644 --- a/misc/vera/Makefile +++ b/misc/vera/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2006/03/20 17:16:13 jlam Exp $ +# $NetBSD: Makefile,v 1.18 2008/03/04 19:21:12 jlam Exp $ DISTNAME= vera-1.16 CATEGORIES= misc @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://cgi.snafu.de/ohei/user-cgi-bin/veramain-e.cgi COMMENT= Virtual Entity of Relevant Acronyms +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= makeinfo INFO_FILES= # PLIST @@ -20,7 +22,7 @@ do-build: do-install: cd ${WRKSRC}; for f in vera.info vera.info-[0-9]*; do \ ${TEST} ! -f "$$f" || \ - ${INSTALL_DATA} "$$f" ${PREFIX}/${PKGINFODIR}; \ + ${INSTALL_DATA} "$$f" ${DESTDIR}${PREFIX}/${PKGINFODIR};\ done .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3