summaryrefslogtreecommitdiff
path: root/sysutils/screenfetch/Makefile
diff options
context:
space:
mode:
authorkamil <kamil@pkgsrc.org>2016-07-18 22:56:44 +0000
committerkamil <kamil@pkgsrc.org>2016-07-18 22:56:44 +0000
commit755a4a29a87d50139428285ecd790add1fb81ad0 (patch)
tree95be2eb81ab84e80360e79d1ee77a68bb55cc20d /sysutils/screenfetch/Makefile
parentdf68135811524d44a4364b43b7b15509cd585b65 (diff)
downloadpkgsrc-755a4a29a87d50139428285ecd790add1fb81ad0.tar.gz
Import screenFetch-3.7.0 as sysutils/screenfetch
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.
Diffstat (limited to 'sysutils/screenfetch/Makefile')
-rw-r--r--sysutils/screenfetch/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/sysutils/screenfetch/Makefile b/sysutils/screenfetch/Makefile
new file mode 100644
index 00000000000..b092e566751
--- /dev/null
+++ b/sysutils/screenfetch/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1 2016/07/18 22:56:44 kamil Exp $
+
+DISTNAME= screenFetch-3.7.0
+PKGNAME= ${DISTNAME:tl}
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_GITHUB:=KittyKatt/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/KittyKatt/screenFetch/
+COMMENT= Fetches system/theme information in terminal for screenshots
+LICENSE= gnu-gpl-v3
+
+WRKSRC= ${WRKDIR}/${DISTNAME}
+
+USE_TOOLS+= bash:run
+USE_LANGUAGES= # none
+
+REPLACE_BASH+= screenfetch-dev
+
+NO_BUILD= yes
+
+# These are optional, however the purpose of screenfetch is to make use of them
+DEPENDS+= curl-[0-9]*:../../www/curl
+DEPENDS+= scrot-[0-9]*:../../graphics/scrot
+
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
+
+do-install:
+ ${RUN} cd ${WRKSRC} && ${INSTALL_SCRIPT} screenfetch-dev \
+ ${DESTDIR}${PREFIX}/bin/screenfetch
+ ${RUN} cd ${WRKSRC} && ${INSTALL_DATA} screenfetch.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/screenfetch.1
+
+.include "../../mk/bsd.pkg.mk"