svn commit: r467337 - in head/www/edbrowse: . files
Yuri Victorovich
yuri at FreeBSD.org
Sat Apr 14 18:09:04 UTC 2018
Author: yuri
Date: Sat Apr 14 18:09:03 2018
New Revision: 467337
URL: https://svnweb.freebsd.org/changeset/ports/467337
Log:
www/edbrowse: Update 3.5.1 -> 3.7.3
Port changes:
* alfix86 at gmail.com takes maintainership
* Change to DISTVERSION
* Change MASTER_SITES to GitHub
* Change from make to cmake
* Add USES=perl5 and USE_PERL5=build
* Add to and update LIB_DEPENDS
* Add patches for the pull request fixing missing/wrong include statements
* Replace pkg-plist with PLIST_FILES
* Add PORTDOCS=*
PR: 227517
Submitted by: Alfonso S. Siciliano <alfix86 at gmail.com>
Added:
head/www/edbrowse/files/patch-doc_man-edbrowse-debian.1 (contents, props changed)
Deleted:
head/www/edbrowse/files/patch-doc-man-edbrowse-debian.1
head/www/edbrowse/files/patch-src-makefile.bsd
head/www/edbrowse/pkg-plist
Modified:
head/www/edbrowse/Makefile
head/www/edbrowse/distinfo
Modified: head/www/edbrowse/Makefile
==============================================================================
--- head/www/edbrowse/Makefile Sat Apr 14 17:19:25 2018 (r467336)
+++ head/www/edbrowse/Makefile Sat Apr 14 18:09:03 2018 (r467337)
@@ -1,44 +1,48 @@
# $FreeBSD$
PORTNAME= edbrowse
-PORTVERSION= 3.5.1
-PORTREVISION= 4
+DISTVERSIONPREFIX= v
+DISTVERSION= 3.7.3
CATEGORIES= www editors
-MASTER_SITES= http://the-brannons.com/edbrowse/ \
- http://rithmomachia.org/edbrowse/
-MAINTAINER= ports at FreeBSD.org
+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES= 885fbc5f18ae61f9af9faa3e9d25c67a65148f6a.patch:-p1
+
+MAINTAINER= alfix86 at gmail.com
COMMENT= Line-oriented Web browser and text editor
LICENSE= GPLv2
-BUILD_DEPENDS= ${UNZIP_CMD}:archivers/unzip
+BROKEN_powerpc64= fails to link: html.o: undefined reference to std::__cxx11::basic_string
+
LIB_DEPENDS= libpcre.so:devel/pcre \
- libmozjs-24.so:lang/spidermonkey24 \
- libcurl.so:ftp/curl
+ libcurl.so:ftp/curl \
+ libtidy.so:www/tidy-lib \
+ libtidy5.so:www/tidy-html5 \
+ libduktape.so:lang/duktape-lib
-BROKEN_powerpc64= fails to link: html.o: undefined reference to std::__cxx11::basic_string
+USES= cmake:outsource perl5 readline
+USE_GITHUB= yes
+GH_ACCOUNT= CMB
+USE_PERL5= build
-USES= compiler:c11 readline zip ssl
+PLIST_FILES= bin/${PORTNAME} \
+ man/man1/${PORTNAME}.1.gz
OPTIONS_DEFINE= DOCS
-WRKBASE= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-WRKSRC= ${WRKBASE}/src
+PORTDOCS= *
-MAKEFILE= makefile.bsd
+post-install:
+ ${INSTALL_MAN} ${WRKSRC}/doc/man-edbrowse-debian.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/${PORTNAME}.1
-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-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKBASE}/CHANGES ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKBASE}/COPYING ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKBASE}/README ${STAGEDIR}${DOCSDIR}
- (cd ${WRKBASE}/doc && \
+ ${INSTALL_DATA} ${WRKSRC}/CHANGES ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/doc && \
${FIND} . \( -name setup.ebrc -or -name "man-edbrowse*" \) -delete && \
- ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
+ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
Modified: head/www/edbrowse/distinfo
==============================================================================
--- head/www/edbrowse/distinfo Sat Apr 14 17:19:25 2018 (r467336)
+++ head/www/edbrowse/distinfo Sat Apr 14 18:09:03 2018 (r467337)
@@ -1,2 +1,5 @@
-SHA256 (edbrowse-3.5.1.zip) = e379cffb1098cfedf56ceedaaa7e20064551a0737ad6cd8ad5124fdfb18d9a5f
-SIZE (edbrowse-3.5.1.zip) = 745277
+TIMESTAMP = 1523728031
+SHA256 (CMB-edbrowse-v3.7.3_GH0.tar.gz) = ae7717c4c30297a01185ae2705fd55a7cd5f5484db05d5dfc02b7932b5766498
+SIZE (CMB-edbrowse-v3.7.3_GH0.tar.gz) = 707515
+SHA256 (885fbc5f18ae61f9af9faa3e9d25c67a65148f6a.patch) = b15a2931dccd85643450b50915ba877d24bec3b078daca2e4a41c23aaa660a93
+SIZE (885fbc5f18ae61f9af9faa3e9d25c67a65148f6a.patch) = 880
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 Sat Apr 14 18:09:03 2018 (r467337)
@@ -0,0 +1,49 @@
+--- doc/man-edbrowse-debian.1.orig 2018-04-14 14:29:56 UTC
++++ doc/man-edbrowse-debian.1
+@@ -30,22 +30,17 @@ edbrowse \- text editor and web browser
+ .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 @@ for further details regarding the editing commands. Ex
+ 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/usersguide.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 @@ configuration options and for details of the use of ed
+ .IR pcrepattern (3).
+ .PP
+ The
+-.URL "/usr/share/doc/edbrowse/usersguide.html" "HTML documentation" " "
++.URL "/usr/local/share/doc/edbrowse/usersguide.html" "HTML documentation" " "
+ provides greater detail about the program.
+ .PP
+ .SH AUTHORS
More information about the svn-ports-head
mailing list