aboutsummaryrefslogtreecommitdiff
path: root/mail/trojita
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2014-03-23 17:13:52 +0000
committerMatthias Andree <mandree@FreeBSD.org>2014-03-23 17:13:52 +0000
commit10ccc9995ed0a532936fe07efbc90eacb587499f (patch)
tree2de587b648c77724d685e25cbafa5d5f6cea1b22 /mail/trojita
parentf066a86cf3ddb4849ed15b1d61f42e550c770f91 (diff)
downloadports-10ccc9995ed0a532936fe07efbc90eacb587499f.tar.gz
ports-10ccc9995ed0a532936fe07efbc90eacb587499f.zip
Notes
Diffstat (limited to 'mail/trojita')
-rw-r--r--mail/trojita/Makefile32
-rw-r--r--mail/trojita/distinfo4
-rw-r--r--mail/trojita/pkg-plist2
3 files changed, 27 insertions, 11 deletions
diff --git a/mail/trojita/Makefile b/mail/trojita/Makefile
index 7a927cccf75d..aad6cd72c869 100644
--- a/mail/trojita/Makefile
+++ b/mail/trojita/Makefile
@@ -2,30 +2,44 @@
# $FreeBSD$
PORTNAME= trojita
-PORTVERSION= 0.3.96
-PORTREVISION= 1
+PORTVERSION= 0.4.1
CATEGORIES= mail
MASTER_SITES= SF/${PORTNAME}/src/
MAINTAINER= marco.broeder@posteo.eu
-COMMENT= Fast cross-platform Qt IMAP e-mail client
+COMMENT= Fast cross-platform IMAP e-mail client using Qt 5 toolkit
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-USE_BZIP2= yes
USE_LDCONFIG= yes
-USES= cmake compiler:c++11-lib desktop-file-utils
+USES= cmake compiler:c++11-lib desktop-file-utils tar:bzip2
CMAKE_ARGS+= -DCMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make \
- -DWITH_QT5:STRING=OFF -DWITH_TESTS:STRING=OFF
-
-USE_QT4= linguist_build moc_build qmake_build rcc_build uic_build \
- sql-sqlite3 webkit
+ -DWITH_DESKTOP:STRING=ON -DWITH_HARMATTAN:STRING=OFF \
+ -DWITH_RAGEL:STRING=OFF -DWITH_SHARED_PLUGINS:STRING=ON \
+ -DWITH_TESTS:STRING=OFF -DWITH_ZLIB:STRING=ON
HAS_CONFIGURE= yes
INSTALLS_ICONS= yes
+.if defined(PKGNAMESUFFIX) && ${PKGNAMESUFFIX} == "-qt4"
+CONFLICTS_INSTALL= trojita-[0-9]*
+CMAKE_ARGS+= -DWITH_QT5:STRING=OFF
+USE_QT4= linguist_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]*
+CMAKE_ARGS+= -DWITH_QT5:STRING=ON
+USE_QT5= buildtools_build linguisttools_build qmake_build \
+ qmldevtools_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/distinfo b/mail/trojita/distinfo
index 1450e68f1bd6..708196611610 100644
--- a/mail/trojita/distinfo
+++ b/mail/trojita/distinfo
@@ -1,2 +1,2 @@
-SHA256 (trojita-0.3.96.tar.bz2) = f085dba2a33eed61282bdde05b0151138fbc820a7bfe4655758e1d63f31af7f1
-SIZE (trojita-0.3.96.tar.bz2) = 1068542
+SHA256 (trojita-0.4.1.tar.bz2) = 68a17498e70fd66966917fe4ecb90e6fe6f36f439c714552b8a97c004fe687de
+SIZE (trojita-0.4.1.tar.bz2) = 1219460
diff --git a/mail/trojita/pkg-plist b/mail/trojita/pkg-plist
index e37bbe50f588..551ef64d4610 100644
--- a/mail/trojita/pkg-plist
+++ b/mail/trojita/pkg-plist
@@ -16,8 +16,10 @@ share/icons/hicolor/scalable/apps/trojita.svg
%%DATADIR%%/locale/trojita_common_gl.qm
%%DATADIR%%/locale/trojita_common_hu.qm
%%DATADIR%%/locale/trojita_common_ia.qm
+%%DATADIR%%/locale/trojita_common_it.qm
%%DATADIR%%/locale/trojita_common_lt.qm
%%DATADIR%%/locale/trojita_common_mr.qm
+%%DATADIR%%/locale/trojita_common_nb.qm
%%DATADIR%%/locale/trojita_common_nl.qm
%%DATADIR%%/locale/trojita_common_pl.qm
%%DATADIR%%/locale/trojita_common_pt.qm