mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-03 11:12:13 +00:00
- Add new port www/edbrowse
Edbrowse is an editor, a web browser, and a mail client that is 100% text based. The interface is similar to /bin/ed, though there are many more features, such as editing multiple files simultaneously, and rendering html. PR: ports/185590 Submitted by: David Vionnet <david.vionnet@vmailbox.org>
This commit is contained in:
parent
56cd15615a
commit
c45c3db568
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340081
@ -179,6 +179,7 @@
|
||||
SUBDIR += dwoo
|
||||
SUBDIR += e107
|
||||
SUBDIR += eaccelerator
|
||||
SUBDIR += edbrowse
|
||||
SUBDIR += efront
|
||||
SUBDIR += egueb
|
||||
SUBDIR += eldav.el
|
||||
|
43
www/edbrowse/Makefile
Normal file
43
www/edbrowse/Makefile
Normal file
@ -0,0 +1,43 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= edbrowse
|
||||
PORTVERSION= 3.4.10
|
||||
CATEGORIES= www editors
|
||||
MASTER_SITES= http://the-brannons.com/edbrowse/ \
|
||||
http://rithmomachia.org/edbrowse/
|
||||
|
||||
MAINTAINER= david.vionnet@vmailbox.org
|
||||
COMMENT= Line-oriented Web browser and text editor
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
BUILD_DEPENDS= ${UNZIP_CMD}:${PORTSDIR}/archivers/unzip
|
||||
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre \
|
||||
libmozjs185.so:${PORTSDIR}/lang/spidermonkey185 \
|
||||
libcurl.so:${PORTSDIR}/ftp/curl
|
||||
|
||||
USE_ZIP= yes
|
||||
USE_OPENSSL= yes
|
||||
USES= readline
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
WRKBASE= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
WRKSRC= ${WRKBASE}/src
|
||||
|
||||
MAKEFILE= makefile.bsd
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/edbrowse ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKBASE}/doc/man-edbrowse-debian.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/edbrowse.1
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKBASE}/CHANGES ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKBASE}/COPYING ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKBASE}/README ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKBASE}/doc && \
|
||||
${FIND} . \( -name setup.ebrc -or -name "man-edbrowse*" \) -delete && \
|
||||
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
2
www/edbrowse/distinfo
Normal file
2
www/edbrowse/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (edbrowse-3.4.10.zip) = 58089879c31b571792f76fc53c41374fcbe8386ea82fe451737ae72e8a78e826
|
||||
SIZE (edbrowse-3.4.10.zip) = 737798
|
49
www/edbrowse/files/patch-doc-man-edbrowse-debian.1
Normal file
49
www/edbrowse/files/patch-doc-man-edbrowse-debian.1
Normal file
@ -0,0 +1,49 @@
|
||||
--- ../doc/man-edbrowse-debian.1.orig 2013-12-24 02:21:14.000000000 +0100
|
||||
+++ ../doc/man-edbrowse-debian.1 2014-01-08 08:11:24.295380172 +0100
|
||||
@@ -30,22 +30,17 @@
|
||||
.I " ..."
|
||||
.LP
|
||||
.SH DESCRIPTION
|
||||
-(This manual page was written for the Debian GNU/Linux distribution
|
||||
-because the original program does not have a man page. Instead the
|
||||
-program is documented in detail in the HTML documentation that
|
||||
-accompanies the program; see below.)
|
||||
.PP
|
||||
.BR edbrowse
|
||||
is a line-oriented text editor very similar to
|
||||
-.BR ed (1),
|
||||
+.BR ed (1).
|
||||
It is used to create, display, modify and otherwise manipulate text
|
||||
files.
|
||||
.PP
|
||||
In addition
|
||||
.BR edbrowse
|
||||
-can be used to display web pages and edit the
|
||||
-contents of these pages. It supports the use of forms and Javascript in
|
||||
-web pages.
|
||||
+can be used to display web pages and edit their
|
||||
+content. It supports the use of forms and JavaScript.
|
||||
.PP
|
||||
If
|
||||
.BR edbrowse
|
||||
@@ -70,9 +65,9 @@
|
||||
browsing functions can be found in the HTML documentation.
|
||||
.PP
|
||||
.SH EXAMPLES
|
||||
-To read the HTML documentation on a Debian system you can do
|
||||
+To read the HTML documentation you can do:
|
||||
.IP
|
||||
-.BR "edbrowse file:///usr/share/doc/edbrowse/edbdoc.html"
|
||||
+.BR "edbrowse /usr/local/share/doc/edbrowse/usersguide.html"
|
||||
.PP
|
||||
To read (say) 20 lines of the buffer at a time starting from
|
||||
the top use the command
|
||||
@@ -155,7 +150,7 @@
|
||||
.IR pcrepattern (3).
|
||||
.PP
|
||||
The
|
||||
-.URL "/usr/share/doc/edbrowse/edbdoc.html" "HTML documentation" " "
|
||||
+.URL "/usr/local/share/doc/edbrowse/usersguide.html" "HTML documentation" " "
|
||||
provides greater detail about the program.
|
||||
.PP
|
||||
.SH AUTHORS
|
18
www/edbrowse/files/patch-src-makefile.bsd
Normal file
18
www/edbrowse/files/patch-src-makefile.bsd
Normal file
@ -0,0 +1,18 @@
|
||||
--- makefile.bsd.orig 2014-01-08 00:47:50.667199813 +0100
|
||||
+++ makefile.bsd 2014-01-08 00:50:43.955208907 +0100
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
# Flags for compilation.
|
||||
# I know - I set the Linux flag here, but it seems to work.
|
||||
-CFLAGS = -I/usr/local/include -I/usr/local/include/js -DSYSBSD -DXP_UNIX
|
||||
+CFLAGS = -I${LOCALBASE}/include -I${LOCALBASE}/include/js -DSYSBSD -DXP_UNIX
|
||||
|
||||
# Tell the dynamic linker to look in the pkg area.
|
||||
LFLAGS = -s -Wl,--rpath -Wl,/usr/pkg/lib
|
||||
|
||||
# Libraries for edbrowse.
|
||||
-LIBS = -L /usr/local/lib -lpcre -lm -lssl -ljs -lcrypto -lpthread -lcurl
|
||||
+LIBS = -L ${LOCALBASE}/lib -lpcre -lm -lssl -lmozjs185 -lcrypto -pthread -lcurl -lreadline
|
||||
|
||||
# Make the dynamically linked executable program by default.
|
||||
# Edbrowse executable.
|
12
www/edbrowse/pkg-descr
Normal file
12
www/edbrowse/pkg-descr
Normal file
@ -0,0 +1,12 @@
|
||||
Edbrowse is an editor, a web browser, and a mail client that is 100%
|
||||
text based. The interface is similar to /bin/ed, though there are many
|
||||
more features, such as editing multiple files simultaneously, and
|
||||
rendering html.
|
||||
|
||||
This program was originally written for blind users, but many sighted
|
||||
users have taken advantage of its unique scripting capabilities, which
|
||||
can be found nowhere else. A batch job, or cron job, can access web
|
||||
pages on the internet, submit forms, and send email, with no human
|
||||
intervention whatsoever.
|
||||
|
||||
WWW: http://the-brannons.com/edbrowse/
|
13
www/edbrowse/pkg-plist
Normal file
13
www/edbrowse/pkg-plist
Normal file
@ -0,0 +1,13 @@
|
||||
bin/edbrowse
|
||||
man/man1/edbrowse.1.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/philosophy.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/philosophy_fr.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/sample.ebrc
|
||||
%%PORTDOCS%%%%DOCSDIR%%/sample_fr.ebrc
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ssl-certs
|
||||
%%PORTDOCS%%%%DOCSDIR%%/usersguide.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/usersguide_fr.html
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
x
Reference in New Issue
Block a user