diff --git a/sysutils/radeontop/Makefile b/sysutils/radeontop/Makefile index 2a93a76fd5b3..4360a10dfdaf 100644 --- a/sysutils/radeontop/Makefile +++ b/sysutils/radeontop/Makefile @@ -1,7 +1,7 @@ # Created by: Alexey Dokuchaev PORTNAME= radeontop -PORTVERSION= 1.3 +PORTVERSION= 1.4 DISTVERSIONPREFIX= v CATEGORIES= sysutils @@ -23,15 +23,11 @@ USES= gmake pkgconfig xorg USE_XORG= xcb MAKE_ARGS= amdgpu=1 -PLIST_FILES= lib/libradeontop_xcb.so \ - man/man1/radeontop.1.gz \ - sbin/radeontop - OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes NLS_USES= gettext NLS_MAKE_ARGS_OFF= nls=0 -NLS_PLIST_FILES= share/locale/ru/LC_MESSAGES/radeontop.mo post-patch: @${REINPLACE_CMD} -e 's,unknown,v${PORTVERSION}, ; \ diff --git a/sysutils/radeontop/distinfo b/sysutils/radeontop/distinfo index 1fa0b4e1e9ad..3b15f52c67c2 100644 --- a/sysutils/radeontop/distinfo +++ b/sysutils/radeontop/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1607515229 -SHA256 (clbr-radeontop-v1.3_GH0.tar.gz) = 0e6abacafa3c795ee783be18b736f6dfc7ff93c6e3c3237cc7c1684863e08100 -SIZE (clbr-radeontop-v1.3_GH0.tar.gz) = 38138 +TIMESTAMP = 1627025044 +SHA256 (clbr-radeontop-v1.4_GH0.tar.gz) = 2c1e2aace1a749d8e4530047ce245004e0f7d1d32a99037917e03d83e60f7ad1 +SIZE (clbr-radeontop-v1.4_GH0.tar.gz) = 44602 diff --git a/sysutils/radeontop/files/patch-Makefile b/sysutils/radeontop/files/patch-Makefile index 4ba952b9a746..7986075e6cd7 100644 --- a/sysutils/radeontop/files/patch-Makefile +++ b/sysutils/radeontop/files/patch-Makefile @@ -28,9 +28,9 @@ --package-name radeontop -install: all -- $(INSTALL) -D -m755 $(bin) $(DESTDIR)/$(PREFIX)/sbin/$(bin) +- $(INSTALL) -D -m755 $(bin) $(DESTDIR)/$(PREFIX)/bin/$(bin) +install: -+ $(INSTALL) -m755 $(bin) $(DESTDIR)$(PREFIX)/sbin ++ $(INSTALL) -m755 $(bin) $(DESTDIR)$(PREFIX)/bin ifeq ($(xcb), 1) - $(INSTALL) -D -m755 $(xcblib) $(DESTDIR)/$(PREFIX)/$(LIBDIR)/$(xcblib) + $(INSTALL) -m755 $(xcblib) $(DESTDIR)$(PREFIX)/$(LIBDIR) diff --git a/sysutils/radeontop/pkg-plist b/sysutils/radeontop/pkg-plist new file mode 100644 index 000000000000..be7e45c58031 --- /dev/null +++ b/sysutils/radeontop/pkg-plist @@ -0,0 +1,13 @@ +bin/radeontop +lib/libradeontop_xcb.so +man/man1/radeontop.1.gz +%%NLS%%share/locale/cs/LC_MESSAGES/radeontop.mo +%%NLS%%share/locale/de/LC_MESSAGES/radeontop.mo +%%NLS%%share/locale/el/LC_MESSAGES/radeontop.mo +%%NLS%%share/locale/es/LC_MESSAGES/radeontop.mo +%%NLS%%share/locale/fi/LC_MESSAGES/radeontop.mo +%%NLS%%share/locale/fr/LC_MESSAGES/radeontop.mo +%%NLS%%share/locale/ru/LC_MESSAGES/radeontop.mo +%%NLS%%share/locale/sl/LC_MESSAGES/radeontop.mo +%%NLS%%share/locale/tr/LC_MESSAGES/radeontop.mo +%%NLS%%share/locale/zh_CN/LC_MESSAGES/radeontop.mo