Date: Wed, 8 Jan 2014 20:34:39 +0100 (CET) From: David Vionnet <david.vionnet@vmailbox.org> To: FreeBSD-gnats-submit@freebsd.org Cc: david.vionnet@vmailbox.org Subject: ports/185590: New port: www/edbrowse Line-oriented browser Message-ID: <201401081934.s08JYdmk072669@rithmomachia.org> Resent-Message-ID: <201401082000.s08K005i066602@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 185590 >Category: ports >Synopsis: New port: www/edbrowse Line-oriented browser >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jan 08 20:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: David Vionnet >Release: FreeBSD 9.2-RELEASE amd64 >Organization: >Environment: System: FreeBSD rithmomachia.org 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Edbrowse is a browser, text editor, and mail client whose interface is similar to /bin/ed/ with added support for Perl compatible regular expressions. It's able to deal with cookies, SSL connections and JavaScript. It depends on ftp/curl, devel/pcre and lang/spidermonkey185. While primarily intended for use by blind users, it's simply a generic and convenient tool for manipulating text in Web pages. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # edbrowse # edbrowse/files # edbrowse/files/patch-doc-man-edbrowse-debian.1 # edbrowse/files/patch-src-makefile.bsd # edbrowse/pkg-descr # edbrowse/pkg-plist # edbrowse/Makefile # edbrowse/distinfo # echo c - edbrowse mkdir -p edbrowse > /dev/null 2>&1 echo c - edbrowse/files mkdir -p edbrowse/files > /dev/null 2>&1 echo x - edbrowse/files/patch-doc-man-edbrowse-debian.1 sed 's/^X//' >edbrowse/files/patch-doc-man-edbrowse-debian.1 << 'fc6a7d8215c324c217c5b2f805076df1' X--- ../doc/man-edbrowse-debian.1.orig 2013-12-24 02:21:14.000000000 +0100 X+++ ../doc/man-edbrowse-debian.1 2014-01-08 08:11:24.295380172 +0100 X@@ -30,22 +30,17 @@ X .I " ..." X .LP X .SH DESCRIPTION X-(This manual page was written for the Debian GNU/Linux distribution X-because the original program does not have a man page. Instead the X-program is documented in detail in the HTML documentation that X-accompanies the program; see below.) X .PP X .BR edbrowse X is a line-oriented text editor very similar to X-.BR ed (1), X+.BR ed (1). X It is used to create, display, modify and otherwise manipulate text X files. X .PP X In addition X .BR edbrowse X-can be used to display web pages and edit the X-contents of these pages. It supports the use of forms and Javascript in X-web pages. X+can be used to display web pages and edit their X+content. It supports the use of forms and JavaScript. X .PP X If X .BR edbrowse X@@ -70,9 +65,9 @@ X browsing functions can be found in the HTML documentation. X .PP X .SH EXAMPLES X-To read the HTML documentation on a Debian system you can do X+To read the HTML documentation you can do: X .IP X-.BR "edbrowse file:///usr/share/doc/edbrowse/edbdoc.html" X+.BR "edbrowse /usr/local/share/doc/edbrowse/usersguide.html" X .PP X To read (say) 20 lines of the buffer at a time starting from X the top use the command X@@ -155,7 +150,7 @@ X .IR pcrepattern (3). X .PP X The X-.URL "/usr/share/doc/edbrowse/edbdoc.html" "HTML documentation" " " X+.URL "/usr/local/share/doc/edbrowse/usersguide.html" "HTML documentation" " " X provides greater detail about the program. X .PP X .SH AUTHORS fc6a7d8215c324c217c5b2f805076df1 echo x - edbrowse/files/patch-src-makefile.bsd sed 's/^X//' >edbrowse/files/patch-src-makefile.bsd << '7fb1529aa6b48bd7fed1e1abcf0e027a' X--- makefile.bsd.orig 2014-01-08 00:47:50.667199813 +0100 X+++ makefile.bsd 2014-01-08 00:50:43.955208907 +0100 X@@ -2,13 +2,13 @@ X X # Flags for compilation. X # I know - I set the Linux flag here, but it seems to work. X-CFLAGS = -I/usr/local/include -I/usr/local/include/js -DSYSBSD -DXP_UNIX X+CFLAGS = -I${LOCALBASE}/include -I${LOCALBASE}/include/js -DSYSBSD -DXP_UNIX X X # Tell the dynamic linker to look in the pkg area. X LFLAGS = -s -Wl,--rpath -Wl,/usr/pkg/lib X X # Libraries for edbrowse. X-LIBS = -L /usr/local/lib -lpcre -lm -lssl -ljs -lcrypto -lpthread -lcurl X+LIBS = -L ${LOCALBASE}/lib -lpcre -lm -lssl -lmozjs185 -lcrypto -pthread -lcurl -lreadline X X # Make the dynamically linked executable program by default. X # Edbrowse executable. 7fb1529aa6b48bd7fed1e1abcf0e027a echo x - edbrowse/pkg-descr sed 's/^X//' >edbrowse/pkg-descr << '0f8430ad0c842a06126e7b1b6e38c637' XEdbrowse is an editor, a web browser, and a mail client that is 100% Xtext based. The interface is similar to /bin/ed, though there are many Xmore features, such as editing multiple files simultaneously, and Xrendering html. X XThis program was originally written for blind users, but many sighted Xusers have taken advantage of its unique scripting capabilities, which Xcan be found nowhere else. A batch job, or cron job, can access web Xpages on the internet, submit forms, and send email, with no human Xintervention whatsoever. X XWWW: http://the-brannons.com/edbrowse/ 0f8430ad0c842a06126e7b1b6e38c637 echo x - edbrowse/pkg-plist sed 's/^X//' >edbrowse/pkg-plist << '2b5562a729a0dcc74c3f8c4d896ab0c7' Xbin/edbrowse Xman/man1/edbrowse.1.gz X%%PORTDOCS%%%%DOCSDIR%%/CHANGES X%%PORTDOCS%%%%DOCSDIR%%/COPYING X%%PORTDOCS%%%%DOCSDIR%%/README X%%PORTDOCS%%%%DOCSDIR%%/philosophy.html X%%PORTDOCS%%%%DOCSDIR%%/philosophy_fr.html X%%PORTDOCS%%%%DOCSDIR%%/sample.ebrc X%%PORTDOCS%%%%DOCSDIR%%/sample_fr.ebrc X%%PORTDOCS%%%%DOCSDIR%%/ssl-certs X%%PORTDOCS%%%%DOCSDIR%%/usersguide.html X%%PORTDOCS%%%%DOCSDIR%%/usersguide_fr.html X%%PORTDOCS%%@dirrm %%DOCSDIR%% 2b5562a729a0dcc74c3f8c4d896ab0c7 echo x - edbrowse/Makefile sed 's/^X//' >edbrowse/Makefile << '21649c69b35e0e8700232fb1867d4e02' X# $FreeBSD$ X XPORTNAME= edbrowse XPORTVERSION= 3.4.10 XCATEGORIES= www editors XMASTER_SITES= http://the-brannons.com/edbrowse/ \ X http://rithmomachia.org/edbrowse/ X XMAINTAINER= david.vionnet@vmailbox.org XCOMMENT= Line-oriented Web browser and text editor X XLICENSE= GPLv2 X XBUILD_DEPENDS= ${UNZIP_CMD}:${PORTSDIR}/archivers/unzip XLIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre \ X libmozjs185.so:${PORTSDIR}/lang/spidermonkey185 \ X libcurl.so:${PORTSDIR}/ftp/curl X XUSE_ZIP= yes XUSE_OPENSSL= yes XUSES= readline X XOPTIONS_DEFINE= DOCS X XWRKBASE= ${WRKDIR}/${PORTNAME}-${PORTVERSION} XWRKSRC= ${WRKBASE}/src X Xpost-patch: X @${MV} ${WRKSRC}/makefile.bsd ${WRKSRC}/Makefile X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/edbrowse ${STAGEDIR}${PREFIX}/bin X ${INSTALL_MAN} ${WRKBASE}/doc/man-edbrowse-debian.1 ${STAGEDIR}${MANPREFIX}/man/man1/edbrowse.1 X X.include <bsd.port.options.mk> X Xpost-install: X.if ${PORT_OPTIONS:MDOCS} X @${ECHO_MSG} "===> Installing additional documentation to ${STAGEDIR}${DOCSDIR}" X @${MKDIR} ${STAGEDIR}${DOCSDIR} X ${INSTALL_MAN} ${WRKBASE}/CHANGES ${STAGEDIR}${DOCSDIR} X ${INSTALL_MAN} ${WRKBASE}/COPYING ${STAGEDIR}${DOCSDIR} X ${INSTALL_MAN} ${WRKBASE}/README ${STAGEDIR}${DOCSDIR} X (cd ${WRKBASE}/doc && \ X ${FIND} . \( -name setup.ebrc -or -name "man-edbrowse*" \) -delete && \ X ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) X.endif X X.include <bsd.port.mk> 21649c69b35e0e8700232fb1867d4e02 echo x - edbrowse/distinfo sed 's/^X//' >edbrowse/distinfo << '052bab8981d77346738cf7f031a192ab' XSHA256 (edbrowse-3.4.10.zip) = 58089879c31b571792f76fc53c41374fcbe8386ea82fe451737ae72e8a78e826 XSIZE (edbrowse-3.4.10.zip) = 737798 052bab8981d77346738cf7f031a192ab exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401081934.s08JYdmk072669>