diff --git a/devel/Makefile b/devel/Makefile index 370c223efc2a..4838f045e73f 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -463,6 +463,7 @@ SUBDIR += deforaos-libsystem SUBDIR += deheader SUBDIR += delta + SUBDIR += delve SUBDIR += dep SUBDIR += deployer SUBDIR += derelict-sdl2 diff --git a/devel/delve/Makefile b/devel/delve/Makefile new file mode 100644 index 000000000000..d52df8411946 --- /dev/null +++ b/devel/delve/Makefile @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= delve +DISTVERSIONPREFIX= v +DISTVERSION= 1.4.0 +CATEGORIES= devel + +MAINTAINER= dmitry.wagin@ya.ru +COMMENT= Debugger for the Go programming language + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +ONLY_FOR_ARCHS= amd64 + +USES= go:modules + +USE_GITHUB= yes +GH_ACCOUNT= go-delve + +GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} +GO_TARGET= ./cmd/dlv + +CONFLICTS_INSTALL= dlv # bin/dlv + +PLIST_FILES= bin/dlv + +.include diff --git a/devel/delve/distinfo b/devel/delve/distinfo new file mode 100644 index 000000000000..ddf25c23e906 --- /dev/null +++ b/devel/delve/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1581672137 +SHA256 (go-delve-delve-v1.4.0_GH0.tar.gz) = 56f5e208a6d72e3fb00ba65fbd4255c41904c37169892478011ed24df034667c +SIZE (go-delve-delve-v1.4.0_GH0.tar.gz) = 7784835 diff --git a/devel/delve/pkg-descr b/devel/delve/pkg-descr new file mode 100644 index 000000000000..4dd50d849b56 --- /dev/null +++ b/devel/delve/pkg-descr @@ -0,0 +1,7 @@ +Delve is a debugger for the Go programming language. The goal of the project is +to provide a simple, full featured debugging tool for Go. Delve should be easy +to invoke and easy to use. Chances are if you're using a debugger, things +aren't going your way. With that in mind, Delve should stay out of your way as +much as possible. + +WWW: https://github.com/go-delve/delve diff --git a/devel/delve/pkg-message b/devel/delve/pkg-message new file mode 100644 index 000000000000..2a6f0d0ad200 --- /dev/null +++ b/devel/delve/pkg-message @@ -0,0 +1,15 @@ +[ +{ type: install + message: <>/etc/sysctl.conf.local +echo "security.bsd.unprivileged_proc_debug=1">>/etc/sysctl.conf.local + +Then, either reboot or run the following commands to implement the above +changes: + +service sysctl reload +EOM +} +]