svn commit: r509510 - in head/graphics: . libspng
Tobias Kortkamp
tobik at FreeBSD.org
Wed Aug 21 15:51:17 UTC 2019
Author: tobik
Date: Wed Aug 21 15:51:15 2019
New Revision: 509510
URL: https://svnweb.freebsd.org/changeset/ports/509510
Log:
New port: graphics/libspng
Libspng is a C library for reading and writing Portable Network
Graphics (PNG) format files with a focus on security and ease of
use.
The goal is to provide a fast PNG library with a simpler API than
libpng.
WWW: https://libspng.org/
Added:
head/graphics/libspng/
head/graphics/libspng/Makefile (contents, props changed)
head/graphics/libspng/distinfo (contents, props changed)
head/graphics/libspng/pkg-descr (contents, props changed)
head/graphics/libspng/pkg-plist (contents, props changed)
Modified:
head/graphics/Makefile
Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile Wed Aug 21 15:28:25 2019 (r509509)
+++ head/graphics/Makefile Wed Aug 21 15:51:15 2019 (r509510)
@@ -495,6 +495,7 @@
SUBDIR += librsvg2-rust
SUBDIR += libsixel
SUBDIR += libspiro
+ SUBDIR += libspng
SUBDIR += libsvg
SUBDIR += libsvg-cairo
SUBDIR += libvisual
Added: head/graphics/libspng/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/libspng/Makefile Wed Aug 21 15:51:15 2019 (r509510)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= libspng
+DISTVERSION= 0.5.0
+CATEGORIES= graphics
+MASTER_SITES= https://gitlab.com/randy408/libspng/uploads/3d980bac86c51368f40af2f1ac79a057/
+
+MAINTAINER= tobik at FreeBSD.org
+COMMENT= Simple PNG decoding and encoding library
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= meson pkgconfig tar:xz
+USE_LDCONFIG= yes
+
+MESON_ARGS= -Denable_opt=false
+PLIST_SUB= SOVERSION=${DISTVERSION}
+
+OPTIONS_DEFINE= DOCS
+
+post-install-DOCS-on:
+ @cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
Added: head/graphics/libspng/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/libspng/distinfo Wed Aug 21 15:51:15 2019 (r509510)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1566396053
+SHA256 (libspng-0.5.0.tar.xz) = 220a653802559943ae43fd48f03ba6ff3935a5243766d9ee5ff905240d4399a7
+SIZE (libspng-0.5.0.tar.xz) = 98620
Added: head/graphics/libspng/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/libspng/pkg-descr Wed Aug 21 15:51:15 2019 (r509510)
@@ -0,0 +1,8 @@
+Libspng is a C library for reading and writing Portable Network
+Graphics (PNG) format files with a focus on security and ease of
+use.
+
+The goal is to provide a fast PNG library with a simpler API than
+libpng.
+
+WWW: https://libspng.org/
Added: head/graphics/libspng/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/libspng/pkg-plist Wed Aug 21 15:51:15 2019 (r509510)
@@ -0,0 +1,13 @@
+include/spng.h
+lib/libspng.so
+lib/libspng.so.%%SOVERSION%%
+libdata/pkgconfig/spng.pc
+%%PORTDOCS%%%%DOCSDIR%%/api.md
+%%PORTDOCS%%%%DOCSDIR%%/build.md
+%%PORTDOCS%%%%DOCSDIR%%/chunk.md
+%%PORTDOCS%%%%DOCSDIR%%/context.md
+%%PORTDOCS%%%%DOCSDIR%%/decode.md
+%%PORTDOCS%%%%DOCSDIR%%/errors.md
+%%PORTDOCS%%%%DOCSDIR%%/index.md
+%%PORTDOCS%%%%DOCSDIR%%/usage.md
+%%PORTDOCS%%%%DOCSDIR%%/version.md
More information about the svn-ports-all
mailing list