summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/enet/DESCR6
-rw-r--r--net/enet/Makefile18
-rw-r--r--net/enet/PLIST12
-rw-r--r--net/enet/buildlink3.mk12
-rw-r--r--net/enet/distinfo6
5 files changed, 54 insertions, 0 deletions
diff --git a/net/enet/DESCR b/net/enet/DESCR
new file mode 100644
index 00000000000..840075b9a3d
--- /dev/null
+++ b/net/enet/DESCR
@@ -0,0 +1,6 @@
+ENet's purpose is to provide a relatively thin, simple and robust network
+communication layer on top of UDP (User Datagram Protocol). The primary
+feature it provides is optional reliable, in-order delivery of packets.
+ENet is NOT intended to be a general purpose high level networking library
+that handles authentication, lobbying, server discovery, compression,
+encryption and other high level, often application level or dependent tasks.
diff --git a/net/enet/Makefile b/net/enet/Makefile
new file mode 100644
index 00000000000..1df6a7ef7f8
--- /dev/null
+++ b/net/enet/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2016/10/19 19:15:22 kamil Exp $
+
+DISTNAME= enet-1.3.13
+CATEGORIES= net
+MASTER_SITES= http://enet.bespin.org/download/
+
+MAINTAINER= Pseudo.Statistic@gmail.com
+HOMEPAGE= http://enet.bespin.org/
+COMMENT= Network communication layer that runs on top of UDP
+LICENSE= mit
+
+USE_TOOLS+= gmake
+GNU_CONFIGURE= yes
+
+CONFIGURE_ARGS.NetBSD+= ac_cv_func_gethostbyname_r=no
+CONFIGURE_ARGS.NetBSD+= ac_cv_func_gethostbyaddr_r=no
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/enet/PLIST b/net/enet/PLIST
new file mode 100644
index 00000000000..a34da0241fa
--- /dev/null
+++ b/net/enet/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1 2016/10/19 19:15:22 kamil Exp $
+include/enet/callbacks.h
+include/enet/enet.h
+include/enet/list.h
+include/enet/protocol.h
+include/enet/time.h
+include/enet/types.h
+include/enet/unix.h
+include/enet/utility.h
+include/enet/win32.h
+lib/libenet.la
+lib/pkgconfig/libenet.pc
diff --git a/net/enet/buildlink3.mk b/net/enet/buildlink3.mk
new file mode 100644
index 00000000000..f5e41edeb36
--- /dev/null
+++ b/net/enet/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/10/19 19:15:22 kamil Exp $
+
+BUILDLINK_TREE+= enet
+
+.if !defined(ENET_BUILDLINK3_MK)
+ENET_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.enet+= enet>=1.3.13
+BUILDLINK_PKGSRCDIR.enet?= ../../net/enet
+.endif # ENET_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -enet
diff --git a/net/enet/distinfo b/net/enet/distinfo
new file mode 100644
index 00000000000..a345549c481
--- /dev/null
+++ b/net/enet/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/10/19 19:15:22 kamil Exp $
+
+SHA1 (enet-1.3.13.tar.gz) = 5bcf9aa1a8f2e54cc85c1435d7dac0970d382b7e
+RMD160 (enet-1.3.13.tar.gz) = 202cee748eabecf30d08e5b7e68f02bcc395ab99
+SHA512 (enet-1.3.13.tar.gz) = 82501c0248330a3a6bcac907907760e59b18cb662ebb42fe2c91e1557f1bc8ab452bf3fe7477dc01fa7a6e3b6124e1eb8eac46382d5bbebb2394879f9568b5df
+Size (enet-1.3.13.tar.gz) = 669090 bytes