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

PORTNAME=   ibus-qt
PORTVERSION=    1.3.1
PORTREVISION=   3
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 \
    doxygen:${PORTSDIR}/devel/doxygen
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_QT4=    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
CFLAGS+=    -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

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>