Index: branches/2017Q1/textproc/extract_url/Makefile =================================================================== --- branches/2017Q1/textproc/extract_url/Makefile (revision 432311) +++ branches/2017Q1/textproc/extract_url/Makefile (revision 432312) @@ -1,63 +1,60 @@ # Created by: Horia Racoviceanu # $FreeBSD$ PORTNAME= extract_url -PORTVERSION= 1.5.8 -PORTREVISION= 1 +PORTVERSION= 1.6.1 +DISTVERSIONPREFIX= v CATEGORIES= textproc -MASTER_SITES= GOOGLE_CODE -PROJECTHOST= extracturl -MAINTAINER= ports@FreeBSD.org +MAINTAINER= dbaio@bsd.com.br COMMENT= Perl script that extracts URLs from email in MIME or plain text format LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN= Unfetchable (google code has gone away) - BUILD_DEPENDS= p5-MIME-Tools>=0:mail/p5-MIME-Tools \ p5-HTML-Parser>=0:www/p5-HTML-Parser RUN_DEPENDS:= ${BUILD_DEPENDS} USES= gmake perl5 MAKE_ARGS= all prefix=${PREFIX} man_prefix=${PREFIX} SUB_FILES= pkg-message NO_ARCH= yes -WRKSRC= ${WRKDIR}/${PORTNAME} +USE_GITHUB= yes +GH_ACCOUNT= m3m0ryh0l3 +GH_PROJECT= extracturl PLIST_FILES= bin/extract_url \ - etc/extract_urlview.sample \ + share/extract_url/extract_urlview.sample \ man/man1/extract_url.1.gz PORTDOCS= AUTHORS NEWS README -OPTIONS_DEFINE= DOCS GETOPT_LONG URI_FIND +OPTIONS_DEFINE= DOCS URI_FIND OPTIONS_RADIO= URL_SELECTOR OPTIONS_RADIO_URL_SELECTOR= CURSES_UI URLVIEW -OPTIONS_DEFAULT= CURSES_UI GETOPT_LONG URI_FIND +OPTIONS_DEFAULT= CURSES_UI URI_FIND OPTIONS_SUB= yes CURSES_UI_DESC= Allows it to fully replace urlview -GETOPT_LONG_DESC= Recognizes long options --version and --list URI_FIND_DESC= Recognizes more exotic URL variations in plain text URLVIEW_DESC= Uses urlview for the URL selector menu CURSES_UI_RUN_DEPENDS= p5-Curses-UI>=0:devel/p5-Curses-UI -GETOPT_LONG_RUN_DEPENDS=p5-Getopt-Long>=0:devel/p5-Getopt-Long URLVIEW_RUN_DEPENDS= urlview>=0:textproc/urlview URI_FIND_RUN_DEPENDS= p5-URI-Find>=0:textproc/p5-URI-Find post-patch: @${REINPLACE_CMD} '/pod2man.mk/s|make|${MAKE_CMD}|' \ ${WRKSRC}/${MAKEFILE} post-install: - ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}view \ - ${STAGEDIR}${PREFIX}/etc/${PORTNAME}view.sample + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}view.sample \ + ${STAGEDIR}${DATADIR}/ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Index: branches/2017Q1/textproc/extract_url/distinfo =================================================================== --- branches/2017Q1/textproc/extract_url/distinfo (revision 432311) +++ branches/2017Q1/textproc/extract_url/distinfo (revision 432312) @@ -1,2 +1,3 @@ -SHA256 (extract_url-1.5.8.tar.gz) = 58eac907cb926deba74ab81e7503a1055fd3cbe20952f011d8e6b75da12d6bcc -SIZE (extract_url-1.5.8.tar.gz) = 13861 +TIMESTAMP = 1485089324 +SHA256 (m3m0ryh0l3-extracturl-v1.6.1_GH0.tar.gz) = 6ce3a977477cce6c7c8355500db4ef660d5b22118df6534d3ab022124c62a393 +SIZE (m3m0ryh0l3-extracturl-v1.6.1_GH0.tar.gz) = 16192 Index: branches/2017Q1/textproc/extract_url/files/extract_urlview =================================================================== --- branches/2017Q1/textproc/extract_url/files/extract_urlview (revision 432311) +++ branches/2017Q1/textproc/extract_url/files/extract_urlview (nonexistent) @@ -1,31 +0,0 @@ -################################ -### extract_url(1) configuration -# -# Copy this file to ~/.extract_urlview - -# Command used to view URLs -#COMMAND firefox %s & - -# URL will be opened without prompting when emails contains only one -#SHORTCUT - -# Turn off showing the full URL before opening it -#NOREVIEW - -# Disable the automatic exit of URL selection menu after viewing a URL -#PERSISTENT - -# Ignore links that don't correspond to any text -#IGNORE_EMPTY_TAGS - -# Specify which HTML tags will be examined for URLs -#HTML_TAGS a,applet,area,blockquote,embed,form,frame,iframe,input,ins,isindex,head,layer,link,object,q,script,xmp - -# Key for PERSISTENT behaviour, or opposite if PERSISTENT is specified -#ALTSELECT k - -# Show [url] list or show URLs in [context] when the program is run -#DEFAULT_VIEW url - -# Sanitize URLs before they are displayed -#DISPLAY_SANITIZED Property changes on: branches/2017Q1/textproc/extract_url/files/extract_urlview ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: branches/2017Q1/textproc/extract_url/files/patch-extract__url.pl =================================================================== --- branches/2017Q1/textproc/extract_url/files/patch-extract__url.pl (nonexistent) +++ branches/2017Q1/textproc/extract_url/files/patch-extract__url.pl (revision 432312) @@ -0,0 +1,22 @@ +--- extract_url.pl.orig 2017-01-18 14:59:52 UTC ++++ extract_url.pl +@@ -54,18 +54,7 @@ sub VERSION_MESSAGE { + + my $term_cols = 80; + my ($term_rows, $term_wpix, $term_hpix); +-if (eval "use Term::Readkey") { +- ($term_cols, $term_rows, $term_wpix, $term_hpix) = GetTerminalSize(); +-} else { +- require 'sys/ioctl.ph'; +- if (defined &TIOCGWINSZ and open(TTY, "+