summaryrefslogtreecommitdiff
path: root/chinese/scim-fcitx/Makefile
blob: c19e6e78b1569b249bdc61be9195d1ef6dcfc403 (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
# Created by: Yinghong Liu <relaxbsd@gmail.com>

PORTNAME=	scim
PORTVERSION=	3.1.1
PORTREVISION=	9
CATEGORIES=	chinese
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-fcitx/${PORTVERSION}
PKGNAMESUFFIX=	-fcitx
DISTNAME=	${PORTNAME}${PKGNAMESUFFIX}.${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	SCIM IMEngine module for fcitx

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

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

USES=		compiler:c++11-lang tar:bzip2 gmake libtool:keepla pkgconfig \
		localbase:ldflags
GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip
MAKE_JOBS_UNSAFE=	yes

CONFIGURE_INSTALL=	zh-fcitx

WRKSRC=		${WRKDIR}/fcitx

CONFIGURE_ENV+=	SCIM_DATADIR=${PREFIX}/share/scim \
		SCIM_ICONDIR=${PREFIX}/share/scim/icons
LDFLAGS+=	-lintl

SUB_FILES=	pkg-message

.include <bsd.port.mk>