aboutsummaryrefslogtreecommitdiff
path: root/x11/nwg-menu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/nwg-menu/Makefile')
-rw-r--r--x11/nwg-menu/Makefile22
1 files changed, 7 insertions, 15 deletions
diff --git a/x11/nwg-menu/Makefile b/x11/nwg-menu/Makefile
index 59f222b5365a..14294bd18301 100644
--- a/x11/nwg-menu/Makefile
+++ b/x11/nwg-menu/Makefile
@@ -1,10 +1,9 @@
PORTNAME= nwg-menu
DISTVERSIONPREFIX= v
-DISTVERSION= 0.1.7
-PORTREVISION= 4
+DISTVERSION= 0.1.9
CATEGORIES= x11 wayland
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= tagattie@FreeBSD.org
COMMENT= MenuStart plugin to nwg-panel, also capable of working standalone
WWW= https://github.com/nwg-piotr/nwg-menu
@@ -15,25 +14,18 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell
USES= gnome go:modules pkgconfig
-USE_GITHUB= yes
+
USE_GNOME= cairo gdkpixbuf gtk30
-GH_ACCOUNT= nwg-piotr
-GH_TUPLE= allan-simon:go-singleinstance:d0997106ab37:allan_simon_go_singleinstance/vendor/github.com/allan-simon/go-singleinstance \
- dlasky:gotk3-layershell:5c5115f0d774:dlasky_gotk3_layershell/vendor/github.com/dlasky/gotk3-layershell \
- golang:sync:v0.10.0:golang_sync/vendor/golang.org/x/sync \
- golang:sys:v0.29.0:golang_sys/vendor/golang.org/x/sys \
- gotk3:gotk3:ff349ae13f56:gotk3_gotk3/vendor/github.com/gotk3/gotk3 \
- joshuarubin:go-sway:v1.2.0:joshuarubin_go_sway/vendor/github.com/joshuarubin/go-sway \
- joshuarubin:lifecycle:v1.1.4:joshuarubin_lifecycle/vendor/github.com/joshuarubin/lifecycle \
- sirupsen:logrus:v1.9.3:sirupsen_logrus/vendor/github.com/sirupsen/logrus \
- uber-go:multierr:v1.11.0:uber_go_multierr/vendor/go.uber.org/multierr
+
+GO_MODULE= github.com/nwg-piotr/nwg-menu
CGO_LDFLAGS+= -Wl,--as-needed # harfbuzz, freetype2
+
PLIST_FILES= bin/${PORTNAME}
PORTDATA= desktop-directories *.css
post-patch:
# Respect PREFIX for *.desktop and system configs
- @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
+ @${REINPLACE_CMD} -e 's|/usr/share|${DATADIR:H}|' \
${WRKSRC}/main.go \
${WRKSRC}/tools.go