summaryrefslogtreecommitdiff
path: root/devel/cvs2html
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 17:45:33 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 17:45:33 +0000
commit4c8382aec039aefeebaf1aaac5cd7985337ed917 (patch)
tree620d08cc8bf79f9bacb7746632192670c7d6350d /devel/cvs2html
parent3a62565eb9471348d02d74145e302b5675905a43 (diff)
downloadpkgsrc-4c8382aec039aefeebaf1aaac5cd7985337ed917.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'devel/cvs2html')
-rw-r--r--devel/cvs2html/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/cvs2html/Makefile b/devel/cvs2html/Makefile
index 33f0f4eb187..b763b5312bd 100644
--- a/devel/cvs2html/Makefile
+++ b/devel/cvs2html/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2007/02/17 20:59:47 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2008/03/03 17:45:34 jlam Exp $
#
DISTNAME= cvs2html-1.82
@@ -9,6 +9,8 @@ MAINTAINER= zuntum@NetBSD.org
HOMEPAGE= http://cvs.sslug.dk/cvs2html/
COMMENT= Perl script to turn ``cvs log'' output into HTML
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= YES
USE_TOOLS+= perl:run
REPLACE_PERL= cvs2html
@@ -16,6 +18,6 @@ REPLACE_PERL= cvs2html
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/cvs2html ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/cvs2html ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"