aboutsummaryrefslogtreecommitdiff
path: root/databases/libnvpair
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2015-09-30 10:28:55 +0000
committerJohn Marino <marino@FreeBSD.org>2015-09-30 10:28:55 +0000
commit5df261c393503a49aab82fe23ebc81f7d4ae1219 (patch)
tree0d7c54ccc27c44c22036ef1b89aa9fd3c7ce37bf /databases/libnvpair
parent5513b0c05eef090eb9238f97398de62953cf3307 (diff)
downloadports-5df261c393503a49aab82fe23ebc81f7d4ae1219.tar.gz
ports-5df261c393503a49aab82fe23ebc81f7d4ae1219.zip
Add new port databases/libnvpair
libnvpair is a name-value pair library originating from Solaris The nvpair library was released in OpenSolaris and has been extended by the Illumos project. It exports a set of functions used for managing name-value pairs. This is a base library for Solaris and its descendents. However, the kernel-specific code has been removed thus libnvpair is strictly meant for the userland. The XDR functionality has been masked for now due to RPC differences between *BSD and Illumos.
Notes
Notes: svn path=/head/; revision=398211
Diffstat (limited to 'databases/libnvpair')
-rw-r--r--databases/libnvpair/Makefile22
-rw-r--r--databases/libnvpair/distinfo2
-rw-r--r--databases/libnvpair/pkg-descr10
-rw-r--r--databases/libnvpair/pkg-plist6
4 files changed, 40 insertions, 0 deletions
diff --git a/databases/libnvpair/Makefile b/databases/libnvpair/Makefile
new file mode 100644
index 000000000000..df65c9cd8728
--- /dev/null
+++ b/databases/libnvpair/Makefile
@@ -0,0 +1,22 @@
+# Created by: John Marino <marino@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= libnvpair
+PORTVERSION= 1.0.2
+CATEGORIES= databases devel
+
+MAINTAINER= marino@FreeBSD.org
+COMMENT= Illumos name-value pair library
+
+LICENSE= CDDL
+
+GH_ACCOUNT= jrmarino
+USE_GITHUB= yes
+
+MAKE_ARGS= LIBDIR=${PREFIX}/lib
+
+post-install:
+ (cd ${WRKSRC} && ${INSTALL_DATA} libnvpair.h nvpair.h \
+ nvpair_type_compat.h ${STAGEDIR}${PREFIX}/include/)
+
+.include <bsd.port.mk>
diff --git a/databases/libnvpair/distinfo b/databases/libnvpair/distinfo
new file mode 100644
index 000000000000..fa331674d9c8
--- /dev/null
+++ b/databases/libnvpair/distinfo
@@ -0,0 +1,2 @@
+SHA256 (jrmarino-libnvpair-1.0.2_GH0.tar.gz) = 1dd0390b9bfba71cd6902b119df98ecfaafeb780e244dd9d6bea9ded6946a993
+SIZE (jrmarino-libnvpair-1.0.2_GH0.tar.gz) = 37960
diff --git a/databases/libnvpair/pkg-descr b/databases/libnvpair/pkg-descr
new file mode 100644
index 000000000000..279f04df1ffa
--- /dev/null
+++ b/databases/libnvpair/pkg-descr
@@ -0,0 +1,10 @@
+libnvpair is a name-value pair library originating from Solaris
+
+The nvpair library was released in OpenSolaris and has been extended
+by the Illumos project. It exports a set of functions used for managing
+name-value pairs. This is a base library for Solaris and its descendents.
+However, the kernel-specific code has been removed thus libnvpair is
+strictly meant for the userland. The XDR functionality has been masked
+for now due to RPC differences between *BSD and Illumos.
+
+WWW: http://illumos.org/man/3lib/libnvpair
diff --git a/databases/libnvpair/pkg-plist b/databases/libnvpair/pkg-plist
new file mode 100644
index 000000000000..02152bd0b990
--- /dev/null
+++ b/databases/libnvpair/pkg-plist
@@ -0,0 +1,6 @@
+include/libnvpair.h
+include/nvpair.h
+include/nvpair_type_compat.h
+lib/libnvpair.a
+lib/libnvpair.so
+lib/libnvpair.so.1