aboutsummaryrefslogtreecommitdiff
path: root/textproc/ibus-qt/Makefile
blob: 01c22a2f700ddb8c4aea5b5ba7321de64e74887a (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
# Created by: Henry Hu <henry.hu.sh@gmail.com>
# $FreeBSD$

PORTNAME=	ibus-qt
PORTVERSION=	1.3.3
PORTREVISION=	1
CATEGORIES=	textproc
MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${PORTNAME}/releases/download/${PORTVERSION}/ \
		http://github.com/${GH_ACCOUNT}/${PORTNAME}/releases/download/${PORTVERSION}/
DISTNAME=	${PORTNAME}-${PORTVERSION}-Source

MAINTAINER=	henry.hu.sh@gmail.com
COMMENT=	IBus input method module for Qt4

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	ibus>=1.3.7:textproc/ibus
RUN_DEPENDS=	ibus>=1.3.7:textproc/ibus
LIB_DEPENDS=	libdbus-1.so:devel/dbus \
	libicuuc.so:devel/icu

GH_ACCOUNT=	ibus

USE_QT4=	gui dbus moc_build qmake_build moc_build uic_build rcc_build
USES=		cmake pkgconfig
CMAKE_ARGS=	-DDOCDIR=${PREFIX}/share/doc/ibus-qt -DLIBDIR=lib
USE_LDCONFIG=	yes
CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

PROJECTHOST=	ibus
WRKSRC=			${WRKDIR}/${DISTNAME}

.include <bsd.port.mk>