Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Dec 2024 14:23:08 GMT
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 118c17a7c3f0 - main - graphics/rubygem-svg_optimizer: New port
Message-ID:  <202412141423.4BEEN8mn049079@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by wen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=118c17a7c3f00ada835c0971e538ace1d19a1d24

commit 118c17a7c3f00ada835c0971e538ace1d19a1d24
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2024-12-14 14:21:25 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2024-12-14 14:22:40 +0000

    graphics/rubygem-svg_optimizer: New port
    
    Some SVG optimization based on Node's SVGO.
---
 graphics/Makefile                        |  1 +
 graphics/rubygem-svg_optimizer/Makefile  | 18 ++++++++++++++++++
 graphics/rubygem-svg_optimizer/distinfo  |  3 +++
 graphics/rubygem-svg_optimizer/pkg-descr |  1 +
 4 files changed, 23 insertions(+)

diff --git a/graphics/Makefile b/graphics/Makefile
index 3256bffd5fa5..949d80fb3f34 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -1120,6 +1120,7 @@
     SUBDIR += rubygem-ruby-graphviz
     SUBDIR += rubygem-ruby-vips
     SUBDIR += rubygem-scruffy
+    SUBDIR += rubygem-svg_optimizer
     SUBDIR += rubygem-tanuki_emoji
     SUBDIR += rx
     SUBDIR += s10sh
diff --git a/graphics/rubygem-svg_optimizer/Makefile b/graphics/rubygem-svg_optimizer/Makefile
new file mode 100644
index 000000000000..c2011c9bab71
--- /dev/null
+++ b/graphics/rubygem-svg_optimizer/Makefile
@@ -0,0 +1,18 @@
+PORTNAME=	svg_optimizer
+PORTVERSION=	0.3.0
+CATEGORIES=	graphics rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	wen@FreeBSD.org
+COMMENT=	SVG optimization based on Node's SVGO
+WWW=		https://github.com/fnando/svg_optimizer
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	rubygem-nokogiri>=0:textproc/rubygem-nokogiri
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/graphics/rubygem-svg_optimizer/distinfo b/graphics/rubygem-svg_optimizer/distinfo
new file mode 100644
index 000000000000..c8edf09b936b
--- /dev/null
+++ b/graphics/rubygem-svg_optimizer/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1734185011
+SHA256 (rubygem/svg_optimizer-0.3.0.gem) = d8746d1d409966cf3ab3b793132795c828d4ba87807c7b594e0c5e052811116c
+SIZE (rubygem/svg_optimizer-0.3.0.gem) = 9216
diff --git a/graphics/rubygem-svg_optimizer/pkg-descr b/graphics/rubygem-svg_optimizer/pkg-descr
new file mode 100644
index 000000000000..f5afa21cd1db
--- /dev/null
+++ b/graphics/rubygem-svg_optimizer/pkg-descr
@@ -0,0 +1 @@
+Some SVG optimization based on Node's SVGO.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412141423.4BEEN8mn049079>