From owner-svn-ports-head@FreeBSD.ORG Sun Jul 21 06:17:36 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 32C85DF2; Sun, 21 Jul 2013 06:17:36 +0000 (UTC) (envelope-from jgh@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 15FA6396; Sun, 21 Jul 2013 06:17:36 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6L6HZ7g000674; Sun, 21 Jul 2013 06:17:35 GMT (envelope-from jgh@svn.freebsd.org) Received: (from jgh@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r6L6HZKB000669; Sun, 21 Jul 2013 06:17:35 GMT (envelope-from jgh@svn.freebsd.org) Message-Id: <201307210617.r6L6HZKB000669@svn.freebsd.org> From: Jason Helfman Date: Sun, 21 Jul 2013 06:17:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r323371 - in head/sysutils: . screenfetch screenfetch/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.14 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: Sun, 21 Jul 2013 06:17:36 -0000 Author: jgh Date: Sun Jul 21 06:17:34 2013 New Revision: 323371 URL: http://svnweb.freebsd.org/changeset/ports/323371 Log: screenFetch is a "Bash Screenshot Information Tool". This handy Bash script can be used to generate one of those nifty terminal theme information + ASCII distribution logos you see in everyone's screenshots nowadays. It will auto-detect your distribution and display an ASCII version of that distribution's logo and some valuable information to the right. There are options to specify no ascii art, colors, taking a screenshot upon displaying info, and even customizing the screenshot command! This script is very easy to add to and can easily be extended. WWW: https://github.com/KittyKatt/screenFetch Added: head/sysutils/screenfetch/ head/sysutils/screenfetch/Makefile (contents, props changed) head/sysutils/screenfetch/distinfo (contents, props changed) head/sysutils/screenfetch/files/ head/sysutils/screenfetch/files/patch-screenfetch-dev (contents, props changed) head/sysutils/screenfetch/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Sun Jul 21 06:05:48 2013 (r323370) +++ head/sysutils/Makefile Sun Jul 21 06:17:34 2013 (r323371) @@ -866,6 +866,7 @@ SUBDIR += schedutils SUBDIR += scprotect SUBDIR += screen + SUBDIR += screenfetch SUBDIR += screenie SUBDIR += sdd SUBDIR += sdparm Added: head/sysutils/screenfetch/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/screenfetch/Makefile Sun Jul 21 06:17:34 2013 (r323371) @@ -0,0 +1,40 @@ +# Created by: Jason Helfman +# $FreeBSD$ + +PORTNAME= screenFetch +PORTVERSION= 3.0.5 +CATEGORIES= sysutils +MASTER_SITES= GH + +MAINTAINER= jgh@FreeBSD.org +COMMENT= Bash Screenshot Information Tool + +LICENSE= GPLv3 + +RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \ + xdpyinfo:${PORTSDIR}/x11/xdpyinfo + +OPTIONS_DEFINE= DOCS + +NO_BUILD= yes +USE_GITHUB= yes +GH_ACCOUNT= KittyKatt +GH_TAGNAME= dcf0dd9 +GH_COMMIT= ${GH_TAGNAME} + +PLIST_FILES= bin/screenFetch +PORTDOCS= CHANGELOG README.mkdn TODO + +.include + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME:L}-dev ${PREFIX}/bin/${PORTNAME} + +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} +.for file in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.endif + +.include Added: head/sysutils/screenfetch/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/screenfetch/distinfo Sun Jul 21 06:17:34 2013 (r323371) @@ -0,0 +1,2 @@ +SHA256 (screenFetch-3.0.5.tar.gz) = ac7f7aad7a600d5cb84e464d533d8a0d7104635f702c86a4eb44dfe96bae6646 +SIZE (screenFetch-3.0.5.tar.gz) = 45192 Added: head/sysutils/screenfetch/files/patch-screenfetch-dev ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/screenfetch/files/patch-screenfetch-dev Sun Jul 21 06:17:34 2013 (r323371) @@ -0,0 +1,20 @@ +--- ./screenfetch-dev.orig 2013-07-19 23:33:57.000000000 -0700 ++++ ./screenfetch-dev 2013-07-19 23:35:46.000000000 -0700 +@@ -686,13 +686,16 @@ + pkgs=$((${pkgs} + ${brew_pkgs})) + fi + ;; +- 'FreeBSD'|'OpenBSD') ++ 'OpenBSD') + pkgs=$(pkg_info | wc -l | awk '{sub(" ", "");print $1}') + if type -p portmaster >/dev/null 2>&1; then + ports=$(portmaster -l | grep -Eo '[0-9]+ total installed' | sed 's/ total installed//') + pkgs=$((${pkgs} + ${ports})) + fi + ;; ++ 'FreeBSD') ++ pkgs=$(pkg info |wc -l|awk '{print $1}' || pkg_info | wc -l | awk '{sub(" ", "");print $1}') ++ ;; + 'Cygwin') cygfix=2; pkgs=$(($(cygcheck -cd | wc -l)-$cygfix)) ;; + esac + [[ "$verbosity" -eq "1" ]] && verboseOut "Finding current package count...found as '$pkgs'" Added: head/sysutils/screenfetch/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/screenfetch/pkg-descr Sun Jul 21 06:17:34 2013 (r323371) @@ -0,0 +1,10 @@ +screenFetch is a "Bash Screenshot Information Tool". This handy Bash script can +be used to generate one of those nifty terminal theme information + ASCII +distribution logos you see in everyone's screenshots nowadays. It will +auto-detect your distribution and display an ASCII version of that +distribution's logo and some valuable information to the right. There are +options to specify no ascii art, colors, taking a screenshot upon displaying +info, and even customizing the screenshot command! This script is very easy to +add to and can easily be extended. + +WWW: https://github.com/KittyKatt/screenFetch