1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00

New port: devel/delve

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

PR:		243962
Submitted by:	Dmitry Wagin <dmitry.wagin@ya.ru>
This commit is contained in:
Dmitri Goutnik 2020-02-14 12:38:09 +00:00
parent 0efe923785
commit 587bd20431
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=526107
5 changed files with 54 additions and 0 deletions

View File

@ -463,6 +463,7 @@
SUBDIR += deforaos-libsystem
SUBDIR += deheader
SUBDIR += delta
SUBDIR += delve
SUBDIR += dep
SUBDIR += deployer
SUBDIR += derelict-sdl2

28
devel/delve/Makefile Normal file
View File

@ -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 <bsd.port.mk>

3
devel/delve/distinfo Normal file
View File

@ -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

7
devel/delve/pkg-descr Normal file
View File

@ -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

15
devel/delve/pkg-message Normal file
View File

@ -0,0 +1,15 @@
[
{ type: install
message: <<EOM
Please execute the following commands to prep this system to run delve:
echo "# required for delve">>/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
}
]