git: ec0512fcd946 - main - deskutils/recoll: clean up the port's Makefile before next updates
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Jul 2024 11:30:49 UTC
The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=ec0512fcd946241156f868ca9ae8c1d1c1e05868 commit ec0512fcd946241156f868ca9ae8c1d1c1e05868 Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2024-07-30 11:29:58 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2024-07-30 11:29:58 +0000 deskutils/recoll: clean up the port's Makefile before next updates - Project's web pages have been moved to their own host for clarity and security - Undo some of the dubious whitespace changes in commit 37991a7381a0, particularly, right-shift by one tab of the entire option helpers block because X11MON_CONFIGURE_ENABLE is too long (convert to more traditional and shorter _ON/OFF knobs to avoid this in the future) - Fix misplaced global USE_QT and make it conditional under the QT5 option as expected - Drop no longer needed GNU_CONFIGURE_MANPREFIX, add missing hyphen in the COMMENT, etc. --- deskutils/recoll/Makefile | 68 ++++++++++++++++++++++------------------------- 1 file changed, 32 insertions(+), 36 deletions(-) diff --git a/deskutils/recoll/Makefile b/deskutils/recoll/Makefile index 95e6a5ea65a1..4eac747301dc 100644 --- a/deskutils/recoll/Makefile +++ b/deskutils/recoll/Makefile @@ -2,11 +2,11 @@ PORTNAME= recoll PORTVERSION= 1.33.1 PORTREVISION= 8 CATEGORIES= deskutils -MASTER_SITES= https://www.lesbonscomptes.com/recoll/ +MASTER_SITES= ${WWW} MAINTAINER= danfe@FreeBSD.org -COMMENT= Personal full text search package, based on Xapian -WWW= https://www.lesbonscomptes.com/recoll/ +COMMENT= Personal full-text search package, based on Xapian +WWW= https://www.recoll.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING @@ -24,19 +24,15 @@ USES= bison compiler:c++11-lang gmake gnome iconv libtool localbase \ USE_GNOME= libxslt USE_LDCONFIG= yes USE_PYTHON= py3kplist -PYDISTUTILS_PKGNAME= Recoll -PYDISTUTILS_PKGVERSION= 1.0 -USE_QT= core gui printsupport widgets xml buildtools:build qmake:build - SHEBANG_FILES= desktop/hotrecoll.py filters/*.py filters/rclimg - GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-recollq \ - --enable-xadump -GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share +CONFIGURE_ARGS= --enable-recollq --enable-xadump MAKE_ENV= PYTHON_CMD=${PYTHON_CMD} BINARY_ALIAS= python2=${FALSE} python3=${PYTHON_CMD} +PYDISTUTILS_PKGNAME= Recoll +PYDISTUTILS_PKGVERSION= 1.0 + PLIST_SUB= PYDISTUTILS_EGGINFO="${PYDISTUTILS_EGGINFO}" \ VERSION="${PORTVERSION}" @@ -44,31 +40,31 @@ OPTIONS_DEFINE= ASPELL CHM DJVU IMAGE LATEX PDF PS QT5 SOUND X11MON OPTIONS_DEFAULT= ASPELL CHM IMAGE PDF PS QT5 SOUND X11MON OPTIONS_SUB= yes -CHM_DESC= Python bindings for Microsoft ITSS/CHM format -IMAGE_DESC= Store personal tags or textual descriptions in images -X11MON_DESC= X11 session monitoring support -ASPELL_LIB_DEPENDS= libaspell.so:textproc/aspell -ASPELL_CONFIGURE_WITH= aspell -CHM_LIB_DEPENDS= libchm.so:misc/chmlib -CHM_CONFIGURE_OFF= --disable-python-chm -DJVU_RUN_DEPENDS= djvutxt:graphics/djvulibre -IMAGE_RUN_DEPENDS= exiftool:graphics/p5-Image-ExifTool -LATEX_USES= tex -LATEX_USE= TEX=dvipsk:run,latex:run -PDF_RUN_DEPENDS= pdftotext:graphics/poppler-utils -PS_RUN_DEPENDS= pstotext:print/pstotext -QT5_USES= gl qt:5 -QT5_USE= GL=gl -QT5_CONFIGURE_ON= --disable-webkit -QT5_CONFIGURE_ENABLE= qtgui -QT5_CONFIGURE_ENV= QMAKE="${QMAKE}" \ - QMAKESPEC="${QMAKESPEC}" \ - QTDIR="${PREFIX}" -SOUND_RUN_DEPENDS= mutagen-pony-${PYTHON_VER}:audio/py-mutagen@${PY_FLAVOR} -X11MON_USES= fam xorg -X11MON_USE= XORG=ice,sm,x11 -X11MON_CONFIGURE_ENABLE= x11mon -X11MON_CONFIGURE_WITH= fam +ASPELL_LIB_DEPENDS= libaspell.so:textproc/aspell +ASPELL_CONFIGURE_OFF= --without-aspell +CHM_DESC= Python bindings for Microsoft ITSS/CHM format +CHM_LIB_DEPENDS= libchm.so:misc/chmlib +CHM_CONFIGURE_OFF= --disable-python-chm +DJVU_RUN_DEPENDS= djvutxt:graphics/djvulibre +IMAGE_DESC= Store personal tags or textual descriptions in images +IMAGE_RUN_DEPENDS= exiftool:graphics/p5-Image-ExifTool +LATEX_USES= tex +LATEX_USE= TEX=dvipsk:run,latex:run +PDF_RUN_DEPENDS= pdftotext:graphics/poppler-utils +PS_RUN_DEPENDS= pstotext:print/pstotext +QT5_USES= gl qt:5 +QT5_USE= GL=gl QT=buildtools:build,qmake:build \ + QT=core,gui,printsupport,widgets,xml +QT5_CONFIGURE_ENV= QMAKE="${QMAKE}" QMAKESPEC="${QMAKESPEC}" \ + QTDIR="${PREFIX}" +QT5_CONFIGURE_ON= --disable-webkit +QT5_CONFIGURE_OFF= --disable-qtgui +SOUND_RUN_DEPENDS= mutagen-pony-${PYTHON_VER}:audio/py-mutagen@${PY_FLAVOR} +X11MON_DESC= X11 session monitoring support +X11MON_USES= fam xorg +X11MON_USE= XORG=ice,sm,x11 +X11MON_CONFIGURE_OFF= --disable-x11mon +X11MON_CONFIGURE_ON= --with-fam post-patch: @${REINPLACE_CMD} -e 's|@QMAKE@|${TRUE}|' \