[Midnightbsd-cvs] mports [20655] trunk/net: add libnatpmp
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Nov 6 17:02:13 EST 2015
Revision: 20655
http://svnweb.midnightbsd.org/mports/?rev=20655
Author: laffer1
Date: 2015-11-06 17:02:13 -0500 (Fri, 06 Nov 2015)
Log Message:
-----------
add libnatpmp
Modified Paths:
--------------
trunk/net/Makefile
Added Paths:
-----------
trunk/net/libnatpmp/
trunk/net/libnatpmp/Makefile
trunk/net/libnatpmp/distinfo
trunk/net/libnatpmp/pkg-descr
Modified: trunk/net/Makefile
===================================================================
--- trunk/net/Makefile 2015-11-06 21:59:21 UTC (rev 20654)
+++ trunk/net/Makefile 2015-11-06 22:02:13 UTC (rev 20655)
@@ -44,6 +44,7 @@
SUBDIR += ldapdiff
SUBDIR += libdnet
SUBDIR += libgweather
+SUBDIR += libnatpmp
SUBDIR += libnet
SUBDIR += liboauth
SUBDIR += libpcap
Added: trunk/net/libnatpmp/Makefile
===================================================================
--- trunk/net/libnatpmp/Makefile (rev 0)
+++ trunk/net/libnatpmp/Makefile 2015-11-06 22:02:13 UTC (rev 20655)
@@ -0,0 +1,34 @@
+# $MidnightBSD$
+
+PORTNAME= libnatpmp
+PORTVERSION= 20140401
+CATEGORIES= net
+MASTER_SITES= http://miniupnp.free.fr/files/
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= NAT-PMP lightweight library
+
+LICENSE= bsd3
+
+USES= gmake
+USE_LDCONFIG= yes
+
+MAKE_ARGS+= CC="${CC}"
+MAKE_ENV+= INSTALLPREFIX=${FAKE_DESTDIR}${TRUE_PREFIX}
+
+PLIST_FILES= bin/natpmpc \
+ include/natpmp.h \
+ lib/libnatpmp.a \
+ lib/libnatpmp.so \
+ lib/libnatpmp.so.1
+
+post-patch:
+ @${REINPLACE_CMD} -e 's/^LIBSPEC //' \
+ -e '/declspec\.h/d' \
+ ${WRKSRC}/natpmp.h
+
+post-install:
+ @${STRIP_CMD} ${PREFIX}/bin/natpmpc \
+ ${PREFIX}/lib/libnatpmp.so.1
+
+.include <bsd.port.mk>
Property changes on: trunk/net/libnatpmp/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/net/libnatpmp/distinfo
===================================================================
--- trunk/net/libnatpmp/distinfo (rev 0)
+++ trunk/net/libnatpmp/distinfo 2015-11-06 22:02:13 UTC (rev 20655)
@@ -0,0 +1,2 @@
+SHA256 (libnatpmp-20140401.tar.gz) = b2ce5e626a21c795cba2d118f26e54aaa89de29d4611c440fafc49a2a5bedabb
+SIZE (libnatpmp-20140401.tar.gz) = 23302
Property changes on: trunk/net/libnatpmp/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/net/libnatpmp/pkg-descr
===================================================================
--- trunk/net/libnatpmp/pkg-descr (rev 0)
+++ trunk/net/libnatpmp/pkg-descr 2015-11-06 22:02:13 UTC (rev 20655)
@@ -0,0 +1,6 @@
+libnatpmp is an attempt to make a portable and fully compliant implementation
+of the protocol for the client side. It is based on non blocking sockets and
+all calls of the API are asynchronous. It is therefore very easy to integrate
+the NAT-PMP code to any event driven code.
+
+WWW: http://miniupnp.free.fr/
Property changes on: trunk/net/libnatpmp/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list