1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/deskutils/pinot/Makefile
Jan Beich 98eb11b2f0 devel/boost-*: update to 1.65.1
Changes:	http://www.boost.org/users/history/version_1_65_1.html
PR:		218835
Approved by:	maintainer timeout (1.65.1: 2 weeks; 1.65.0: 1 month)
Tested by:	jhibbits (on powerpc64, earlier version)
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D11582
2017-09-25 00:08:16 +00:00

103 lines
3.0 KiB
Makefile

# Created by: Thierry Thomas <thierry@pompo.net>
# $FreeBSD$
PORTNAME= pinot
PORTVERSION= 1.09
PORTREVISION= 7
CATEGORIES= deskutils
MAINTAINER= thierry@FreeBSD.org
COMMENT= Personal search and metasearch for the Free Desktop
LICENSE= GPLv2
BUILD_DEPENDS= desktop-file-install:devel/desktop-file-utils \
update-mime-database:misc/shared-mime-info
LIB_DEPENDS= libxapian.so:databases/xapian-core \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libexttextcat-2.0.so:textproc/libexttextcat \
libdbus-glib-1.so:devel/dbus-glib \
libdbus-1.so:devel/dbus \
libxml++-2.6.so:textproc/libxml++26 \
libboost_thread.so:devel/boost-libs \
libexif.so:graphics/libexif \
libexiv2.so:graphics/exiv2 \
libgmime-2.4.so:mail/gmime24 \
libtag.so:audio/taglib \
libcurl.so:ftp/curl
RUN_DEPENDS= update-mime-database:misc/shared-mime-info \
antiword:textproc/antiword \
xdg-open:devel/xdg-utils \
catppt:textproc/catdoc \
unrtf:textproc/unrtf \
catdvi:print/catdvi \
bash:shells/bash \
${LOCALBASE}/libexec/xpdf/pdftotext:graphics/xpdf
USE_GITHUB= yes
GH_ACCOUNT= FabriceColin
GH_TAGNAME= c14d6d5
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-http=curl --with-ssl=${OPENSSLBASE} --enable-libarchive \
--enable-mempool=no
CONFIGURE_ENV= MKDIR_P="${MKDIR}" TEXTCAT_LIBS="-lexttextcat-2.0"
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lboost_system
USES= compiler:c++11-lang autoreconf gettext libarchive \
libtool pkgconfig python shebangfix sqlite:3 ssl
USE_CXXSTD= c++11
USE_XORG= pixman
USE_GNOME= atkmm cairo cairomm glibmm gtk20 gtkmm24 libsigc++20 libxml2 pangomm
USE_LDCONFIG= ${PREFIX}/lib/pinot/backends ${PREFIX}/lib/pinot/filters
SHEBANG_FILES= scripts/bash/*.sh
OPTIONS_DEFINE= DEBUG CHMLIB DOCS
OPTIONS_SUB= yes
DEBUG_CONFIGURE_ON= --enable-debug=yes
CHMLIB_CONFIGURE_ON= --enable-chmlib=yes
CHMLIB_CONFIGURE_OFF= --disable-chmlib
CHMLIB_LIB_DEPENDS= libchm.so:misc/chmlib
INSTALLS_ICONS= yes
DOCS= AUTHORS ChangeLog ChangeLog-dijon INSTALL NEWS README TODO
LM2FIX= textcat_conf.txt textcat3_conf.txt textcat31_conf.txt textcat32_conf.txt
SHR2FIX= Core/pinot-search.1 README
UL2FIX= Utils/xdgmime/xdgmime.c
post-extract:
# remove pre-generated messages catalogs
${FIND} ${WRKSRC}/po -name "*.gmo" -delete
post-patch:
${REINPLACE_CMD} -e \
'/<command>/s|pdftotext|${LOCALBASE}/libexec/xpdf/pdftotext|' \
${WRKSRC}/Tokenize/filters/external-filters.xml
pre-configure:
${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|' \
${LM2FIX:S|^|${WRKSRC}/|}
${REINPLACE_CMD} -e 's|libtextcat/|libtextcat/LM/|' \
${WRKSRC}/textcat_conf.txt
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${UL2FIX:S|^|${WRKSRC}/|}
${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \
${SHR2FIX:S|^|${WRKSRC}/|}
${REINPLACE_CMD} -e 's|Icon=pinot.png|Icon=pinot|g' \
${WRKSRC}/*.desktop
post-install:
${TOUCH} ${STAGEDIR}${DATADIR}/stopwords/.empty_file
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>