Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2014 17:08:41 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340081 - in head/www: . edbrowse edbrowse/files
Message-ID:  <201401171708.s0HH8f9O082420@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Fri Jan 17 17:08:41 2014
New Revision: 340081
URL: http://svnweb.freebsd.org/changeset/ports/340081
QAT: https://qat.redports.org/buildarchive/r340081/

Log:
  - 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>

Added:
  head/www/edbrowse/
  head/www/edbrowse/Makefile   (contents, props changed)
  head/www/edbrowse/distinfo   (contents, props changed)
  head/www/edbrowse/files/
  head/www/edbrowse/files/patch-doc-man-edbrowse-debian.1   (contents, props changed)
  head/www/edbrowse/files/patch-src-makefile.bsd   (contents, props changed)
  head/www/edbrowse/pkg-descr   (contents, props changed)
  head/www/edbrowse/pkg-plist   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Fri Jan 17 17:07:23 2014	(r340080)
+++ head/www/Makefile	Fri Jan 17 17:08:41 2014	(r340081)
@@ -179,6 +179,7 @@
     SUBDIR += dwoo
     SUBDIR += e107
     SUBDIR += eaccelerator
+    SUBDIR += edbrowse
     SUBDIR += efront
     SUBDIR += egueb
     SUBDIR += eldav.el

Added: head/www/edbrowse/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/edbrowse/Makefile	Fri Jan 17 17:08:41 2014	(r340081)
@@ -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>

Added: head/www/edbrowse/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/edbrowse/distinfo	Fri Jan 17 17:08:41 2014	(r340081)
@@ -0,0 +1,2 @@
+SHA256 (edbrowse-3.4.10.zip) = 58089879c31b571792f76fc53c41374fcbe8386ea82fe451737ae72e8a78e826
+SIZE (edbrowse-3.4.10.zip) = 737798

Added: head/www/edbrowse/files/patch-doc-man-edbrowse-debian.1
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/edbrowse/files/patch-doc-man-edbrowse-debian.1	Fri Jan 17 17:08:41 2014	(r340081)
@@ -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

Added: head/www/edbrowse/files/patch-src-makefile.bsd
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/edbrowse/files/patch-src-makefile.bsd	Fri Jan 17 17:08:41 2014	(r340081)
@@ -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.

Added: head/www/edbrowse/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/edbrowse/pkg-descr	Fri Jan 17 17:08:41 2014	(r340081)
@@ -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/

Added: head/www/edbrowse/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/edbrowse/pkg-plist	Fri Jan 17 17:08:41 2014	(r340081)
@@ -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%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401171708.s0HH8f9O082420>