devel/gocheese: update to 2.4.0

This commit is contained in:
Steve Wills 2020-07-28 13:45:02 +00:00
parent c0030f54bd
commit 0eeea43085
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=543603
3 changed files with 7 additions and 15 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= gocheese
PORTVERSION= 2.3.0
PORTVERSION= 2.4.0
CATEGORIES= devel python
MASTER_SITES= http://www.gocheese.cypherpunks.ru/
@ -18,6 +18,9 @@ PLIST_FILES= ${DOCSDIR}/README \
bin/${PORTNAME} \
bin/pyshop2packages.sh
do-build:
@cd ${WRKSRC} ; ${ENV} GOPATH=${WRKSRC} go build -ldflags="-s -w" -o gocheese go.cypherpunks.ru/gocheese/v2
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
${INSTALL_SCRIPT} ${WRKSRC}/pyshop2packages.sh ${STAGEDIR}${PREFIX}/bin/

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1594732607
SHA256 (gocheese-2.3.0.tar.xz) = 574c3641bbda29572fe57f03986064034d7b2c5844b2cfa40ebf9f75e0186989
SIZE (gocheese-2.3.0.tar.xz) = 103832
TIMESTAMP = 1595942597
SHA256 (gocheese-2.4.0.tar.xz) = 6ee9a436f415ab096d75fa5ad9bfbd6a9bf9ace252514802cbfdf576c057b2ac
SIZE (gocheese-2.4.0.tar.xz) = 104048

View File

@ -1,11 +0,0 @@
--- Makefile.orig 2019-12-09 18:44:34 UTC
+++ Makefile
@@ -5,7 +5,7 @@ GOPATH != pwd
VERSION != cat VERSION
MOD = go.cypherpunks.ru/gocheese/v2
-LDFLAGS = -X main.Version=$(VERSION)
+LDFLAGS = -s -X main.Version=$(VERSION)
all: gocheese gocheese.info