Sun Mar 3 21:05:57 2019 UTC ()
chat/psi: Use enchant2.


(nia)
diff -r1.88 -r1.89 pkgsrc/chat/psi/Makefile
diff -r1.3 -r1.4 pkgsrc/chat/psi/options.mk

cvs diff -r1.88 -r1.89 pkgsrc/chat/psi/Makefile (expand / switch to unified diff)

--- pkgsrc/chat/psi/Makefile 2019/02/08 20:04:19 1.88
+++ pkgsrc/chat/psi/Makefile 2019/03/03 21:05:57 1.89
@@ -1,16 +1,17 @@ @@ -1,16 +1,17 @@
1# $NetBSD: Makefile,v 1.88 2019/02/08 20:04:19 nia Exp $ 1# $NetBSD: Makefile,v 1.89 2019/03/03 21:05:57 nia Exp $
2 2
3DISTNAME= psi-1.4 3DISTNAME= psi-1.4
 4PKGREVISION= 1
4CATEGORIES= chat 5CATEGORIES= chat
5MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=psi/} 6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=psi/}
6EXTRACT_SUFX= .tar.xz 7EXTRACT_SUFX= .tar.xz
7 8
8MAINTAINER= schnoebe@NetBSD.org 9MAINTAINER= schnoebe@NetBSD.org
9HOMEPAGE= https://psi-im.org/ 10HOMEPAGE= https://psi-im.org/
10COMMENT= Psi XMPP/Jabber Client 11COMMENT= Psi XMPP/Jabber Client
11LICENSE= gnu-gpl-v2 12LICENSE= gnu-gpl-v2
12 13
13DEPENDS+= qca2-qt5-ossl>=2.0.0beta3:../../security/qca2-qt5-ossl 14DEPENDS+= qca2-qt5-ossl>=2.0.0beta3:../../security/qca2-qt5-ossl
14 15
15DIST_SUBDIR= ${DISTNAME} 16DIST_SUBDIR= ${DISTNAME}
16DISTFILES= ${DEFAULT_DISTFILES} 17DISTFILES= ${DEFAULT_DISTFILES}

cvs diff -r1.3 -r1.4 pkgsrc/chat/psi/options.mk (expand / switch to unified diff)

--- pkgsrc/chat/psi/options.mk 2019/02/08 14:56:01 1.3
+++ pkgsrc/chat/psi/options.mk 2019/03/03 21:05:57 1.4
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: options.mk,v 1.3 2019/02/08 14:56:01 nia Exp $ 1# $NetBSD: options.mk,v 1.4 2019/03/03 21:05:57 nia Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.psi 3PKG_OPTIONS_VAR= PKG_OPTIONS.psi
4PKG_SUPPORTED_OPTIONS+= aspell enchant whiteboard xscreensaver 4PKG_SUPPORTED_OPTIONS+= aspell enchant whiteboard xscreensaver
5PKG_SUGGESTED_OPTIONS+= aspell enchant 5PKG_SUGGESTED_OPTIONS+= aspell enchant
6 6
7# from an idea stolen from ../../misc/openoffice3. 7# from an idea stolen from ../../misc/openoffice3.
8PSI_SUPPORTED_LANGUAGES=be cs de eo es es-es fr it ja mk pl pt-br ru \ 8PSI_SUPPORTED_LANGUAGES=be cs de eo es es-es fr it ja mk pl pt-br ru \
9 sl sv uk ur-pk vi zh-cn zh-tw 9 sl sv uk ur-pk vi zh-cn zh-tw
10 10
11.for l in ${PSI_SUPPORTED_LANGUAGES} 11.for l in ${PSI_SUPPORTED_LANGUAGES}
12PKG_SUPPORTED_OPTIONS+= lang-${l} 12PKG_SUPPORTED_OPTIONS+= lang-${l}
13PLIST_VARS+=${l} 13PLIST_VARS+=${l}
14.endfor 14.endfor
@@ -28,27 +28,27 @@ PLIST.${lang} = yes @@ -28,27 +28,27 @@ PLIST.${lang} = yes
28.endfor 28.endfor
29 29
30# enable aspell 30# enable aspell
31.if !empty(PKG_OPTIONS:Maspell) 31.if !empty(PKG_OPTIONS:Maspell)
32CONFIGURE_ARGS+= --with-aspell-inc=${BUILDLINK_PREFIX.aspell}/include 32CONFIGURE_ARGS+= --with-aspell-inc=${BUILDLINK_PREFIX.aspell}/include
33CONFIGURE_ARGS+= --with-aspell-lib=${BUILDLINK_PREFIX.aspell}/lib 33CONFIGURE_ARGS+= --with-aspell-lib=${BUILDLINK_PREFIX.aspell}/lib
34.include "../../textproc/aspell/buildlink3.mk" 34.include "../../textproc/aspell/buildlink3.mk"
35.else 35.else
36CONFIGURE_ARGS+= --disable-aspell 36CONFIGURE_ARGS+= --disable-aspell
37.endif 37.endif
38 38
39# enable enchant 39# enable enchant
40.if !empty(PKG_OPTIONS:Menchant) 40.if !empty(PKG_OPTIONS:Menchant)
41.include "../../textproc/enchant/buildlink3.mk" 41.include "../../textproc/enchant2/buildlink3.mk"
42.else 42.else
43CONFIGURE_ARGS+= --disable-enchant 43CONFIGURE_ARGS+= --disable-enchant
44.endif 44.endif
45 45
46# enable whiteboarding 46# enable whiteboarding
47.if !empty(PKG_OPTIONS:Mwhiteboard) 47.if !empty(PKG_OPTIONS:Mwhiteboard)
48CONFIGURE_ARGS+= --enable-whiteboarding 48CONFIGURE_ARGS+= --enable-whiteboarding
49.endif 49.endif
50 50
51# enable xscreensaver extension 51# enable xscreensaver extension
52.if empty(PKG_OPTIONS:Mxscreensaver) 52.if empty(PKG_OPTIONS:Mxscreensaver)
53CONFIGURE_ARGS+= --disable-xss 53CONFIGURE_ARGS+= --disable-xss
54.endif 54.endif