Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Import hawknl-1.7beta1 as wip/hawknl.

HawkNL is a free, open source, game oriented network API released under the GNU
Library General Public License (LGPL). HawkNL (NL) is a fairly low level API, a
wrapper over Berkeley/Unix Sockets and Winsock. But NL also provides other
features including support for many OSs, groups of sockets, socket statistics,
high accuracy timer, CRC functions, macros to read and write data to packets
with endian conversion, and support for multiple network transports. NL has been
tested on Windows 9x/ME/NT/2000/XP/CE, Linux, Solaris, IRIX, AIX, BSDs, Mac OS.
There are also the two high level APIs, HawkNLU (NLU) and HawkVoice, which are
built on top of NL. It is NLU and HawkVoice that are most exciting, since they
give developers portable, easy to use alternatives to the Microsoft DirectPlay
(DPlay) and DirectPlay Voice APIs.
  • Loading branch information...
commit c2685b04c111076ad73e8d99b7f0980bc6e4e233 1 parent 43cc1b4
othyro authored
View
11 hawknl/DESCR
@@ -0,0 +1,11 @@
+HawkNL is a free, open source, game oriented network API released under the GNU
+Library General Public License (LGPL). HawkNL (NL) is a fairly low level API, a
+wrapper over Berkeley/Unix Sockets and Winsock. But NL also provides other
+features including support for many OSs, groups of sockets, socket statistics,
+high accuracy timer, CRC functions, macros to read and write data to packets
+with endian conversion, and support for multiple network transports. NL has been
+tested on Windows 9x/ME/NT/2000/XP/CE, Linux, Solaris, IRIX, AIX, BSDs, Mac OS.
+There are also the two high level APIs, HawkNLU (NLU) and HawkVoice, which are
+built on top of NL. It is NLU and HawkVoice that are most exciting, since they
+give developers portable, easy to use alternatives to the Microsoft DirectPlay
+(DPlay) and DirectPlay Voice APIs.
View
35 hawknl/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD$
+#
+
+DISTNAME= HawkNL17b1src
+PKGNAME= ${DISTNAME:tl:S/17b1src/-1.7beta1/1}
+CATEGORIES= net
+MASTER_SITES= http://hawksoft.com/download/files/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://hawksoft.com/hawknl/
+COMMENT= Free, open source, game oriented network API
+LICENSE= gnu-lgpl-v3
+
+USE_TOOLS+= gmake
+WRKSRC= ${WRKDIR}/HawkNL1.70/src
+INSTALLATION_DIRS+= include lib
+
+SUBST_CLASSES+= prefix
+SUBST_MESSAGE.prefix= Fixing PREFIX path.
+SUBST_STAGE.prefix= pre-configure
+SUBST_FILES.prefix= makefile.openbsd
+SUBST_SED.prefix= -e "s|/usr/local|${DESTDIR}${PREFIX}|1"
+
+.include "../../mk/bsd.prefs.mk"
+
+.if $(OPSYS) == "NetBSD"
+MAKE_FILE= makefile.openbsd
+.else
+MAKE_FILE= makefile.${OPSYS:tl}
+.endif
+
+
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
View
10 hawknl/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD$
+include/nl.h
+lib/NL.so
+lib/NL.so.1
+lib/NL.so.1.7
+lib/libNL.a
+lib/libNL.so
+lib/libNL.so.1
+lib/libNL.so.1.7
+lib/libNL.so.1.7.0
View
14 hawknl/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= hawknl
+
+.if !defined(HAWKNL_BUILDLINK3_MK)
+HAWKNL_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hawknl+= hawknl>=1.7beta1
+BUILDLINK_PKGSRCDIR.hawknl?= ../../wip/hawknl
+
+.include "../../mk/pthread.buildlink3.mk"
+.endif # HAWKNL_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hawknl
View
5 hawknl/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+SHA1 (HawkNL17b1src.zip) = 2721fe2bf21b30df34efa334126246e12aac9ac5
+RMD160 (HawkNL17b1src.zip) = 40ce31aa6555bc5ea054debdb26b6c3e2120d28a
+Size (HawkNL17b1src.zip) = 228389 bytes
Please sign in to comment.
Something went wrong with that request. Please try again.