diff options
Diffstat (limited to 'sysutils/elephant/Makefile')
-rw-r--r-- | sysutils/elephant/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sysutils/elephant/Makefile b/sysutils/elephant/Makefile index 1c4c21894ba2..9506c76f8797 100644 --- a/sysutils/elephant/Makefile +++ b/sysutils/elephant/Makefile @@ -1,7 +1,6 @@ PORTNAME= elephant DISTVERSIONPREFIX= v -DISTVERSION= 2.1.8 -PORTREVISION= 1 +DISTVERSION= 2.2.5 CATEGORIES= sysutils MAINTAINER= tagattie@FreeBSD.org @@ -14,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE NOT_FOR_ARCHS= aarch64 armv7 i386 NOT_FOR_ARCHS_REASON= -buildmode=plugin not supported on these architectures -USES= go:1.25,modules +USES= go:modules GO_MODULE= github.com/abenz1267/elephant/v2 GO_TARGET= ./cmd/elephant @@ -64,6 +63,11 @@ WEBSEARCH_PLIST_FILES= etc/xdg/elephant/providers/websearch.so ENABLED_PROVIDERS= ${SELECTED_OPTIONS:NDOCS:tl} +post-patch: + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|; \ + s|/run/user|/var&|' \ + ${GO_WRKSRC}/vendor/github.com/adrg/xdg/paths_unix.go + post-build: .for provider in ${ENABLED_PROVIDERS} @${ECHO_MSG} "===> Building ${provider} from ./internal/providers/${provider}" |