aboutsummaryrefslogtreecommitdiff
path: root/net-im/psi
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2009-12-09 20:48:55 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2009-12-09 20:48:55 +0000
commitaf51c70bbf63cf8abc9ef9cc29455ca7197d82ec (patch)
treecfbc812d04bf1554fc5390c6fe06052518e3c7d1 /net-im/psi
parentf273819f2c3e4ebf24546d0c3ac15bad9858ead3 (diff)
downloadports-af51c70bbf63cf8abc9ef9cc29455ca7197d82ec.tar.gz
ports-af51c70bbf63cf8abc9ef9cc29455ca7197d82ec.zip
Update to 0.14
Make Aspell support optional (on by default) Changelog: http://lists.affinix.com/pipermail/psi-devel-affinix.com/2009-December/008928.html
Notes
Notes: svn path=/head/; revision=245460
Diffstat (limited to 'net-im/psi')
-rw-r--r--net-im/psi/Makefile36
-rw-r--r--net-im/psi/distinfo6
-rw-r--r--net-im/psi/pkg-plist1
3 files changed, 34 insertions, 9 deletions
diff --git a/net-im/psi/Makefile b/net-im/psi/Makefile
index 2dfb82a4113b..3451ad52c183 100644
--- a/net-im/psi/Makefile
+++ b/net-im/psi/Makefile
@@ -6,15 +6,14 @@
#
PORTNAME= psi
-PORTVERSION= 0.13
+PORTVERSION= 0.14
CATEGORIES= net-im
MASTER_SITES= SF/${PORTNAME}/Psi/${PORTVERSION}
MAINTAINER= makc@FreeBSD.org
COMMENT= A Qt-based Jabber client
-LIB_DEPENDS= qca.2:${PORTSDIR}/devel/qca \
- aspell.16:${PORTSDIR}/textproc/aspell
+LIB_DEPENDS= qca.2:${PORTSDIR}/devel/qca
RUN_DEPENDS= qca-ossl>=2.0.0.b3:${PORTSDIR}/security/qca-ossl \
qca-gnupg>=2.0.0.b3:${PORTSDIR}/security/qca-gnupg
@@ -26,13 +25,38 @@ QT_COMPONENTS= corelib dbus gui iconengines imageformats qt3support \
qmake_build moc_build rcc_build uic_build
CONFIGURE_ARGS= --prefix=${PREFIX} --qtdir=${LOCALBASE} \
- --with-aspell-inc=${LOCALBASE}/include \
- --with-aspell-lib=${LOCALBASE}/lib \
- --disable-growl --disable-ghbnr --disable-bundled-qca \
+ --disable-growl --disable-bundled-qca \
--verbose
MAKE_JOBS_UNSAFE= yes
+OPTIONS= ASPELL "Use aspell for spell checking" on \
+ ENCHANT "Use Enchant for spell checking" off
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_DEBUG)
+CONFIGURE_ARGS+= --debug
+PLIST_SUB+= DEBUG=""
+.else
+CONFIGURE_ARGS+= --release --no-separate-debug-info
+PLIST_SUB+= DEBUG="@comment "
+.endif
+
+.if defined(WITH_ASPELL)
+LIB_DEPENDS+= aspell.16:${PORTSDIR}/textproc/aspell
+CONFIGURE_ARGS+= --with-aspell-inc=${LOCALBASE}/include \
+ --with-aspell-lib=${LOCALBASE}/lib
+.else
+CONFIGURE_ARGS+= --disable-aspell
+.endif
+
+.if defined(WITH_ENCHANT)
+LIB_DEPENDS+= enchant.1:${PORTSDIR}/textproc/enchant
+.else
+CONFIGURE_ARGS+= --disable-enchant
+.endif
+
post-install:
${STRIP_CMD} ${PREFIX}/bin/psi
diff --git a/net-im/psi/distinfo b/net-im/psi/distinfo
index d0e45f537fd8..45a9266023e1 100644
--- a/net-im/psi/distinfo
+++ b/net-im/psi/distinfo
@@ -1,3 +1,3 @@
-MD5 (psi-0.13.tar.bz2) = ddc1a2a35dc155ca46ad6ecaeccdf894
-SHA256 (psi-0.13.tar.bz2) = 4e7771cd79b251656f3435d8d4f261ff367f8c69492576fd63ced03dcb87e070
-SIZE (psi-0.13.tar.bz2) = 2180062
+MD5 (psi-0.14.tar.bz2) = 9d7dcce3bcab53b741a712199bd986be
+SHA256 (psi-0.14.tar.bz2) = aa014a20d59beb23ce2e853fac3d1d70b4b029591627ae0f0a6a3b9f7150a4c0
+SIZE (psi-0.14.tar.bz2) = 2168801
diff --git a/net-im/psi/pkg-plist b/net-im/psi/pkg-plist
index 3ab0acc61221..4e19561b442b 100644
--- a/net-im/psi/pkg-plist
+++ b/net-im/psi/pkg-plist
@@ -1,4 +1,5 @@
bin/psi
+%%DEBUG%%bin/psi.debug
share/applications/psi.desktop
share/icons/hicolor/128x128/apps/psi.png
share/icons/hicolor/16x16/apps/psi.png