aboutsummaryrefslogtreecommitdiff
path: root/japanese/kasumi/Makefile
blob: 11998fd01faa95632fd4dc0be58bbc4b53d33e7a (plain) (blame)
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
# Created by: MANTANI Nobutaka <nobutaka@FreeBSD.org>

PORTNAME=	kasumi
PORTVERSION=	2.5
PORTREVISION=	8
CATEGORIES=	japanese
MASTER_SITES=	OSDN/${PORTNAME}

MAINTAINER=	nobutaka@FreeBSD.org
COMMENT=	Dictionary management tool for anthy

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libanthy.so:japanese/anthy \
		libfontconfig.so:x11-fonts/fontconfig \
		libfreetype.so:print/freetype2

USES=		compiler:c++11-lang gmake gnome iconv:wchar_t localbase:ldflags pkgconfig
USE_GNOME=	gtk20 cairo gdkpixbuf2

GNU_CONFIGURE=	yes

OPTIONS_DEFINE=	NLS

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
USES+=		gettext
PLIST_SUB+=	NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+=	NLS="@comment "
.endif

.include <bsd.port.mk>