summaryrefslogtreecommitdiff
path: root/sysutils/screenfetch/Makefile
diff options
context:
space:
mode:
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"