2013-04-23 13:46:54 +02:00
|
|
|
# Created by: Hiroto Kagotani <hiroto.kagotani@gmail.com>
|
2012-02-03 13:36:19 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libskk
|
2012-08-28 19:07:56 +02:00
|
|
|
PORTVERSION= 1.0.0
|
2013-03-08 11:51:34 +01:00
|
|
|
PORTREVISION= 1
|
2012-02-03 13:36:19 +01:00
|
|
|
CATEGORIES= japanese
|
|
|
|
MASTER_SITES= http://cloud.github.com/downloads/ueno/libskk/
|
|
|
|
|
|
|
|
MAINTAINER= hiroto.kagotani@gmail.com
|
2012-07-29 13:17:02 +02:00
|
|
|
COMMENT= Library to deal with Japanese Kana-to-Kanji conversion method
|
2012-02-03 13:36:19 +01:00
|
|
|
|
|
|
|
BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
|
2013-03-08 11:51:34 +01:00
|
|
|
LIB_DEPENDS= gee:${PORTSDIR}/devel/libgee06 \
|
2012-07-11 14:03:04 +02:00
|
|
|
json-glib-1.0:${PORTSDIR}/devel/json-glib
|
2012-02-03 13:36:19 +01:00
|
|
|
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_GMAKE= yes
|
2013-05-21 10:12:14 +02:00
|
|
|
USE_GCC= any
|
2012-02-03 13:36:19 +01:00
|
|
|
USE_GNOME= intltool gnomehack
|
2013-04-23 13:46:54 +02:00
|
|
|
USES= pkgconfig
|
2012-02-03 13:36:19 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV+= DATADIRNAME=share
|
|
|
|
MAN1= skk.1
|
|
|
|
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
|
2012-07-11 14:03:04 +02:00
|
|
|
OPTIONS_DEFINE= NLS
|
|
|
|
|
2013-09-20 20:47:54 +02:00
|
|
|
NO_STAGE= yes
|
2012-07-11 14:03:04 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-26 12:44:28 +02:00
|
|
|
USES+= gettext
|
2012-02-03 13:36:19 +01:00
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2012-07-20 12:24:42 +02:00
|
|
|
post-patch:
|
|
|
|
# Disabling Vala version check
|
|
|
|
${REINPLACE_CMD} -e 's/as_fn_error.*Vala.*not found.*;;/;;/' ${WRKSRC}/configure
|
|
|
|
|
2012-02-03 13:36:19 +01:00
|
|
|
post-install:
|
|
|
|
cd ${WRKSRC}/docs && ${GMAKE} install-man
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|