summaryrefslogtreecommitdiff
path: root/www/webhook/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/webhook/Makefile')
-rw-r--r--www/webhook/Makefile17
1 files changed, 6 insertions, 11 deletions
diff --git a/www/webhook/Makefile b/www/webhook/Makefile
index 4c66bc7bb20c..c3ea551377e0 100644
--- a/www/webhook/Makefile
+++ b/www/webhook/Makefile
@@ -1,6 +1,6 @@
PORTNAME= webhook
PORTVERSION= 2.8.0
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= www
MAINTAINER= stb@lassitu.de
@@ -13,16 +13,7 @@ LICENSE_COMB= multi
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= adnanh
-GH_TUPLE= \
- clbanning:mxj:v1.8.4:clbanning_mxj/vendor/github.com/clbanning/mxj \
- dustin:go-humanize:v1.0.0:dustin_go_humanize/vendor/github.com/dustin/go-humanize \
- fsnotify:fsnotify:v1.4.2:fsnotify_fsnotify/vendor/gopkg.in/fsnotify.v1 \
- ghodss:yaml:v1.0.0:ghodss_yaml/vendor/github.com/ghodss/yaml \
- go-chi:chi:v4.0.2:go_chi_chi/vendor/github.com/go-chi/chi \
- go-yaml:yaml:eb3733d160e7:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
- gofrs:uuid:v3.2.0:gofrs_uuid/vendor/github.com/gofrs/uuid \
- golang:sys:04cbcbbfeed8:golang_sys/vendor/golang.org/x/sys \
- gorilla:mux:v1.7.3:gorilla_mux/vendor/github.com/gorilla/mux
+GH_TUPLE= golang:sys:v0.5.0:golang_sys/vendor/golang.org/x/sys_
USE_RC_SUBR= webhook
@@ -40,6 +31,10 @@ DAEMONARGS= -f
SUB_LIST+= DAEMONARGS="${DAEMONARGS}"
+pre-patch:
+ ${RM} -r ${WRKSRC}/vendor/golang.org/x/sys
+ ${MV} ${WRKSRC}/vendor/golang.org/x/sys_ ${WRKSRC}/vendor/golang.org/x/sys
+
post-install:
${INSTALL_DATA} ${FILESDIR}/webhook.yaml ${STAGEDIR}${PREFIX}/etc/webhook.yaml.sample