diff options
author | Sylvio Cesar Teixeira <sylvio@FreeBSD.org> | 2012-06-05 20:48:28 +0000 |
---|---|---|
committer | Sylvio Cesar Teixeira <sylvio@FreeBSD.org> | 2012-06-05 20:48:28 +0000 |
commit | 61be7890217d775b90c67b18255f6092d8385818 (patch) | |
tree | 46e4c5d2a4fb90e2bc823c809a6679f52b465c72 /deskutils | |
parent | 8d27c023e2e83eeca04be79eba16dd2cc945da77 (diff) | |
download | ports-61be7890217d775b90c67b18255f6092d8385818.tar.gz ports-61be7890217d775b90c67b18255f6092d8385818.zip |
Notes
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/recoll/Makefile | 43 | ||||
-rw-r--r-- | deskutils/recoll/distinfo | 4 |
2 files changed, 22 insertions, 25 deletions
diff --git a/deskutils/recoll/Makefile b/deskutils/recoll/Makefile index 4e7b81c4323b..7b3cd34c03ea 100644 --- a/deskutils/recoll/Makefile +++ b/deskutils/recoll/Makefile @@ -6,8 +6,7 @@ # PORTNAME= recoll -PORTVERSION= 1.17.2 -PORTREVISION= 1 +PORTVERSION= 1.17.3 CATEGORIES= deskutils MASTER_SITES= http://www.lesbonscomptes.com/recoll/ @@ -19,10 +18,10 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= xapian.26:${PORTSDIR}/databases/xapian-core -OPTIONS= QT "Enable Qt-based GUI support" on \ - ASPELL "Enable ASpell support" on \ - PYTHON "Enable Python module support" on \ - X11MON "Enable X11 session monitoring support" on +OPTIONS_DEFINE= QT4 ASPELL PYTHON X11MON +OPTIONS_DEFAULT=QT4 ASPELL PYTHON X11MON +ASPELL_DESC= Enable ASpell support +X11MON_DESC= Enable X11 session monitoring support USE_ICONV= yes USE_GMAKE= yes @@ -37,10 +36,7 @@ MAN5= recoll.conf.5 .include <bsd.port.options.mk> -.if defined(WITHOUT_QT) -CONFIGURE_ARGS+=--disable-qtgui -PLIST_SUB+= QT="@comment " -.else +.if ${PORT_OPTIONS:MQT4} USE_QT_VER= 4 QT_COMPONENTS= webkit moc_build qmake_build rcc_build uic_build QT_NONSTANDARD= yes @@ -48,30 +44,33 @@ CONFIGURE_ENV+= QTDIR="${QT_PREFIX}" QMAKE="${QMAKE}" INSTALLS_ICONS= yes PLIST_SUB+= QT="" MAN1+= recoll.1 +.else +CONFIGURE_ARGS+=--disable-qtgui +PLIST_SUB+= QT="@comment " .endif -.if defined(WITHOUT_ASPELL) -CONFIGURE_ARGS+=--without-aspell -.else +.if ${PORT_OPTIONS:MASPELL} LIB_DEPENDS+= aspell.16:${PORTSDIR}/textproc/aspell +.else +CONFIGURE_ARGS+=--without-aspell .endif -.if defined(WITHOUT_PYTHON) -CONFIGURE_ARGS+=--disable-python-module -PLIST_SUB+= PYTHON="@comment " -.else +.if ${PORT_OPTIONS:MPYTHON} USE_PYTHON= yes INSTALLS_EGGINFO= yes PYDISTUTILS_EGGINFO= Recoll-1.0-py${PYTHON_VER}.egg-info PLIST_SUB+= PYTHON="" +.else +CONFIGURE_ARGS+=--disable-python-module +PLIST_SUB+= PYTHON="@comment " .endif -.if defined(WITHOUT_X11MON) -CONFIGURE_ARGS+=--disable-x11mon -.else +.if ${PORT_OPTIONS:MX11MON} USE_XORG+= ice sm x11 USE_FAM= yes CONFIGURE_ARGS+=--with-fam +.else +CONFIGURE_ARGS+=--disable-x11mon .endif post-patch: @@ -80,14 +79,12 @@ post-patch: @${REINPLACE_CMD} -e \ 's|/usr/local/lib|${LOCALBASE}/lib|' ${WRKSRC}/configure @${REINPLACE_CMD} -e \ - '/--prefix=/s|^|@NOPYTHON@|' ${WRKSRC}/recollinstall.in - @${REINPLACE_CMD} -e \ 's|= -g -O2|=|' ${WRKSRC}/mk/localdefs.in @${REINPLACE_CMD} -e \ 's|-pthread|${PTHREAD_LIBS}|' ${WRKSRC}/mk/${OPSYS} post-configure: -.if !defined(WITHOUT_QT) +.if ${PORT_OPTIONS:MQT4} @(cd ${WRKSRC}/qtgui && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS}) .endif diff --git a/deskutils/recoll/distinfo b/deskutils/recoll/distinfo index d212a29baba2..5b474f19a5db 100644 --- a/deskutils/recoll/distinfo +++ b/deskutils/recoll/distinfo @@ -1,2 +1,2 @@ -SHA256 (recoll-1.17.2.tar.gz) = 8fa0419ca78bdeca4a18e36d252a9e8254112653499c47b407b178c9f2e58a2a -SIZE (recoll-1.17.2.tar.gz) = 1757337 +SHA256 (recoll-1.17.3.tar.gz) = 7778f80546e6b10ca45bfb7f8bb0876ccf3987dd4e98c5003ff923bd8b5acb1c +SIZE (recoll-1.17.3.tar.gz) = 1757278 |