aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/libskk/Makefile
blob: 105f89e88c3f09debbcb72939b7b6466c8de0f62 (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
37
38
39
40
41
42
# Created by: Hiroto Kagotani <hiroto.kagotani@gmail.com>
# $FreeBSD$

PORTNAME=   libskk
PORTVERSION=    1.0.1
PORTREVISION=   2
CATEGORIES= japanese
MASTER_SITES=   https://bitbucket.org/libskk/libskk/downloads/

MAINTAINER= hiroto.kagotani@gmail.com
COMMENT=    Library to deal with Japanese Kana-to-Kanji conversion method

LICENSE=    GPLv3

BUILD_DEPENDS=  valac:${PORTSDIR}/lang/vala \
        p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
LIB_DEPENDS=    libgee.so:${PORTSDIR}/devel/libgee06 \
        libjson-glib-1.0.so:${PORTSDIR}/devel/json-glib

GNU_CONFIGURE=  yes
INSTALL_TARGET= install-strip
USES=       gmake libtool pathfix pkgconfig
USE_GNOME=  intlhack introspection:build
USE_LDCONFIG=   yes

CPPFLAGS+=  -I${LOCALBASE}/include
LIBS+=      -L${LOCALBASE}/lib

PORTDOCS=   ChangeLog NEWS README

OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB=    yes

NLS_CONFIGURE_ENABLE=   nls
NLS_USES=   gettext
NLS_USES_OFF=   gettext-tools

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>