aboutsummaryrefslogtreecommitdiff
path: root/sysutils/elephant/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/elephant/Makefile')
-rw-r--r--sysutils/elephant/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/sysutils/elephant/Makefile b/sysutils/elephant/Makefile
index f624dbcba425..8f34d8eeb2f1 100644
--- a/sysutils/elephant/Makefile
+++ b/sysutils/elephant/Makefile
@@ -1,6 +1,6 @@
PORTNAME= elephant
DISTVERSIONPREFIX= v
-DISTVERSION= 1.3.2
+DISTVERSION= 2.1.4
CATEGORIES= sysutils
MAINTAINER= tagattie@FreeBSD.org
@@ -10,12 +10,12 @@ WWW= https://github.com/abenz1267/elephant
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-NOT_FOR_ARCHS= i386
-NOT_FOR_ARCHS_REASON= -buildmode=plugin not supported on freebsd/386
+NOT_FOR_ARCHS= aarch64 armv7 i386
+NOT_FOR_ARCHS_REASON= -buildmode=plugin not supported on these architectures
USES= go:1.25,modules
-GO_MODULE= github.com/abenz1267/elephant
+GO_MODULE= github.com/abenz1267/elephant/v2
GO_TARGET= ./cmd/elephant
PLIST_FILES= bin/${PORTNAME}
@@ -63,10 +63,6 @@ WEBSEARCH_PLIST_FILES= etc/xdg/elephant/providers/websearch.so
ENABLED_PROVIDERS= ${SELECTED_OPTIONS:NDOCS:tl}
-post-patch:
- @${REINPLACE_CMD} -e 's|/etc|${PREFIX}&|' \
- ${GO_WRKSRC}/internal/providers/load.go
-
post-build:
.for provider in ${ENABLED_PROVIDERS}
@${ECHO_MSG} "===> Building ${provider} from ./internal/providers/${provider}"