mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
37 lines
765 B
Makefile
37 lines
765 B
Makefile
# Created by: Jie Gao <gaoj@cpsc.ucalgary.ca>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= scim-pinyin
|
|
PORTVERSION= 0.5.92
|
|
PORTREVISION= 1
|
|
CATEGORIES= chinese
|
|
MASTER_SITES= SF/scim/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= pclin@FreeBSD.org
|
|
COMMENT= SCIM Chinese Smart Pinyin input method
|
|
|
|
BUILD_DEPENDS= scim>=1.2.0:${PORTSDIR}/textproc/scim
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= gmake iconv libtool:keepla pathfix pkgconfig
|
|
|
|
CONFIGURE_ARGS+= --disable-skim-support
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include -D__STDC_ISO_10646__
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lintl
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
|
USES+= gettext
|
|
PLIST_SUB+= NLS=""
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
PLIST_SUB+= NLS="@comment "
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|