summaryrefslogtreecommitdiff
path: root/x11/rofi-calc/Makefile
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2019-05-30 03:20:04 +0000
committerSteve Wills <swills@FreeBSD.org>2019-05-30 03:20:04 +0000
commitc1c5a14b0665fb5960faaea0d51510a581f27492 (patch)
treed865d853d84a6d955357fab6ff5fa2f3b4077803 /x11/rofi-calc/Makefile
parentemulators/mednafen: Update to 1.22.1 (diff)
x11/rofi-calc: create port
rofi plugin that uses libqalculate's qalc to parse natural language input and provide results. Since this uses libqalculate's amazing qalc you can try natural language queries such 500 + 25% or 5000 EUR to USD or 150 to hex. It can also solve linear equations on the fly. Try 60x + 30 = 50, for instance. WWW: https://github.com/svenstaro/rofi-calc PR: 238028 Submitted by: Alexander Sieg <alex@xanderio.de>
Notes
Notes: svn path=/head/; revision=503032
Diffstat (limited to 'x11/rofi-calc/Makefile')
-rw-r--r--x11/rofi-calc/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/x11/rofi-calc/Makefile b/x11/rofi-calc/Makefile
new file mode 100644
index 000000000000..be939a6bcd00
--- /dev/null
+++ b/x11/rofi-calc/Makefile
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME= rofi-calc
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.5
+CATEGORIES= x11
+
+MAINTAINER= alex@xanderio.de
+COMMENT= Do live calculations in rofi
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= rofi:x11/rofi
+BUILD_DEPENDS= rofi:x11/rofi
+LIB_DEPENDS= libcairo.so:graphics/cairo \
+ libglib-2.0.so:devel/glib20 \
+ libqalculate.so:math/libqalculate
+
+USES= autoreconf gettext-runtime libtool pkgconfig
+USE_GITHUB= yes
+
+GH_ACCOUNT= svenstaro
+GNU_CONFIGURE= yes
+
+PLIST_FILES= lib/rofi/calc.so
+
+.include <bsd.port.mk>