summaryrefslogtreecommitdiff
path: root/graphics/hvif-tools
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/hvif-tools')
-rw-r--r--graphics/hvif-tools/Makefile23
-rw-r--r--graphics/hvif-tools/distinfo3
-rw-r--r--graphics/hvif-tools/pkg-descr8
3 files changed, 34 insertions, 0 deletions
diff --git a/graphics/hvif-tools/Makefile b/graphics/hvif-tools/Makefile
new file mode 100644
index 000000000000..b072d5355c1f
--- /dev/null
+++ b/graphics/hvif-tools/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= hvif-tools
+DISTVERSION= 1.0.1
+CATEGORIES= graphics
+MASTER_SITES= https://github.com/threedeyes/${PORTNAME}/releases/download/${DISTVERSION}/
+
+MAINTAINER= hoanga@gmail.com
+COMMENT= Toolkit for converting HVIF icons to SVG and back
+WWW= https://github.com/threedeyes/hvif-tools/
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${LOCALBASE}/include/nanosvg.h:graphics/nanosvg
+
+USES= cmake localbase
+
+EXTRACT_AFTER_ARGS= --exclude external \
+ --no-same-owner --no-same-permissions
+
+PLIST_FILES= bin/hvif2svg \
+ bin/svg2hvif
+
+.include <bsd.port.mk>
diff --git a/graphics/hvif-tools/distinfo b/graphics/hvif-tools/distinfo
new file mode 100644
index 000000000000..a1ec01900764
--- /dev/null
+++ b/graphics/hvif-tools/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1757295299
+SHA256 (hvif-tools-1.0.1.tar.gz) = 3abfa05b8de481931b66c640bf19910d0f41831d22cc25a4a8fd0d0a9b16f26f
+SIZE (hvif-tools-1.0.1.tar.gz) = 312308
diff --git a/graphics/hvif-tools/pkg-descr b/graphics/hvif-tools/pkg-descr
new file mode 100644
index 000000000000..800ba8e92b6a
--- /dev/null
+++ b/graphics/hvif-tools/pkg-descr
@@ -0,0 +1,8 @@
+A small set of command-line tools to work with the Haiku Vector Icon
+Format (HVIF).
+
+Usage for hvif2svg:
+hvif2svg input.hvif outout.svg [width] [height]
+
+Usage for svg2hvif:
+svg2hvif [-v | --verbose] input.svg output.hvif