2013-02-17 04:18:23 +00:00
|
|
|
# Created by: Jie Gao <gaoj@cpsc.ucalgary.ca>
|
2004-07-02 22:36:26 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2005-03-10 12:31:47 +00:00
|
|
|
PORTNAME= scim-pinyin
|
2013-02-17 04:18:23 +00:00
|
|
|
PORTVERSION= 0.5.92
|
2014-04-24 17:16:28 +00:00
|
|
|
PORTREVISION= 1
|
2004-07-02 22:36:26 +00:00
|
|
|
CATEGORIES= chinese
|
2009-08-22 00:15:15 +00:00
|
|
|
MASTER_SITES= SF/scim/${PORTNAME}/${PORTVERSION}
|
2004-07-02 22:36:26 +00:00
|
|
|
|
2013-02-17 04:18:23 +00:00
|
|
|
MAINTAINER= pclin@FreeBSD.org
|
2004-07-02 22:36:26 +00:00
|
|
|
COMMENT= SCIM Chinese Smart Pinyin input method
|
|
|
|
|
2013-02-17 04:18:23 +00:00
|
|
|
BUILD_DEPENDS= scim>=1.2.0:${PORTSDIR}/textproc/scim
|
2012-06-10 18:42:48 +00:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2004-07-02 22:36:26 +00:00
|
|
|
|
2014-04-24 17:16:28 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USES= gmake iconv libtool:keepla pathfix pkgconfig
|
2004-08-12 07:14:44 +00:00
|
|
|
|
2013-02-17 04:18:23 +00:00
|
|
|
CONFIGURE_ARGS+= --disable-skim-support
|
2011-09-23 22:26:39 +00:00
|
|
|
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include -D__STDC_ISO_10646__
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lintl
|
2004-07-02 22:36:26 +00:00
|
|
|
|
2013-02-17 04:18:23 +00:00
|
|
|
OPTIONS_DEFINE= NLS
|
2004-08-12 07:14:44 +00:00
|
|
|
|
2013-02-17 04:18:23 +00:00
|
|
|
.include <bsd.port.options.mk>
|
2006-02-12 10:46:04 +00:00
|
|
|
|
2013-02-17 04:18:23 +00:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-24 18:10:30 +00:00
|
|
|
USES+= gettext
|
2013-02-17 04:18:23 +00:00
|
|
|
PLIST_SUB+= NLS=""
|
2006-02-12 10:46:04 +00:00
|
|
|
.else
|
2013-02-17 04:18:23 +00:00
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
2006-02-12 10:46:04 +00:00
|
|
|
.endif
|
|
|
|
|
2013-02-17 04:18:23 +00:00
|
|
|
.include <bsd.port.mk>
|