Lines 2-9
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= psi |
3 |
PORTNAME= psi |
4 |
PORTVERSION= 1.5 |
4 |
PORTVERSION= 1.5 |
|
|
5 |
PORTREVISION= 1 |
5 |
CATEGORIES= net-im |
6 |
CATEGORIES= net-im |
6 |
MASTER_SITES= SF/${PORTNAME}/Psi/${PORTVERSION} |
|
|
7 |
|
7 |
|
8 |
MAINTAINER= danfe@FreeBSD.org |
8 |
MAINTAINER= danfe@FreeBSD.org |
9 |
COMMENT= Qt-based Jabber (XMPP) client |
9 |
COMMENT= Qt-based Jabber (XMPP) client |
Lines 19-37
Link Here
|
19 |
x11extras xml buildtools_build qmake_build imageformats_run |
19 |
x11extras xml buildtools_build qmake_build imageformats_run |
20 |
USE_XORG= ice sm x11 xcb xext xscrnsaver |
20 |
USE_XORG= ice sm x11 xcb xext xscrnsaver |
21 |
|
21 |
|
|
|
22 |
USE_GITHUB= yes |
23 |
GH_ACCOUNT= psi-im |
24 |
GH_TUPLE+= psi-im:libpsi:b89b906:libpsi/src/libpsi |
25 |
GH_TUPLE+= psi-im:iris:ecbaf62:iris/iris |
26 |
|
22 |
CMAKE_ARGS= -DIDN_LIBRARY:FILEPATH="${LOCALBASE}/lib/libidn.so" \ |
27 |
CMAKE_ARGS= -DIDN_LIBRARY:FILEPATH="${LOCALBASE}/lib/libidn.so" \ |
23 |
-DIDN_INCLUDE_DIR:PATH="${LOCALBASE}/include" |
28 |
-DIDN_INCLUDE_DIR:PATH="${LOCALBASE}/include" |
24 |
|
29 |
|
25 |
OPTIONS_DEFINE= WEBKIT |
30 |
OPTIONS_DEFINE= WEBKIT NLS PLUGINS |
26 |
OPTIONS_RADIO= SPELLCHECK |
31 |
OPTIONS_RADIO= SPELLCHECK |
27 |
OPTIONS_RADIO_SPELLCHECK= HUNSPELL ENCHANT |
32 |
OPTIONS_RADIO_SPELLCHECK= HUNSPELL ENCHANT |
28 |
SPELLCHECK_DESC= Spell checker backend |
33 |
SPELLCHECK_DESC= Spell checker backend |
29 |
OPTIONS_DEFAULT= HUNSPELL |
34 |
OPTIONS_DEFAULT= HUNSPELL NLS PLUGINS |
30 |
OPTIONS_SUB= yes |
35 |
OPTIONS_SUB= yes |
31 |
|
36 |
|
32 |
WEBKIT_USE= QT=webkit |
37 |
WEBKIT_USE= QT=webkit |
33 |
WEBKIT_CMAKE_BOOL= ENABLE_WEBKIT |
38 |
WEBKIT_CMAKE_BOOL= ENABLE_WEBKIT |
34 |
|
39 |
|
|
|
40 |
NLS_USE= QT=linguisttools_build |
41 |
|
42 |
PLUGINS_DESC= Psi+ plugins |
43 |
PLUGINS_LIB_DEPENDS= libotr.so:security/libotr\ |
44 |
libtidy-0.99.so.0:www/tidy-lib\ |
45 |
libgcrypt.so:security/libgcrypt\ |
46 |
libgpg-error.so:security/libgpg-error |
47 |
|
48 |
# List of all available 'generic' plugins with the exception of: |
49 |
# - screenshotplugin which does not build at this time |
50 |
# - imagepreviewplugin and juickplugin which require option WEBKIT |
51 |
|
52 |
PLUGINS_VARS= plugin_list+=;attentionplugin;autoreplyplugin; |
53 |
PLUGINS_VARS+= plugin_list+=;birthdayreminderplugin;chessplugin; |
54 |
PLUGINS_VARS+= plugin_list+=;cleanerplugin;conferenceloggerplugin; |
55 |
PLUGINS_VARS+= plugin_list+=;contentdownloaderplugin; |
56 |
PLUGINS_VARS+= plugin_list+=;enummessagesplugin;extendedmenuplugin; |
57 |
PLUGINS_VARS+= plugin_list+=;extendedoptionsplugin;gnupgplugin; |
58 |
PLUGINS_VARS+= plugin_list+=;gomokugameplugin;historykeeperplugin; |
59 |
PLUGINS_VARS+= plugin_list+=;httpuploadplugin;icqdieplugin; |
60 |
PLUGINS_VARS+= plugin_list+=;imageplugin;jabberdiskplugin; |
61 |
PLUGINS_VARS+= plugin_list+=;messagefilterplugin;otrplugin; |
62 |
PLUGINS_VARS+= plugin_list+=;pepchangenotifyplugin;qipxstatusesplugin; |
63 |
PLUGINS_VARS+= plugin_list+=;skinsplugin;stopspamplugin; |
64 |
PLUGINS_VARS+= plugin_list+=;storagenotesplugin;translateplugin; |
65 |
PLUGINS_VARS+= plugin_list+=;videostatusplugin;watcherplugin; |
66 |
|
67 |
PLUGINS_CMAKE_ON= -DENABLE_PLUGINS="ON" \ |
68 |
-DBUILD_PLUGINS="${PLUGIN_LIST}"\ |
69 |
-DPLUGINS_PATH="lib/psi/plugins" |
70 |
|
35 |
HUNSPELL_LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell |
71 |
HUNSPELL_LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell |
36 |
HUNSPELL_CMAKE_BOOL= USE_HUNSPELL |
72 |
HUNSPELL_CMAKE_BOOL= USE_HUNSPELL |
37 |
|
73 |
|
Lines 39-44
Link Here
|
39 |
ENCHANT_LIB_DEPENDS= libenchant.so:textproc/enchant |
75 |
ENCHANT_LIB_DEPENDS= libenchant.so:textproc/enchant |
40 |
ENCHANT_CMAKE_BOOL= USE_ENCHANT |
76 |
ENCHANT_CMAKE_BOOL= USE_ENCHANT |
41 |
|
77 |
|
|
|
78 |
.include <bsd.port.options.mk> |
79 |
.if ${PORT_OPTIONS:MNLS} |
80 |
GH_TUPLE+= psi-im:psi-l10n:0508744:l10n/l10n |
81 |
.endif |
82 |
|
83 |
.if ${PORT_OPTIONS:MPLUGINS} |
84 |
GH_TUPLE+= psi-im:plugins:ed8c471:plugins/plugins |
85 |
.if ${PORT_OPTIONS:MWEBKIT} |
86 |
PLUGINS_VARS+= plugin_list+=;imagepreviewplugin;juickplugin; |
87 |
.endif |
88 |
.endif |
89 |
|
42 |
post-patch: |
90 |
post-patch: |
43 |
# Replace original Hunspell implementation with better alternative |
91 |
# Replace original Hunspell implementation with better alternative |
44 |
@${CP} ${FILESDIR}/hunspellchecker.* \ |
92 |
@${CP} ${FILESDIR}/hunspellchecker.* \ |
Lines 48-51
Link Here
|
48 |
@${REINPLACE_CMD} -i .c++20 's,SOURCE_DIR}/version,&.txt,' \ |
96 |
@${REINPLACE_CMD} -i .c++20 's,SOURCE_DIR}/version,&.txt,' \ |
49 |
${WRKSRC}/CMakeLists.txt |
97 |
${WRKSRC}/CMakeLists.txt |
50 |
|
98 |
|
|
|
99 |
post-extract-NLS-on: |
100 |
@${MV} ${WRKSRC}/l10n/translations ${WRKSRC}/translations |
101 |
|
102 |
post-extract-PLUGINS-on: |
103 |
@${MV} ${WRKSRC}/plugins/generic ${WRKSRC}/src/plugins/generic |
104 |
@${MV} ${WRKSRC}/plugins/unix ${WRKSRC}/src/plugins/unix |
51 |
.include <bsd.port.mk> |
105 |
.include <bsd.port.mk> |