summaryrefslogtreecommitdiff
path: root/devel/refinecvs/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-03 17:45:33 +0000
committerjlam <jlam>2008-03-03 17:45:33 +0000
commit7a1142123798f48c48fc2d1fe38690a6b94d1df7 (patch)
tree620d08cc8bf79f9bacb7746632192670c7d6350d /devel/refinecvs/Makefile
parente629efdae96bb93a089e74409a36149a86e10f81 (diff)
downloadpkgsrc-7a1142123798f48c48fc2d1fe38690a6b94d1df7.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'devel/refinecvs/Makefile')
-rw-r--r--devel/refinecvs/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/devel/refinecvs/Makefile b/devel/refinecvs/Makefile
index 57a30c7f170..da60510beab 100644
--- a/devel/refinecvs/Makefile
+++ b/devel/refinecvs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2007/02/17 20:59:50 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2008/03/03 17:45:37 jlam Exp $
#
DISTNAME= refinecvs-0.86.1251
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://lev.serebryakov.spb.ru/refinecvs/
COMMENT= Convert CVS repository to SVN dump
+PKG_DESTDIR_SUPPORT= user-destdir
+
do-configure: # nothing
do-build: # nothing
@@ -18,14 +20,14 @@ REPLACE_PERL= refinecvs.pl
LIBDIR= ${PREFIX}/${PERL5_SUB_INSTALLARCHLIB}/Cvs/Repository
do-install:
- ${INSTALL_LIB_DIR} ${LIBDIR}
+ ${INSTALL_LIB_DIR} ${DESTDIR}${LIBDIR}
for f in DeltaCache.pm Delta.pm Exception.pm File.pm Reader.pm Revision.pm ; do \
- ${INSTALL_DATA} ${WRKSRC}/Cvs/Repository/$$f ${LIBDIR}/$$f; \
+ ${INSTALL_DATA} ${WRKSRC}/Cvs/Repository/$$f ${DESTDIR}${LIBDIR}/$$f; \
done
- ${INSTALL_SCRIPT} ${WRKSRC}/refinecvs.pl ${PREFIX}/bin/refinecvs
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/refinecvs
+ ${INSTALL_SCRIPT} ${WRKSRC}/refinecvs.pl ${DESTDIR}${PREFIX}/bin/refinecvs
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/refinecvs
for f in Changes LICENSE README TODO ; do \
- ${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/doc/refinecvs/$$f; \
+ ${INSTALL_DATA} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/share/doc/refinecvs/$$f; \
done
.include "../../lang/perl5/module.mk"