aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ibus-qt/Makefile
blob: 96bafcd38e56c89502d7265215ea1a5b932ec86b (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
37
38
39
40
41
# New ports collection Makefile for:    ibus-qt
# Date created:             10 November 2009
# Whom:                 Henry Hu <henry.hu.sh@gmail.com>
#
# $FreeBSD$

PORTNAME=   ibus-qt
PORTVERSION=    1.2.0.20091014
CATEGORIES= textproc
MASTER_SITES=   ${MASTER_SITE_GOOGLE_CODE}
DISTNAME=       ${PORTNAME}-${PORTVERSION}-Source

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

BUILD_DEPENDS=  ${LOCALBASE}/libdata/pkgconfig/ibus-1.0.pc:${PORTSDIR}/textproc/ibus \
    ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:${PORTSDIR}/devel/dbus \
    ${LOCALBASE}/bin/icu-config:${PORTSDIR}/devel/icu
RUN_DEPENDS=    ${LOCALBASE}/libdata/pkgconfig/ibus-1.0.pc:${PORTSDIR}/textproc/ibus \
    ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:${PORTSDIR}/devel/dbus \
    ${LOCALBASE}/bin/icu-config:${PORTSDIR}/devel/icu

USE_QT_VER= 4
QT_COMPONENTS=  gui dbus moc_build qmake_build moc_build uic_build rcc_build
USE_CMAKE=  yes
CMAKE_ARGS= -DCMAKE_INSTALL_PREFIX=${PREFIX} -DDOCDIR=${PREFIX}/share/doc/ibus-qt
USE_LDCONFIG=   yes

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

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 700042
BROKEN=     Does not build
.endif

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>