diff options
author | wen <wen@FreeBSD.org> | 2015-09-10 10:51:30 +0800 |
---|---|---|
committer | wen <wen@FreeBSD.org> | 2015-09-10 10:51:30 +0800 |
commit | 0fe8482228aadb51abdcda603394629346a3652d (patch) | |
tree | f3350186e63fab1295f244b5dc9d5bb7c5f6d0bd | |
parent | be0b6b1506ab6f9376568d2a9957fa8c831e6aa7 (diff) | |
download | freebsd-ports-gnome-0fe8482228aadb51abdcda603394629346a3652d.tar.gz freebsd-ports-gnome-0fe8482228aadb51abdcda603394629346a3652d.tar.zst freebsd-ports-gnome-0fe8482228aadb51abdcda603394629346a3652d.zip |
- Update to 0.9.20131021
- Switch to USE_GITHUB
- Add WWW
PR: 202207
Submitted by: dereks@lifeofadishwasher.com
Approved by: udvzsolt@gmail.com(maintainer)
-rw-r--r-- | textproc/urlview/Makefile | 13 | ||||
-rw-r--r-- | textproc/urlview/distinfo | 4 | ||||
-rw-r--r-- | textproc/urlview/files/patch-sample.urlview | 25 | ||||
-rw-r--r-- | textproc/urlview/files/patch-urlview.c | 20 | ||||
-rw-r--r-- | textproc/urlview/pkg-descr | 2 |
5 files changed, 9 insertions, 55 deletions
diff --git a/textproc/urlview/Makefile b/textproc/urlview/Makefile index 4df2c5db9db8..661494b88f60 100644 --- a/textproc/urlview/Makefile +++ b/textproc/urlview/Makefile @@ -2,21 +2,18 @@ # $FreeBSD$ PORTNAME= urlview -PORTVERSION= 0.9 -PORTREVISION= 7 +PORTVERSION= 0.9.20131021 CATEGORIES= textproc www -MASTER_SITES= ftp://ftp.mutt.org/mutt/contrib/ \ - ftp://ftp.cs.tu-berlin.de/pub/net/mail/mutt/contrib/ \ - ftp://ftp.fu-berlin.de/pub/unix/mail/mutt/contrib/ \ - ftp://ftp.gbnet.net/pub/mutt-international/contrib/ \ - ftp://ftp.gwdg.de/pub/unix/mail/mutt/international/contrib/ \ - http://seis.bris.ac.uk/~mexas/ MAINTAINER= udvzsolt@gmail.com COMMENT= URL extractor/launcher LICENSE= GPLv2 +USE_GITHUB= yes +GH_ACCOUNT= sigpipe +GH_TAGNAME= 45443109 + GNU_CONFIGURE= yes PLIST_FILES= bin/urlview \ etc/urlview.conf.sample \ diff --git a/textproc/urlview/distinfo b/textproc/urlview/distinfo index cda6c7817335..f03d004ae745 100644 --- a/textproc/urlview/distinfo +++ b/textproc/urlview/distinfo @@ -1,2 +1,2 @@ -SHA256 (urlview-0.9.tar.gz) = 74d18026e84e3cd70a3fdd1a7247a68031b0c1c1c6d761d64b7063ff71091cc3 -SIZE (urlview-0.9.tar.gz) = 46685 +SHA256 (sigpipe-urlview-0.9.20131021-45443109_GH0.tar.gz) = 2aa14d67a8bd44fd0533fa6000507a1aa67e9d72447b0c2eb66183a2f830cd31 +SIZE (sigpipe-urlview-0.9.20131021-45443109_GH0.tar.gz) = 91331 diff --git a/textproc/urlview/files/patch-sample.urlview b/textproc/urlview/files/patch-sample.urlview deleted file mode 100644 index faf6a6a036f0..000000000000 --- a/textproc/urlview/files/patch-sample.urlview +++ /dev/null @@ -1,25 +0,0 @@ ---- sample.urlview~ -+++ sample.urlview -@@ -3,7 +3,6 @@ - # man urlview <Man page> - # - # Put this file in: $HOME/.urlview --# Put url_handler.sh in: /usr/bin - # - # You can call 'urlview' while in 'mutt' by pressing the Ctrl b keys. - # Put these macros in your $HOME/.muttrc file. -@@ -19,10 +18,8 @@ - #REGEXP (((http|https|ftp|gopher)|mailto):(//)?[^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):] - REGEXP (((http|https|ftp|gopher)|mailto)[.:][^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):] - --# Command to invoke for selected URL. Use lynx, netscape, or url_handler.sh --# shell script. -- --#COMMAND lynx %s --#COMMAND netscape -remote 'openURL(%s)' --COMMAND url_handler.sh -+# Command to invoke for selected URL. - -+#COMMAND lynx %s # :VT -+#COMMAND u=%s; xterm -e lynx $u || lynx $u # :XT -+#COMMAND firefox %s 2>/dev/null & # :XW diff --git a/textproc/urlview/files/patch-urlview.c b/textproc/urlview/files/patch-urlview.c deleted file mode 100644 index 63d8f3f184f0..000000000000 --- a/textproc/urlview/files/patch-urlview.c +++ /dev/null @@ -1,20 +0,0 @@ ---- urlview.c.orig 2013-07-19 22:44:59.000000000 +0100 -+++ urlview.c 2013-07-19 22:45:22.000000000 +0100 -@@ -46,6 +46,8 @@ - #include <rx/rxposix.h> - #endif - -+#include "quote.h" -+ - #define DEFAULT_REGEXP "(((https?|ftp|gopher)://|(mailto|file|news):)[^' \t<>\"]+|(www|web|w3)\\.[-a-z0-9.]+)[^' \t.,;<>\"\\):]" - #define DEFAULT_COMMAND "firefox %s" - #define SYSTEM_INITFILE "/usr/local/etc/urlview.conf" -@@ -61,7 +63,7 @@ - MOTION - }; - --extern int mutt_enter_string (unsigned char *buf, size_t buflen, int y, int x, -+extern int mutt_enter_string (char *buf, size_t buflen, int y, int x, - int flags); - - void search_forward (char *search, int urlcount, char **url, int *redraw, int *current, int *top) diff --git a/textproc/urlview/pkg-descr b/textproc/urlview/pkg-descr index a1c30320535a..67c68dd5543e 100644 --- a/textproc/urlview/pkg-descr +++ b/textproc/urlview/pkg-descr @@ -4,3 +4,5 @@ command to view a specific item. urlview uses a regular expression to extract URLs from the specified text files. + +WWW: https://github.com/sigpipe/urlview |