pkgsrc/converters/convmv/Makefile
wiz 0fc46f7359 Update to 1.15:
1.15
- add --dump-options to make it easier to allow people to write a
bash completion file. Let me know when you have one ready :-)

- fix a bug where on case-insensitive filesystems --upper and
--lower did not work because we thought the new file would already
exist (stat "foo" and stat "FOO" are the same, yeah. The obvious
workaround to use "--replace" would delete the files on case-insensitive
filesystems instead, which was even worse. Case conversion should
be working well now, I tested it on Darwin and on case-insensitive
XFS. The latter one is a bit buggy by the way, see
https://bugzilla.kernel.org/show_bug.cgi?id=39512. convmv works
around that bug, too.
2011-08-22 13:23:38 +00:00

43 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.13 2011/08/22 13:23:38 wiz Exp $
DISTNAME= convmv-1.15
CATEGORIES= converters
MASTER_SITES= http://www.j3e.de/linux/convmv/
MAINTAINER= heinz@NetBSD.org
HOMEPAGE= http://j3e.de/linux/convmv/
COMMENT= Converts filenames from one encoding to another
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LANGUAGES= # empty
USE_TOOLS+= pax perl:run
MANCOMPRESSED= yes
NO_BUILD= yes
MAKEFLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}
MAKEFLAGS+= INSTALL_MAN_DIR=${INSTALL_MAN_DIR:Q}
MAKEFLAGS+= INSTALL_SCRIPT_DIR=${INSTALL_SCRIPT_DIR:Q}
MAKEFLAGS+= INSTALL_MAN=${INSTALL_MAN:Q}
MAKEFLAGS+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q}
REPLACE_PERL+= ${WRKSRC}/convmv
REPLACE_PERL+= suite/parsable_tester.pl
REPLACE_SH+= suite/dotests.sh
CHECK_PORTABILITY_SKIP= suite/test-nfd/*
TEST_TARGET= test
.include "../../mk/bsd.prefs.mk"
.if empty(OPSYS:MDarwin)
post-extract:
# use option p to get the right permissions for symlinks
cd ${WRKSRC} && pax -p p -rf testsuite.tar
.endif
.include "../../mk/bsd.pkg.mk"