pkgsrc/converters/smbchartool/Makefile
wiz 98c3768c3a Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:35 +00:00

35 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.8 2013/05/31 12:39:46 wiz Exp $
#
DISTNAME= smbchartool-2.3a
PKGREVISION= 4
CATEGORIES= converters japanese
MASTER_SITES= ftp://ftp.samba.gr.jp/pub/samba-jp/tool/
PATCH_SITES= http://www.miraclelinux.com/technet/samba30/download/
PATCHFILES= smbchartool-2.3a_3.0a.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
HOMEPAGE= http://www.miraclelinux.com/technet/samba30/migration.html
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
USE_TOOLS+= perl:run
NO_BUILD= yes
WRKSRC= ${WRKDIR}/smbchartool
REPLACE_PERL= capecho hexecho smbfnconv
INSTALLATION_DIRS= bin share/doc/smbchartool
do-install:
.for f in ${REPLACE_PERL}
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/bin
.endfor
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/smbchartool
${INSTALL_DATA} ${WRKSRC}/dot.bashrc.example \
${DESTDIR}${PREFIX}/share/doc/smbchartool/dot.profile
.include "../../mk/bsd.pkg.mk"