aboutsummaryrefslogtreecommitdiff
path: root/deskutils/recoll
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2019-01-26 16:38:14 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2019-01-26 16:38:14 +0000
commite54120be6e87ddf3645af33df58d870459653a1b (patch)
treebc3b05b92fe3891509cd8153d5bbe50ee06492de /deskutils/recoll
parentbb44095a305abb0c401d5703a78c67ba1ec49ad2 (diff)
downloadports-e54120be6e87ddf3645af33df58d870459653a1b.tar.gz
ports-e54120be6e87ddf3645af33df58d870459653a1b.zip
deskutils/recoll: Fix QT5 dependencies
Also change all URLs to https and use helpers. Reported by: tobik (QT dependencies)
Notes
Notes: svn path=/head/; revision=491301
Diffstat (limited to 'deskutils/recoll')
-rw-r--r--deskutils/recoll/Makefile19
-rw-r--r--deskutils/recoll/pkg-descr2
2 files changed, 7 insertions, 14 deletions
diff --git a/deskutils/recoll/Makefile b/deskutils/recoll/Makefile
index 061609bf54a0..c25d2361e47b 100644
--- a/deskutils/recoll/Makefile
+++ b/deskutils/recoll/Makefile
@@ -4,7 +4,7 @@
PORTNAME= recoll
DISTVERSION= 1.24.3
CATEGORIES= deskutils
-MASTER_SITES= http://www.lesbonscomptes.com/recoll/
+MASTER_SITES= https://www.lesbonscomptes.com/recoll/
MAINTAINER= ports@FreeBSD.org
COMMENT= Personal full text search package, based on Xapian
@@ -20,9 +20,7 @@ RUN_DEPENDS= unrar:archivers/unrar \
unrtf:textproc/unrtf
USES= bison gmake gnome iconv libtool localbase python:2.7 shebangfix
-
USE_LDCONFIG= yes
-
SHEBANG_FILES= filters/*.py filters/rcl7z filters/rclaudio \
filters/rclchm filters/rcldia filters/rclepub \
filters/rclepub1 filters/rclics filters/rclinfo \
@@ -55,8 +53,9 @@ IMAGE_RUN_DEPENDS= exiftool:graphics/p5-Image-ExifTool
LATEX_USE= tex=dvipsk:run,latex:run
PDF_RUN_DEPENDS= pdftotext:graphics/poppler-utils
PS_RUN_DEPENDS= pstotext:print/pstotext
-USE_QT= core gui network printsupport widgets webkit xml
+USE_QT= core gui network printsupport widgets webkit xml buildtools_build qmake_build
QT5_USES= qt:5 gl
+QT5_USE= GL=gl
QT5_CONFIGURE_ENABLE= qtgui
QT5_CONFIGURE_ENV= QMAKE="${QMAKE}" QMAKESPEC="${QMAKESPEC}" \
QTDIR="${PREFIX}"
@@ -65,16 +64,10 @@ SOUND_RUN_DEPENDS= mutagen-pony-${PYTHON_VER}:audio/py-mutagen@${PY_FLAVOR} \
X11MON_DESC= X11 session monitoring support
X11MON_USES= fam
X11MON_USE= xorg=ice,sm,x11
-X11MON_CONFIGURE_ENABLE=x11mon
+X11MON_CONFIGURE_ENABLE= x11mon
X11MON_CONFIGURE_WITH= fam
X11MON_BROKEN= does not build: index/rclmonrcv.cpp:(.text+0x1f13): undefined reference to `FAMOpen2'
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MQT5}
-USE_GL+=gl
-.endif
-
post-patch:
@${REINPLACE_CMD} -e \
's|@QMAKE@|${TRUE}|' \
@@ -90,8 +83,8 @@ post-patch:
${WRKSRC}/Makefile.in
pre-build-QT5-on:
- @(cd ${WRKSRC}/qtgui && ${SETENV} ${QMAKE_ENV} ${QMAKE} \
- ${QMAKE_ARGS} recoll.pro)
+ @cd ${WRKSRC}/qtgui && ${SETENV} ${QMAKE_ENV} ${QMAKE} \
+ ${QMAKE_ARGS} recoll.pro
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/recoll/*.so \
diff --git a/deskutils/recoll/pkg-descr b/deskutils/recoll/pkg-descr
index c9a0b208e3b8..867185e7b341 100644
--- a/deskutils/recoll/pkg-descr
+++ b/deskutils/recoll/pkg-descr
@@ -16,4 +16,4 @@ Features:
* Extensive documentation, with a complete user manual and manual pages
for each command.
-WWW: http://www.lesbonscomptes.com/recoll/
+WWW: https://www.lesbonscomptes.com/recoll/