Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 May 2021 14:19:25 GMT
From:      Lewis Cook <lcook@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8833a7e9eedd - main - misc/xplr: Update to 0.5.12
Message-ID:  <202105031419.143EJPog055480@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by lcook:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8833a7e9eeddcef3f97e29cdac86af103a6c4f9c

commit 8833a7e9eeddcef3f97e29cdac86af103a6c4f9c
Author:     Lewis Cook <lcook@FreeBSD.org>
AuthorDate: 2021-05-03 14:16:33 +0000
Commit:     Lewis Cook <lcook@FreeBSD.org>
CommitDate: 2021-05-03 14:18:02 +0000

    misc/xplr: Update to 0.5.12
    
    Changes:        https://github.com/sayanarijit/xplr/compare/v0.5.9...v0.5.12
---
 misc/xplr/Makefile  | 29 +++++++++++++++++++++++------
 misc/xplr/distinfo  |  6 +++---
 misc/xplr/pkg-plist | 11 +++++++++++
 3 files changed, 37 insertions(+), 9 deletions(-)

diff --git a/misc/xplr/Makefile b/misc/xplr/Makefile
index 6b1c59c469ee..e80f0c43ff38 100644
--- a/misc/xplr/Makefile
+++ b/misc/xplr/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xplr
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.5.9
+DISTVERSION=	0.5.12
 CATEGORIES=	misc
 
 MAINTAINER=	lcook@FreeBSD.org
@@ -191,24 +191,41 @@ CARGO_CRATES=	anyhow-1.0.40 \
 		ws2_32-sys-0.2.1 \
 		yaml-rust-0.4.5
 
-PLIST_FILES=	bin/${PORTNAME} \
-		share/applications/${PORTNAME}.desktop
 PORTDOCS=	CODE_OF_CONDUCT.md README.md RELEASE.md
 _EXAMPLES=	${WRKSRC}/src/config.yml
 PORTEXAMPLES=	${_EXAMPLES:T}
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
+_ASSETS=	${WRKSRC}/assets
+_ICONS=		${STAGEDIR}${PREFIX}/share/icons/hicolor
+
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/${PORTNAME}.desktop
+
+	${INSTALL_DATA} ${_ASSETS}/desktop/${PORTNAME}.desktop \
+		${STAGEDIR}${PREFIX}/share/applications/${PORTNAME}.desktop
+
+	@${MKDIR} ${_ICONS}/scalable/apps
+	${INSTALL_DATA} ${_ASSETS}/icon/${PORTNAME}.svg \
+		${_ICONS}/scalable/apps
+.for res in 16 32 64 128
+	@${MKDIR} ${_ICONS}/${res}x${res}/apps
+.for icon in ico png
+	${INSTALL_DATA} ${_ASSETS}/icon/${PORTNAME}${res}.${icon} \
+		${_ICONS}/${res}x${res}/apps/${PORTNAME}.${icon}
+.endfor
+.endfor
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} \
+		${STAGEDIR}${DOCSDIR}
 
 post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${_EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
+	cd ${WRKSRC} && \
+		${INSTALL_DATA} ${_EXAMPLES} \
+		${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>
diff --git a/misc/xplr/distinfo b/misc/xplr/distinfo
index 60e031d6baaf..440ce6c2342a 100644
--- a/misc/xplr/distinfo
+++ b/misc/xplr/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1619638013
+TIMESTAMP = 1620045641
 SHA256 (rust/crates/anyhow-1.0.40.crate) = 28b2cd92db5cbd74e8e5028f7e27dd7aa3090e89e4f2a197cc7c8dfb69c7063b
 SIZE (rust/crates/anyhow-1.0.40.crate) = 34534
 SHA256 (rust/crates/arrayref-0.3.6.crate) = a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544
@@ -353,5 +353,5 @@ SHA256 (rust/crates/ws2_32-sys-0.2.1.crate) = d59cefebd0c892fa2dd6de581e937301d8
 SIZE (rust/crates/ws2_32-sys-0.2.1.crate) = 4697
 SHA256 (rust/crates/yaml-rust-0.4.5.crate) = 56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85
 SIZE (rust/crates/yaml-rust-0.4.5.crate) = 47783
-SHA256 (sayanarijit-xplr-v0.5.9_GH0.tar.gz) = 03a628339fc8753b2d63533eca8749c0392f09063101c6d3317482500c5860ab
-SIZE (sayanarijit-xplr-v0.5.9_GH0.tar.gz) = 50079
+SHA256 (sayanarijit-xplr-v0.5.12_GH0.tar.gz) = 246d679979cea22e4f5815594d3bcede00fb02fb635aa04dc5a8c9ccad7ab101
+SIZE (sayanarijit-xplr-v0.5.12_GH0.tar.gz) = 70783
diff --git a/misc/xplr/pkg-plist b/misc/xplr/pkg-plist
new file mode 100644
index 000000000000..dcc33869e8b5
--- /dev/null
+++ b/misc/xplr/pkg-plist
@@ -0,0 +1,11 @@
+bin/xplr
+share/applications/xplr.desktop
+share/icons/hicolor/128x128/apps/xplr.ico
+share/icons/hicolor/128x128/apps/xplr.png
+share/icons/hicolor/16x16/apps/xplr.ico
+share/icons/hicolor/16x16/apps/xplr.png
+share/icons/hicolor/32x32/apps/xplr.ico
+share/icons/hicolor/32x32/apps/xplr.png
+share/icons/hicolor/64x64/apps/xplr.ico
+share/icons/hicolor/64x64/apps/xplr.png
+share/icons/hicolor/scalable/apps/xplr.svg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105031419.143EJPog055480>