aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLewis Cook <lcook@FreeBSD.org>2021-05-03 14:16:33 +0000
committerLewis Cook <lcook@FreeBSD.org>2021-05-03 14:18:02 +0000
commit8833a7e9eeddcef3f97e29cdac86af103a6c4f9c (patch)
treea9d24fbf4e0865a8a791760cfed4df5ded255d89
parent9f9c3a1527cb11d3344bf4993597016de2a5ae78 (diff)
downloadports-8833a7e9eeddcef3f97e29cdac86af103a6c4f9c.tar.gz
ports-8833a7e9eeddcef3f97e29cdac86af103a6c4f9c.zip
misc/xplr: Update to 0.5.12
-rw-r--r--misc/xplr/Makefile29
-rw-r--r--misc/xplr/distinfo6
-rw-r--r--misc/xplr/pkg-plist11
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