aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/qterm/Makefile
blob: c4f237a01147f428ee5daecfd6f3d95b4cd99993 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Created by: Shen Chuan-Hsing
# $FreeBSD$

PORTNAME=   qterm
PORTVERSION=    0.5.12
PORTREVISION=   5
CATEGORIES= chinese
MASTER_SITES=   SF/qterm/qterm/${PORTVERSION}

MAINTAINER= kaiwang27@gmail.com
COMMENT=    BBS client for BSD/Linux

USES=       qt:4 tar:bzip2 cmake:insource perl5
DEPRECATED=     Qt4 has been EOL since december 2015
EXPIRATION_DATE=    2019-03-15

BROKEN=     fails to build

USES=       qt:4 tar:bzip2 cmake perl5
USE_PERL5=  build
USE_QT=     codecs-cn_run codecs-tw_run gui help-tools_build \
        linguist_build moc_build network qt3support_build \
        qmake_build rcc_build uic_build xml
USE_XORG=   x11 ice
INSTALLS_ICONS= yes

CONFLICTS_INSTALL=  torque-[0-9]*

OPTIONS_DEFINE= DBUS OPENSSL PHONON QTSCRIPT
OPTIONS_DEFAULT=    DBUS OPENSSL PHONON QTSCRIPT

PHONON_DESC=    Multimedia support via Phonon
QTSCRIPT_DESC=  Scripting support via QtScript Bindings

OPENSSL_USES=       ssl
OPENSSL_CMAKE_ON=   -DQTERM_ENABLE_SSH:BOOL=TRUE
OPENSSL_CMAKE_OFF=  -DQTERM_ENABLE_SSH:BOOL=FALSE

DBUS_USES=  qt:4
DBUS_USE=   QT=dbus
DBUS_CMAKE_ON=  -DQTERM_ENABLE_DBUS:BOOL=TRUE
DBUS_CMAKE_OFF= -DQTERM_ENABLE_DBUS:BOOL=FALSE

PHONON_USES=    qt:4
PHONON_USE= QT=phonon
PHONON_CMAKE_ON=    -DQTERM_ENABLE_PHONON:BOOL=TRUE
PHONON_CMAKE_OFF=   -DQTERM_ENABLE_PHONON:BOOL=FALSE

QTSCRIPT_USES=  qt:4
QTSCRIPT_USE=   QT=script
QTSCRIPT_RUN_DEPENDS=   ${QT_PLUGINDIR}/script/libqtscript_core.so:devel/qtscriptgenerator
QTSCRIPT_CMAKE_ON=  -DQTERM_ENABLE_SCRIPT:BOOL=TRUE
QTSCRIPT_CMAKE_OFF= -DQTERM_ENABLE_SCRIPT:BOOL=FALSE

post-patch:
    ${REINPLACE_CMD} -e "/^set(QT_MIN_VERSION/d" ${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>