summaryrefslogtreecommitdiff
path: root/misc/vera
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-04 19:21:10 +0000
committerjlam <jlam>2008-03-04 19:21:10 +0000
commitcfcb73a7daae0a4628a69e74119df08f06aea0a7 (patch)
tree49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/vera
parent75e62b0b49c3ce7b99b2416889b080608416d847 (diff)
downloadpkgsrc-cfcb73a7daae0a4628a69e74119df08f06aea0a7.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'misc/vera')
-rw-r--r--misc/vera/Makefile6
1 files changed, 4 insertions, 2 deletions
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"