diff options
Diffstat (limited to 'converters/smbchartool')
-rw-r--r-- | converters/smbchartool/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/converters/smbchartool/Makefile b/converters/smbchartool/Makefile index 6307e106f0f..f994c17f6f3 100644 --- a/converters/smbchartool/Makefile +++ b/converters/smbchartool/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2007/05/29 01:07:49 schmonz Exp $ +# $NetBSD: Makefile,v 1.4 2008/03/03 05:51:08 jlam Exp $ # DISTNAME= smbchartool-2.3a @@ -17,6 +17,8 @@ COMMENT= File name conversion tool for Samba DEPENDS+= jcode-perl>=2.13:../../converters/jcode-perl DEPENDS+= p5-Text-Iconv>=1.4:../../converters/p5-Text-Iconv +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= perl:run NO_BUILD= yes WRKSRC= ${WRKDIR}/smbchartool @@ -24,11 +26,11 @@ REPLACE_PERL= capecho hexecho smbfnconv do-install: .for f in ${REPLACE_PERL} - ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/bin .endfor - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/smbchartool - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/smbchartool + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/smbchartool + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/smbchartool ${INSTALL_DATA} ${WRKSRC}/dot.bashrc.example \ - ${PREFIX}/share/doc/smbchartool/dot.profile + ${DESTDIR}${PREFIX}/share/doc/smbchartool/dot.profile .include "../../mk/bsd.pkg.mk" |