From owner-svn-ports-head@freebsd.org Mon Jan 23 16:40:44 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E66EFCBD34A; Mon, 23 Jan 2017 16:40:44 +0000 (UTC) (envelope-from olivierd@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A8BBF243; Mon, 23 Jan 2017 16:40:44 +0000 (UTC) (envelope-from olivierd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v0NGehSf008313; Mon, 23 Jan 2017 16:40:43 GMT (envelope-from olivierd@FreeBSD.org) Received: (from olivierd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v0NGeh4q008309; Mon, 23 Jan 2017 16:40:43 GMT (envelope-from olivierd@FreeBSD.org) Message-Id: <201701231640.v0NGeh4q008309@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: olivierd set sender to olivierd@FreeBSD.org using -f From: Olivier Duchateau Date: Mon, 23 Jan 2017 16:40:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r432249 - in head/textproc/extract_url: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jan 2017 16:40:45 -0000 Author: olivierd Date: Mon Jan 23 16:40:43 2017 New Revision: 432249 URL: https://svnweb.freebsd.org/changeset/ports/432249 Log: - Update to 1.6.1 - Switch to GitHub host - Remove GETOPT_LONG option - Pass maintainership to submitter PR: 216180 Submitted by: Danilo G. Baio MFH: 2017Q1 Added: head/textproc/extract_url/files/patch-extract__url.pl (contents, props changed) Deleted: head/textproc/extract_url/files/extract_urlview Modified: head/textproc/extract_url/Makefile head/textproc/extract_url/distinfo head/textproc/extract_url/files/pkg-message.in Modified: head/textproc/extract_url/Makefile ============================================================================== --- head/textproc/extract_url/Makefile Mon Jan 23 16:33:37 2017 (r432248) +++ head/textproc/extract_url/Makefile Mon Jan 23 16:40:43 2017 (r432249) @@ -2,20 +2,16 @@ # $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} @@ -25,26 +21,26 @@ MAKE_ARGS= all prefix=${PREFIX} man_pref 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 @@ -53,8 +49,9 @@ post-patch: ${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} Modified: head/textproc/extract_url/distinfo ============================================================================== --- head/textproc/extract_url/distinfo Mon Jan 23 16:33:37 2017 (r432248) +++ head/textproc/extract_url/distinfo Mon Jan 23 16:40:43 2017 (r432249) @@ -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 Added: head/textproc/extract_url/files/patch-extract__url.pl ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/extract_url/files/patch-extract__url.pl Mon Jan 23 16:40:43 2017 (r432249) @@ -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, "+