git: b8e9c28744bb - main - www/adjuster: Apply custom processing to web pages
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 18 May 2023 08:20:31 UTC
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=b8e9c28744bb86cbbc76a046f39bbd80834ed4ce commit b8e9c28744bb86cbbc76a046f39bbd80834ed4ce Author: Silas S. Brown <ssb22@cam.ac.uk> AuthorDate: 2023-05-15 08:08:11 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-05-18 08:19:41 +0000 www/adjuster: Apply custom processing to web pages Web Adjuster, Annotator Generator and TermLayout These are tools for applying custom processing to Web pages, particularly useful for mobile browsers that do not support browser extensions. * Web Adjuster is a domain-rewriting proxy that can inject Javascript and/or CSS into every page, as well as running the text through an arbitrary filter command; * Annotator Generator is an examples-driven generator of fast text annotators (that add language-learning hints to text): these can be used as filters in Web Adjuster; * TermLayout displays complex Web layouts on text terminals. WWW: http://ssb22.user.srcf.net/adjuster/ PR: 258459 --- www/Makefile | 1 + www/adjuster/Makefile | 27 +++++++++++++++++++++++++++ www/adjuster/distinfo | 3 +++ www/adjuster/pkg-descr | 15 +++++++++++++++ 4 files changed, 46 insertions(+) diff --git a/www/Makefile b/www/Makefile index e0922af898d0..a87ac9ad2ab7 100644 --- a/www/Makefile +++ b/www/Makefile @@ -20,6 +20,7 @@ SUBDIR += Stikked SUBDIR += UniversalFeedCreator SUBDIR += adguardhome + SUBDIR += adjuster SUBDIR += adzap SUBDIR += alef-webfont SUBDIR += amfora diff --git a/www/adjuster/Makefile b/www/adjuster/Makefile new file mode 100644 index 000000000000..b04dad21b4db --- /dev/null +++ b/www/adjuster/Makefile @@ -0,0 +1,27 @@ +PORTNAME= adjuster +DISTVERSIONPREFIX= v +DISTVERSION= 3.23-23 +DISTVERSIONSUFFIX= -g7c06b0f +CATEGORIES= www + +MAINTAINER= ssb22@cam.ac.uk +COMMENT= Apply custom processing to Web pages +WWW= http://ssb22.user.srcf.net/adjuster/ + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tornado>0:www/py-tornado@${PY_FLAVOR} + +USES= python shebangfix +USE_GITHUB= yes +GH_ACCOUNT= ssb22 +SHEBANG_FILES= *.py + +NO_ARCH= yes + +PLIST_FILES= bin/adjuster \ + bin/annogen \ + bin/termlayout + +.include <bsd.port.mk> diff --git a/www/adjuster/distinfo b/www/adjuster/distinfo new file mode 100644 index 000000000000..04a5b29bdc69 --- /dev/null +++ b/www/adjuster/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1684138082 +SHA256 (ssb22-adjuster-v3.23-23-g7c06b0f_GH0.tar.gz) = 0f51b18e21903762ba3e8513d349d6ea686bc8810e0a7efa89d090aa12f29fd7 +SIZE (ssb22-adjuster-v3.23-23-g7c06b0f_GH0.tar.gz) = 320974 diff --git a/www/adjuster/pkg-descr b/www/adjuster/pkg-descr new file mode 100644 index 000000000000..f144a596f844 --- /dev/null +++ b/www/adjuster/pkg-descr @@ -0,0 +1,15 @@ +Web Adjuster, Annotator Generator and TermLayout + +These are tools for applying custom processing to Web pages, +particularly useful for mobile browsers that do not support +browser extensions. + +* Web Adjuster is a domain-rewriting proxy that can inject + Javascript and/or CSS into every page, as well as running + the text through an arbitrary filter command; + +* Annotator Generator is an examples-driven generator of fast + text annotators (that add language-learning hints to text): + these can be used as filters in Web Adjuster; + +* TermLayout displays complex Web layouts on text terminals.