summaryrefslogtreecommitdiff
path: root/converters/convmv/Makefile
blob: 8dd337d5e8c2ca3f4fe45144a42b2f5e1750bc06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# $NetBSD: Makefile,v 1.22 2016/03/12 21:53:39 tnn Exp $

DISTNAME=		convmv-2.0
PKGREVISION=		1
CATEGORIES=		converters
MASTER_SITES=		http://www.j3e.de/linux/convmv/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://j3e.de/linux/convmv/
COMMENT=		Converts filenames from one encoding to another
LICENSE=		gnu-gpl-v2

USE_LANGUAGES=		# empty
USE_TOOLS+=		pax perl:run

MANCOMPRESSED=		yes
NO_BUILD=		yes

MAKE_FLAGS+=		MANDIR=${PREFIX}/${PKGMANDIR}
MAKE_FLAGS+=		INSTALL_MAN_DIR=${INSTALL_MAN_DIR:Q}
MAKE_FLAGS+=		INSTALL_SCRIPT_DIR=${INSTALL_SCRIPT_DIR:Q}
MAKE_FLAGS+=		INSTALL_MAN=${INSTALL_MAN:Q}
MAKE_FLAGS+=		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"