diff options
Diffstat (limited to 'devel/refinecvs/Makefile')
-rw-r--r-- | devel/refinecvs/Makefile | 14 |
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" |