diff options
author | Rusmir Dusko <nemysis@FreeBSD.org> | 2013-12-13 00:43:26 +0000 |
---|---|---|
committer | Rusmir Dusko <nemysis@FreeBSD.org> | 2013-12-13 00:43:26 +0000 |
commit | d29eae27f3a4cf7d229fdf9b1dd7ba947df740c2 (patch) | |
tree | 16dfbdf8166715a186e22fcb096ae98e3afe80dc /deskutils/recoll/Makefile | |
parent | 122be77be02930543167b28159f78dd94f063b5f (diff) |
Notes
Diffstat (limited to 'deskutils/recoll/Makefile')
-rw-r--r-- | deskutils/recoll/Makefile | 45 |
1 files changed, 35 insertions, 10 deletions
diff --git a/deskutils/recoll/Makefile b/deskutils/recoll/Makefile index 2797f204eb1b..06d4d5c8d3f6 100644 --- a/deskutils/recoll/Makefile +++ b/deskutils/recoll/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= recoll -PORTVERSION= 1.19.8 +PORTVERSION= 1.19.9 CATEGORIES= deskutils MASTER_SITES= http://www.lesbonscomptes.com/${PORTNAME}/ @@ -12,6 +12,13 @@ COMMENT= Personal full text search package, based on Xapian LICENSE= GPLv2 BUILD_DEPENDS= xapian-core>=0:${PORTSDIR}/databases/xapian-core +RUN_DEPENDS:= ${BUILD_DEPENDS} \ + xsltproc:${PORTSDIR}/textproc/libxslt \ + antiword:${PORTSDIR}/textproc/antiword \ + catdoc:${PORTSDIR}/textproc/catdoc \ + wpd2html:${PORTSDIR}/textproc/libwpd \ + unrtf:${PORTSDIR}/textproc/unrtf \ + unrar:${PORTSDIR}/archivers/unrar USES= gmake iconv GNU_CONFIGURE= yes @@ -20,17 +27,38 @@ CONFIGURE_ARGS= --enable-pic CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -OPTIONS_DEFINE= ASPELL PYTHON QT4 X11MON +OPTIONS_DEFINE= ASPELL CHM DJVU KONQUEROR LATEX IMAGE PDF PS PYTHON SOUND QT4 X11MON +CHM_DESC= CHM via CHMLIB +IMAGE_DESC= Store personal tags or textual descriptions in images X11MON_DESC= X11 session monitoring support -OPTIONS_DEFAULT=ASPELL PYTHON QT4 X11MON +KONQUEROR_DESC= Konqueror webarchive format with Python +OPTIONS_DEFAULT=ASPELL IMAGE PDF PS PYTHON SOUND QT4 X11MON OPTIONS_SUB= yes ASPELL_LIB_DEPENDS= libaspell.so:${PORTSDIR}/textproc/aspell ASPELL_CONFIGURE_WITH= aspell +CHM_RUN_DEPENDS= pychm:${PORTSDIR}/textproc/pychm + +DJVU_RUN_DEPENDS= djvutxt:${PORTSDIR}/graphics/djvulibre + +KONQUEROR_RUN_DEPENDS= kwebkitpart:${PORTSDIR}/www/kwebkitpart + +LATEX_RUN_DEPENDS= detex:${PORTSDIR}/print/detex \ + dvips:${PORTSDIR}/print/dvips + +IMAGE_RUN_DEPENDS= exiftool:${PORTSDIR}/graphics/p5-Image-ExifTool-devel + +PDF_RUN_DEPENDS= xpdf:${PORTSDIR}/graphics/xpdf + +PS_RUN_DEPENDS= pstotext:${PORTSDIR}/print/pstotext + PYTHON_CONFIGURE_ENABLE= python-module +SOUND_RUN_DEPENDS= mutagen-pony:${PORTSDIR}/audio/py-mutagen \ + pykaraoke:${PORTSDIR}/audio/py-karaoke + QT4_CONFIGURE_ENABLE= qtgui X11MON_CONFIGURE_ENABLE= x11mon @@ -66,16 +94,13 @@ post-patch: -e 's|= -g -O2|=|' ${WRKSRC}/mk/localdefs.in @${REINPLACE_CMD} \ -e 's|-pthread|${PTHREAD_LIBS}|' ${WRKSRC}/mk/${OPSYS} - @${REINPLACE_CMD} -e 's|@NOCMDLINE@||g' \ + @${REINPLACE_CMD} -e 's|@NOCMDLINE@||g ; \ + s|@prefix@|${PREFIX}| ; \ + s|REALPREFIX=$$PREFIX|REALPREFIX=${STAGEDIR}$$PREFIX| ; \ + s|$${ROOTFORPYTHON}||' \ ${WRKSRC}/recollinstall.in @${REINPLACE_CMD} -e 's|python setup.py|${PYTHON_CMD} setup.py|' \ ${WRKSRC}/python/recoll/Makefile \ ${WRKSRC}/recollinstall.in -post-configure: -.if ${PORT_OPTIONS:MQT4} - @cd ${WRKSRC}/qtgui && ${SETENV} ${QMAKE_ENV} \ - ${QMAKE} ${QMAKE_ARGS} -.endif - .include <bsd.port.mk> |