aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2017-01-10 03:53:37 +0800
committerpi <pi@FreeBSD.org>2017-01-10 03:53:37 +0800
commitae12580e0e8512d49686ef62b833003e072b6fe8 (patch)
tree398630b4626269c38346e74b709b407db0b2eef0
parent0ca25b13c240ce937edf2b09eae99feac5a9c609 (diff)
downloadfreebsd-ports-gnome-ae12580e0e8512d49686ef62b833003e072b6fe8.tar.gz
freebsd-ports-gnome-ae12580e0e8512d49686ef62b833003e072b6fe8.tar.zst
freebsd-ports-gnome-ae12580e0e8512d49686ef62b833003e072b6fe8.zip
New port: devel/serd
Serd is a lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples. Serd (and the included serdi tool) can be used to stream abbreviated Turtle. Serd can serialise an unbounded amount of abbreviated Turtle using a fixed amount of memory, and it does so very quickly. Serd is written to the Turtle, NTriples and URI specifications, and includes a comprehensive test suite which includes all the tests from the Turtle specification. WWW: https://drobilla.net/software/serd PR: 213169 Submitted by: Goran Mekic <meka@tilda.center>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/serd/Makefile27
-rw-r--r--devel/serd/distinfo3
-rw-r--r--devel/serd/pkg-descr12
-rw-r--r--devel/serd/pkg-plist7
5 files changed, 50 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 03e10a264611..7764ae56834a 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5512,6 +5512,7 @@
SUBDIR += sdlskk
SUBDIR += sdts++
SUBDIR += sedsed
+ SUBDIR += serd
SUBDIR += serdisplib
SUBDIR += sfio
SUBDIR += sfml
diff --git a/devel/serd/Makefile b/devel/serd/Makefile
new file mode 100644
index 000000000000..66fc0e0035f1
--- /dev/null
+++ b/devel/serd/Makefile
@@ -0,0 +1,27 @@
+# Created by: meka
+# $FreeBSD$
+
+PORTNAME= serd
+PORTVERSION= 0.24.0
+CATEGORIES= devel
+MASTER_SITES= http://download.drobilla.net/
+
+MAINTAINER= meka@tilda.center
+COMMENT= C library for RDF syntax
+
+LICENSE= ISC
+LICENSE_NAME= ISC
+LICENSE_FILE= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/COPYING
+LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+USES= pkgconfig tar:bzip2 waf
+USE_LDCONFIG= yes
+PKG_CONFIG_PATH= ${PREFIX}/libdata/pkgconfig
+CONFIGURE_ARGS+= PKG_CONFIG_PATH=${PKG_CONFIG_PATH}
+
+post-install:
+ ${MV} ${STAGEDIR}${PREFIX}/lib/pkgconfig ${STAGEDIR}${PREFIX}/libdata/
+ ${MV} ${STAGEDIR}${PREFIX}/share/man/man1 ${STAGEDIR}${PREFIX}/man/
+ ${RMDIR} ${STAGEDIR}${PREFIX}/share/man
+
+.include <bsd.port.mk>
diff --git a/devel/serd/distinfo b/devel/serd/distinfo
new file mode 100644
index 000000000000..158c6abffbb3
--- /dev/null
+++ b/devel/serd/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1475515854
+SHA256 (serd-0.24.0.tar.bz2) = 8cfb8ade8d9a6f784da6e00ac05a28b7de440df5d2513796cd34aaa2754f6a6c
+SIZE (serd-0.24.0.tar.bz2) = 346615
diff --git a/devel/serd/pkg-descr b/devel/serd/pkg-descr
new file mode 100644
index 000000000000..b546ab99af16
--- /dev/null
+++ b/devel/serd/pkg-descr
@@ -0,0 +1,12 @@
+Serd is a lightweight C library for RDF syntax which supports reading
+and writing Turtle and NTriples.
+
+Serd (and the included serdi tool) can be used to stream abbreviated
+Turtle. Serd can serialise an unbounded amount of abbreviated
+Turtle using a fixed amount of memory, and it does so very quickly.
+
+Serd is written to the Turtle, NTriples and URI specifications, and
+includes a comprehensive test suite which includes all the tests
+from the Turtle specification.
+
+WWW: https://drobilla.net/software/serd
diff --git a/devel/serd/pkg-plist b/devel/serd/pkg-plist
new file mode 100644
index 000000000000..2802b6f42dcd
--- /dev/null
+++ b/devel/serd/pkg-plist
@@ -0,0 +1,7 @@
+bin/serdi
+include/serd-0/serd/serd.h
+lib/libserd-0.so
+lib/libserd-0.so.0
+lib/libserd-0.so.0.24.0
+libdata/pkgconfig/serd-0.pc
+man/man1/serdi.1.gz