aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/scim-pinyin/Makefile
blob: 67d8367c165eca768ab8c55cb0c3b0f52228e702 (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
# Created by: Jie Gao <gaoj@cpsc.ucalgary.ca>
# $FreeBSD$

PORTNAME=   scim-pinyin
PORTVERSION=    0.5.92
PORTREVISION=   4
CATEGORIES= chinese
MASTER_SITES=   SF/scim/${PORTNAME}/${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    SCIM Chinese Smart Pinyin input method

BUILD_DEPENDS=  scim>=1.2.0:textproc/scim
RUN_DEPENDS:=   ${BUILD_DEPENDS}

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

USES=       gmake iconv libtool:keepla pathfix pkgconfig
GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=    --disable-skim-support
INSTALL_TARGET= install-strip

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

OPTIONS_DEFINE= NLS
OPTIONS_SUB=    yes
NLS_USES=   gettext
NLS_CONFIGURE_ENABLE=   nls

.include <bsd.port.mk>