aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/libskk/Makefile
blob: e20d15cebd9c7e15c2856a0ce228a57ec0be5463 (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
# New ports collection makefile for:    libskk
# Date created: 21 December 2011
# Whom:     Hiroto Kagotani <hiroto.kagotani@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   libskk
PORTVERSION=    0.0.12
CATEGORIES= japanese
MASTER_SITES=   http://cloud.github.com/downloads/ueno/libskk/

MAINTAINER= hiroto.kagotani@gmail.com
COMMENT=    A library to deal with Japanese kana-to-kanji conversion method

BUILD_DEPENDS=  g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
LIB_DEPENDS=    gee.2:${PORTSDIR}/devel/libgee \
        json-glib-1.0.0:${PORTSDIR}/devel/json-glib

USE_LDCONFIG=   yes
USE_GMAKE=  yes
USE_GNOME=  intltool gnomehack
GNU_CONFIGURE=  yes
CONFIGURE_ENV+= DATADIRNAME=share
MAN1=       skk.1

CPPFLAGS+=  -I${LOCALBASE}/include

.if !defined(WITHOUT_NLS)
USE_GETTEXT=    yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=    --disable-nls
PLIST_SUB+= NLS="@comment "
.endif

post-install:
    cd ${WRKSRC}/docs && ${GMAKE} install-man

.include <bsd.port.mk>