67 lines
1.1 KiB
Makefile
67 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.8 2018/03/15 16:19:32 jsing Exp $
|
|
|
|
COMMENT = Go supplementary network libraries
|
|
DISTNAME = go-net-20180216
|
|
GH_ACCOUNT = golang
|
|
GH_PROJECT = net
|
|
GH_COMMIT = 2e7f24ace30034db6c258ddb329e5236a68c27fa
|
|
CATEGORIES = net www devel
|
|
|
|
HOMEPAGE = https://godoc.org/golang.org/x/net/
|
|
|
|
MAINTAINER = Dmitrij D. Czarkoff <czarkoff@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM =Yes
|
|
|
|
WANTLIB = c pthread
|
|
|
|
MODULES = lang/go
|
|
|
|
BUILD_DEPENDS = devel/go-sys \
|
|
security/go-crypto \
|
|
textproc/go-text
|
|
|
|
# Avoid external network dependencies for tests...
|
|
MODGO_TEST_FLAGS = -test.short
|
|
|
|
MODGO_TYPE = lib
|
|
|
|
_MAIN = golang.org/x/net
|
|
_SUBPKGS = bpf \
|
|
context \
|
|
context/ctxhttp \
|
|
dict \
|
|
dns/dnsmessage \
|
|
html \
|
|
html/atom \
|
|
html/charset \
|
|
http/httpproxy \
|
|
http2 \
|
|
http2/h2i \
|
|
http2/hpack \
|
|
icmp \
|
|
idna \
|
|
internal/iana \
|
|
internal/nettest \
|
|
internal/socket \
|
|
internal/timeseries \
|
|
ipv4 \
|
|
ipv6 \
|
|
lex/httplex \
|
|
nettest \
|
|
netutil \
|
|
proxy \
|
|
publicsuffix \
|
|
route \
|
|
trace \
|
|
webdav \
|
|
webdav/internal/xml \
|
|
websocket \
|
|
xsrftoken
|
|
|
|
ALL_TARGET = ${_SUBPKGS:%=${_MAIN}/%}
|
|
WRKSRC = ${MODGO_WORKSPACE}/src/${_MAIN}
|
|
|
|
.include <bsd.port.mk>
|