aboutsummaryrefslogtreecommitdiff
path: root/net/libnfs
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2013-02-26 23:12:28 +0000
committerPawel Pekala <pawel@FreeBSD.org>2013-02-26 23:12:28 +0000
commit917a58ad41204dab36dfff5aa7989bbc91c336ac (patch)
tree9472cf4094c82a65e61be008acc0f50faf21d96f /net/libnfs
parente4842349408e02d7470fceeeeb212c3fed66eea5 (diff)
downloadports-917a58ad41204dab36dfff5aa7989bbc91c336ac.tar.gz
ports-917a58ad41204dab36dfff5aa7989bbc91c336ac.zip
Notes
Diffstat (limited to 'net/libnfs')
-rw-r--r--net/libnfs/Makefile28
-rw-r--r--net/libnfs/distinfo2
-rw-r--r--net/libnfs/pkg-descr8
-rw-r--r--net/libnfs/pkg-plist12
4 files changed, 50 insertions, 0 deletions
diff --git a/net/libnfs/Makefile b/net/libnfs/Makefile
new file mode 100644
index 000000000000..476d68bd0809
--- /dev/null
+++ b/net/libnfs/Makefile
@@ -0,0 +1,28 @@
+# Created by: Manuel Creach <manuel.creach@icloud.com>
+# $FreeBSD$
+
+PORTNAME= libnfs
+PORTVERSION= 1.3.0
+CATEGORIES= net
+MASTER_SITES= http://cloud.github.com/downloads/sahlberg/${PORTNAME}/
+
+MAINTAINER= manuel.creach@icloud.com
+COMMENT= Client library for accessing NFS shares over a network
+
+LICENSE= LGPL21 GPLv3
+LICENSE_COMB= multi
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USE_GMAKE= yes
+USE_AUTORECONF= yes
+USE_AUTOTOOLS= aclocal autoheader automake autoconf libtoolize
+ACLOCAL_ARGS= -I.
+AUTOMAKE_ARGS= --add-missing
+USE_PKGCONFIG= build
+USE_LDCONFIG= yes
+
+post-patch:
+ ${REINPLACE_CMD} 's|$$(libdir)/\(pkgconfig\)|$$(prefix)/libdata/\1|' \
+ ${WRKSRC}/Makefile.am
+
+.include <bsd.port.mk>
diff --git a/net/libnfs/distinfo b/net/libnfs/distinfo
new file mode 100644
index 000000000000..fc404f7e3906
--- /dev/null
+++ b/net/libnfs/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libnfs-1.3.0.tar.gz) = 812c8ae47c8b0c37c21f313b669d4dc8e8025007ba7492102eb67508eb0a82cc
+SIZE (libnfs-1.3.0.tar.gz) = 57928
diff --git a/net/libnfs/pkg-descr b/net/libnfs/pkg-descr
new file mode 100644
index 000000000000..cc376c3092e2
--- /dev/null
+++ b/net/libnfs/pkg-descr
@@ -0,0 +1,8 @@
+LIBNFS is a client library for accessing NFS shares over a network.
+
+LIBNFS offers three different APIs, for different use :
+1, RAW : A fully async low level RPC library for NFS protocols
+2, NFS ASYNC : A fully asynchronous library for high level vfs functions
+3, NFS SYNC : A synchronous library for high level vfs functions
+
+WWW: https://github.com/sahlberg/libnfs
diff --git a/net/libnfs/pkg-plist b/net/libnfs/pkg-plist
new file mode 100644
index 000000000000..c08af617dd4e
--- /dev/null
+++ b/net/libnfs/pkg-plist
@@ -0,0 +1,12 @@
+lib/libnfs.la
+lib/libnfs.a
+lib/libnfs.so
+lib/libnfs.so.1
+include/nfsc/libnfs-raw-mount.h
+include/nfsc/libnfs-raw-nfs.h
+include/nfsc/libnfs-raw-portmap.h
+include/nfsc/libnfs-raw-rquota.h
+include/nfsc/libnfs-raw.h
+include/nfsc/libnfs.h
+libdata/pkgconfig/libnfs.pc
+@dirrm include/nfsc