shells/elvish: Set version information, omit debug info

PR:		241446
Approved by:	Adam Jimerson <vendion@gmail.com> (maintainer), araujo (mentor)
Differential Revision:	https://reviews.freebsd.org/D22149
This commit is contained in:
Dmitri Goutnik 2019-10-25 12:07:31 +00:00
parent fa613c5caf
commit 9dd0e2c4f7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=515605

View File

@ -3,6 +3,7 @@
PORTNAME= elvish
DISTVERSIONPREFIX= v
DISTVERSION= 0.12
PORTREVISION= 1
CATEGORIES= shells
MAINTAINER= vendion@gmail.com
@ -16,6 +17,9 @@ USE_GITHUB= yes
GH_ACCOUNT= elves
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
GO_BUILDFLAGS= -ldflags="-s -w -X github.com/elves/elvish/buildinfo.Version=${DISTVERSIONPREFIX}${DISTVERSION}" \
-gcflags="all=-trimpath=${GO_WRKSRC}" \
-asmflags="all=-trimpath=${GO_WRKSRC}"
PLIST_FILES= bin/elvish