summaryrefslogtreecommitdiff
path: root/misc/vera
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-04 19:21:10 +0000
committerjlam <jlam@pkgsrc.org>2008-03-04 19:21:10 +0000
commit39843c2c61acd3e8f1b7d0fa6eb0f76884067d10 (patch)
tree49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/vera
parent0523c1825d9b781d6f10c2ef70daf0a164e0f142 (diff)
downloadpkgsrc-39843c2c61acd3e8f1b7d0fa6eb0f76884067d10.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"