Tue Dec 10 15:49:46 GMT 2013 - surfraw 2.2.9 * New elvi: + S - search using w3_custom_search (see below) + cisco - search Cisco documentation + debcodesearch - search Debian codebase + github - search github + gmane - search mailing lists + jquery - search jQuery documentation + mdn - search Mozilla Developer Network + mysqldoc - search MySQL documentation + oraclesearch - search Oracle documentation + pgdoc - search PostgreSQL documentation + phpdoc - search PHP documentation + pin - search pinboard.in + wolfram - search Wolfram Alpha + yacy - search YaCy P2P search engines, including ScienceNet * Changed elvi: + aur - uses HTTPS by default, use -no-https to disable + deblists * Removed options -author, -lists, -lang * added options -ml (message links) and -mv (list view) + duckduckgo: * removed -p (clashes with global print option), use -safe instead * stopped -l[ucky] from clobbering -lh + google: changed -g option to -G to avoid clash with -g for graphical view * Fixed elvi: ask, ctan, deli, genportage, jamendo, javasun, openbsd musicbrainz, rae, slashdot, slinuxdoc * Removed elvi for dead sites: happypenguin, scroogle, sunonesearch (replaced by oraclesearch) * w3_custom_search + elvi that use a search engine as a backend with site: and inurl: can now choose which search engine to use. So far, google and duckduckgo are supported, with duckduckgo the default. + Affected elvi: mdn, mysqldoc, netbsd, openbsd, pgdoc, slinuxdoc + To select on the commandline use -custom-search=google or -custom-search=duckduckgo + Or configure SURFRAW_customsearch_provider * New variable: SURFRAW_bookmark_search_elvis When using searchable bookmarks, if all else fails run this elvis. Defaults to google * New example elinks integration script in examples/hooks.lua. * Debian packaging now included in release, in debian/ dir. * Known problems at time of release + deblogs - down (hopefully) temporarily + yacy - demo portal down, ScienceNet still up + scicom - down, status unknown
44 lines
1.6 KiB
Makefile
44 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.50 2013/12/31 17:39:48 wiz Exp $
|
|
|
|
DISTNAME= surfraw-2.2.9
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://surfraw.alioth.debian.org/dist/
|
|
|
|
MAINTAINER= wiz@NetBSD.org
|
|
HOMEPAGE= http://surfraw.alioth.debian.org/
|
|
COMMENT= Shell Users' Revolutionary Front Rage Against the Web
|
|
LICENSE= public-domain
|
|
|
|
CONFLICTS+= surfaw-[0-9]*
|
|
|
|
GNU_CONFIGURE= YES
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
CONFIGURE_ARGS+= --disable-sr
|
|
USE_TOOLS+= perl sed
|
|
REPLACE_PERL+= surfraw-update-path.IN opensearch-discover \
|
|
opensearch-genquery
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/surfraw
|
|
EGDIR= ${PREFIX}/share/examples/surfraw
|
|
INSTALLATION_DIRS= ${DOCDIR}
|
|
INSTALL_MAKE_FLAGS= sysconfdir=${EGDIR}
|
|
MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg/surfraw
|
|
CONF_FILES= ${EGDIR}/xdg/surfraw/conf ${PKG_SYSCONFDIR}/xdg/surfraw/conf
|
|
CONF_FILES+= ${EGDIR}/xdg/surfraw/bookmarks ${PKG_SYSCONFDIR}/xdg/surfraw/bookmarks
|
|
|
|
# avoid installing useless manpage links
|
|
post-patch:
|
|
-${GREP} -v elvi.1sr.gz ${WRKSRC}/links.IN > ${WRKSRC}/links.IN.new
|
|
${MV} ${WRKSRC}/links.IN.new ${WRKSRC}/links.IN
|
|
${SED} -e s/sr/surfraw/g ${WRKSRC}/surfraw.1.IN > ${WRKSRC}/surfraw.1.IN.new
|
|
${MV} ${WRKSRC}/surfraw.1.IN.new ${WRKSRC}/surfraw.1.IN
|
|
${SED} -e s/sr/surfraw/g ${WRKSRC}/elvi.1sr.IN > ${WRKSRC}/elvi.1sr.IN.new
|
|
${MV} ${WRKSRC}/elvi.1sr.IN.new ${WRKSRC}/elvi.1sr.IN
|
|
|
|
# fix man page name; install additional documentation
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
|
|
${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/elvi.1sr \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/elvi.1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|