aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/kasumi/Makefile
blob: b0cfb6f07b89e3b102342d3b67c4d409aba66627 (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
# New ports collection makefile for:    kasumi
# Date Created:             10 January 2005
# Whom:                 MANTANI Nobutaka <nobutaka@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   kasumi
PORTVERSION=    2.3
CATEGORIES= japanese
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE_JP}
MASTER_SITE_SUBDIR= ${PORTNAME}/27825

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

USE_GMAKE=  yes
USE_GNOME=  gnomehier gtk20
USE_GETOPT_LONG=    yes
LIB_DEPENDS=    anthy.1:${PORTSDIR}/japanese/anthy

GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"

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

MAN1=       kasumi.1

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

.include <bsd.port.mk>