git: 6a84589d71a4 - main - graphics/nsxiv: Update to 28
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Jan 2022 11:11:29 UTC
The branch main has been updated by 0mp:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6a84589d71a4f905c38037a5587a78389f7baf56
commit 6a84589d71a4f905c38037a5587a78389f7baf56
Author: Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2022-01-20 10:58:20 +0000
Commit: Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2022-01-20 11:11:07 +0000
graphics/nsxiv: Update to 28
Changes: https://github.com/nsxiv/nsxiv/blob/v28/CHANGELOG.md
---
graphics/nsxiv/Makefile | 20 +++++++-------------
graphics/nsxiv/distinfo | 8 +++-----
graphics/nsxiv/pkg-plist | 2 ++
3 files changed, 12 insertions(+), 18 deletions(-)
diff --git a/graphics/nsxiv/Makefile b/graphics/nsxiv/Makefile
index b21e8e732396..2764846704b4 100644
--- a/graphics/nsxiv/Makefile
+++ b/graphics/nsxiv/Makefile
@@ -1,10 +1,7 @@
PORTNAME= nsxiv
DISTVERSIONPREFIX= v
-DISTVERSION= 27.1-20
-DISTVERSIONSUFFIX= -g065562d
+DISTVERSION= 28
CATEGORIES= graphics
-PATCH_SITES= https://github.com/0mp/nsxiv/commit/
-PATCHFILES= d44674845ac41621cdaf69f6898b81fac435233f.patch:-p1
MAINTAINER= 0mp@FreeBSD.org
COMMENT= Simple X image viewer
@@ -16,23 +13,20 @@ LIB_DEPENDS= libexif.so:graphics/libexif \
libfontconfig.so:x11-fonts/fontconfig \
libgif.so:graphics/giflib \
libImlib2.so:graphics/imlib2 \
- libinotify.so:devel/libinotify
+ libinotify.so:devel/libinotify \
+ libwebp.so:graphics/webp \
+ libwebpdemux.so:graphics/webp
USES= desktop-file-utils gmake localbase:ldflags pkgconfig xorg
USE_GITHUB= yes
USE_XORG= x11 xft
-MAKE_ARGS= PREFIX=${PREFIX}
-MAKE_ENV= OPTIONAL_LIBS=-linotify
+MAKE_ARGS= MANPREFIX=${MANPREFIX}/share/man
+MAKE_ENV= EGPREFIX=${EXAMPLESDIR} LDLIBS=-linotify
INSTALL_TARGET= install-all
-OPTIONS_DEFINE= DOCS
-
-# These examples files belong to the project's documentation. Let's leave them
-# in the doc directory for simplicity.
-PORTDOCS= examples/image-info \
- examples/key-handler
+OPTIONS_DEFINE= EXAMPLES
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
diff --git a/graphics/nsxiv/distinfo b/graphics/nsxiv/distinfo
index cb7a351db858..19ebcbbd3b64 100644
--- a/graphics/nsxiv/distinfo
+++ b/graphics/nsxiv/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1638190216
-SHA256 (nsxiv-nsxiv-v27.1-20-g065562d_GH0.tar.gz) = 178241206a49add6cdc337f3fa112dd2c53d87ba6025cf54bb8f37ba563bfa02
-SIZE (nsxiv-nsxiv-v27.1-20-g065562d_GH0.tar.gz) = 55969
-SHA256 (d44674845ac41621cdaf69f6898b81fac435233f.patch) = 8afbf1fde7acbbfbcf307adcf3f0e707ab5ead4d94ca30459756b792d8537667
-SIZE (d44674845ac41621cdaf69f6898b81fac435233f.patch) = 1203
+TIMESTAMP = 1642675907
+SHA256 (nsxiv-nsxiv-v28_GH0.tar.gz) = 38047f60e51854363dd98fb7b3bc9f1cfa9b7d6f9e8788508b6f1e317328dd75
+SIZE (nsxiv-nsxiv-v28_GH0.tar.gz) = 60699
diff --git a/graphics/nsxiv/pkg-plist b/graphics/nsxiv/pkg-plist
index f58c6e327c42..bfef92dbaf3b 100644
--- a/graphics/nsxiv/pkg-plist
+++ b/graphics/nsxiv/pkg-plist
@@ -1,5 +1,7 @@
bin/nsxiv
share/applications/nsxiv.desktop
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/image-info
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/key-handler
share/icons/hicolor/128x128/apps/nsxiv.png
share/icons/hicolor/16x16/apps/nsxiv.png
share/icons/hicolor/32x32/apps/nsxiv.png