summaryrefslogtreecommitdiff
path: root/converters/fribidi/Makefile
blob: 3dd2b7cbd5b3acd5b4ff0e4621b23382da9aa506 (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
# $NetBSD: Makefile,v 1.23 2015/08/14 20:08:43 wiz Exp $

DISTNAME=		fribidi-0.19.7
CATEGORIES=		converters
MASTER_SITES=		http://fribidi.org/download/
LICENSE=		gnu-gpl-v2
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://fribidi.org/
COMMENT=		Free Implementation of the Unicode Bidirectional Algorithm

REPLACE_INTERPRETER+=	bash
REPLACE.bash.old=	/bin/bash
REPLACE.bash.new=	${SH}
REPLACE_FILES.bash=	run.tests

USE_LIBTOOL=		yes
GNU_CONFIGURE=		yes
USE_TOOLS+=		pkg-config gmake

PKGCONFIG_OVERRIDE=	fribidi.pc.in

TEST_TARGET=		check

# avoid installing empty man pages
# (makemandb reports errors for them, and they have no use)
# https://bugs.freedesktop.org/show_bug.cgi?id=67714

post-install:
	cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3 && \
		rm fribidi_set_debug.3 fribidi_unicode_version.3 fribidi_version_info.3

.include "../../mk/bsd.pkg.mk"