blob: d5636b99c9276bd539806a6a49da820a4d1be7f7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
PORTNAME= libusrsctp
DISTVERSION= 0.9.5.0
CATEGORIES= net devel
MAINTAINER= yuri@FreeBSD.org
COMMENT= Portable SCTP userland stack
WWW= https://github.com/sctplab/usrsctp
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.md
USES= cmake
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= sctplab
GH_PROJECT= usrsctp
CMAKE_ON= BUILD_SHARED_LIBS
PLIST_FILES= include/usrsctp.h \
lib/libusrsctp.so \
lib/libusrsctp.so.2 \
lib/libusrsctp.so.2.0.0 \
libdata/pkgconfig/usrsctp.pc
CFLAGS+= -Wno-error
.include <bsd.port.pre.mk>
post-patch:
.if ${OSVERSION} >= 1400000
@${REINPLACE_CMD} -e 's|ip6protosw.h|ip6_var.h|g' \
${WRKSRC}/usrsctplib/netinet/sctp_os_userspace.h
.endif
.include <bsd.port.post.mk>
|