aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2009-12-10 04:48:55 +0800
committermakc <makc@FreeBSD.org>2009-12-10 04:48:55 +0800
commit3e5420e5c64b889323cdc9961f072a513ca11904 (patch)
tree40c468157783605afaeb32e059e240e6cb5b0f00
parent3d5d4a9c297be806e862cc766326af13ebe172ed (diff)
downloadfreebsd-ports-graphics-3e5420e5c64b889323cdc9961f072a513ca11904.tar.gz
freebsd-ports-graphics-3e5420e5c64b889323cdc9961f072a513ca11904.tar.zst
freebsd-ports-graphics-3e5420e5c64b889323cdc9961f072a513ca11904.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
-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 2dfb82a4113..3451ad52c18 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 d0e45f537fd..45a9266023e 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 3ab0acc6122..4e19561b442 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