aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2015-05-27 12:47:15 +0800
committerkoobs <koobs@FreeBSD.org>2015-05-27 12:47:15 +0800
commit8f40b26b0be07e3617441ae35ae97fde580c83da (patch)
tree5d7ecc2f3340e99b6e0527e33d906a4f124e2417 /mail
parentaa7a39b474ebf07e273542380f14c59ac5bbf11e (diff)
downloadfreebsd-ports-gnome-8f40b26b0be07e3617441ae35ae97fde580c83da.tar.gz
freebsd-ports-gnome-8f40b26b0be07e3617441ae35ae97fde580c83da.tar.zst
freebsd-ports-gnome-8f40b26b0be07e3617441ae35ae97fde580c83da.zip
mail/trojita: Enable password plugins
- Enable QTKEYCHAIN and CLEARTEXT plugins for trojita and trojita-qt4 - Remove obsolete path patch and post-install: target PR: 200441 Submitted by: Marco Broder <marco dot broeder posteo eu> (maintainer)
Diffstat (limited to 'mail')
-rw-r--r--mail/trojita/Makefile13
-rw-r--r--mail/trojita/pkg-plist2
2 files changed, 7 insertions, 8 deletions
diff --git a/mail/trojita/Makefile b/mail/trojita/Makefile
index f2fc4eade266..430629971b8e 100644
--- a/mail/trojita/Makefile
+++ b/mail/trojita/Makefile
@@ -3,6 +3,7 @@
PORTNAME= trojita
PORTVERSION= 0.5
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= SF/${PORTNAME}/src/
@@ -17,9 +18,9 @@ USE_LDCONFIG= yes
USES= cmake compiler:c++11-lib cpe desktop-file-utils tar:bzip2
CPE_PROJECT= trojita_project
CMAKE_ARGS+= -DCMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make \
- -DWITH_CLEARTEXT_PLUGIN:STRING=OFF -DWITH_DBUS:STRING=ON \
+ -DWITH_CLEARTEXT_PLUGIN:STRING=ON -DWITH_DBUS:STRING=ON \
-DWITH_DESKTOP:STRING=ON -DWITH_HARMATTAN:STRING=OFF \
- -DWITH_QTKEYCHAIN_PLUGIN:STRING=OFF -DWITH_RAGEL:STRING=OFF \
+ -DWITH_QTKEYCHAIN_PLUGIN:STRING=ON -DWITH_RAGEL:STRING=OFF \
-DWITH_SHARED_PLUGINS:STRING=ON -DWITH_TESTS:STRING=OFF \
-DWITH_ZLIB:STRING=ON
@@ -28,21 +29,17 @@ INSTALLS_ICONS= yes
.if defined(PKGNAMESUFFIX) && ${PKGNAMESUFFIX} == "-qt4"
CONFLICTS_INSTALL= trojita-[0-9]*
+LIB_DEPENDS+= libqtkeychain.so:${PORTSDIR}/security/qtkeychain-qt4
CMAKE_ARGS+= -DWITH_QT5:STRING=OFF
USE_QT4= linguisttools_build moc_build qmake_build rcc_build uic_build \
corelib dbus gui network opengl sql sql-sqlite3 webkit
.else
CONFLICTS_INSTALL= trojita-qt4-[0-9]*
+LIB_DEPENDS+= libqt5keychain.so:${PORTSDIR}/security/qtkeychain-qt5
CMAKE_ARGS+= -DWITH_QT5:STRING=ON
USE_QT5= buildtools_build linguisttools_build qmake_build \
core dbus gui network opengl printsupport \
qml quick sql sql-sqlite3 webkit widgets
.endif
-post-patch:
- ${REINPLACE_CMD} -e 's|$${LINGUIST_PATH}/bin|${QT_BINDIR}|g' \
- ${WRKSRC}/cmake/FindQt5LinguistForTrojita.cmake
-
-post-install:
-
.include <bsd.port.mk>
diff --git a/mail/trojita/pkg-plist b/mail/trojita/pkg-plist
index b53b7f4cf813..8c6103110c7d 100644
--- a/mail/trojita/pkg-plist
+++ b/mail/trojita/pkg-plist
@@ -1,6 +1,8 @@
bin/be.contacts
bin/trojita
lib/libtrojita_plugins.so
+lib/trojita/trojita_plugin_ClearTextPasswordPlugin.so
+lib/trojita/trojita_plugin_QtKeychainPasswordPlugin.so
share/appdata/trojita.appdata.xml
share/applications/trojita.desktop
share/icons/hicolor/32x32/apps/trojita.png