Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2018 08:28:07 +0000 (UTC)
From:      Luca Pizzamiglio <pizzamig@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r472294 - head/textproc/bat
Message-ID:  <201806130828.w5D8S7G0079041@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pizzamig
Date: Wed Jun 13 08:28:07 2018
New Revision: 472294
URL: https://svnweb.freebsd.org/changeset/ports/472294

Log:
  textproc/bat: Update to 0.4.1
  
  Changelog: https://github.com/sharkdp/bat/releases/tag/v0.4.0
  Moreover, strip the executable

Modified:
  head/textproc/bat/Makefile
  head/textproc/bat/distinfo

Modified: head/textproc/bat/Makefile
==============================================================================
--- head/textproc/bat/Makefile	Wed Jun 13 08:25:23 2018	(r472293)
+++ head/textproc/bat/Makefile	Wed Jun 13 08:28:07 2018	(r472294)
@@ -2,7 +2,7 @@
 
 PORTNAME=	bat
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.3.0
+DISTVERSION=	0.4.1
 CATEGORIES=	textproc
 
 MAINTAINER=	pizzamig@FreeBSD.org
@@ -10,7 +10,10 @@ COMMENT=	Clone of cat with syntax highlighting
 
 LICENSE=	APACHE20
 
-USES=	cargo cmake:noninja gmake
+LIB_DEPENDS=	libonig.so:devel/oniguruma
+CARGO_ENV+=	RUSTONIG_SYSTEM_LIBONIG=1
+
+USES=	cargo cmake:noninja
 USE_GITHUB=	yes
 GH_ACCOUNT=	sharkdp
 
@@ -20,8 +23,6 @@ CARGO_CRATES=	aho-corasick-0.6.4 \
 		ansi_term-0.10.2 \
 		ansi_term-0.11.0 \
 		atty-0.2.10 \
-		backtrace-0.3.7 \
-		backtrace-sys-0.1.16 \
 		base64-0.8.0 \
 		bincode-1.0.0 \
 		bitflags-1.0.3 \
@@ -79,7 +80,6 @@ CARGO_CRATES=	aho-corasick-0.6.4 \
 		regex-0.2.11 \
 		regex-syntax-0.4.2 \
 		regex-syntax-0.5.6 \
-		rustc-demangle-0.1.8 \
 		safemem-0.2.0 \
 		same-file-1.0.2 \
 		serde-1.0.51 \
@@ -90,7 +90,7 @@ CARGO_CRATES=	aho-corasick-0.6.4 \
 		stable_deref_trait-1.0.0 \
 		strsim-0.7.0 \
 		syn-0.13.7 \
-		syntect-2.0.1 \
+		syntect-2.1.0 \
 		term_size-0.3.1 \
 		termion-1.5.1 \
 		termios-0.2.2 \
@@ -116,4 +116,6 @@ CARGO_CRATES=	aho-corasick-0.6.4 \
 		xml-rs-0.7.0 \
 		yaml-rust-0.4.0
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/bat
 .include <bsd.port.mk>

Modified: head/textproc/bat/distinfo
==============================================================================
--- head/textproc/bat/distinfo	Wed Jun 13 08:25:23 2018	(r472293)
+++ head/textproc/bat/distinfo	Wed Jun 13 08:28:07 2018	(r472294)
@@ -1,4 +1,4 @@
-TIMESTAMP = 1526299978
+TIMESTAMP = 1527847004
 SHA256 (rust/crates/aho-corasick-0.6.4.tar.gz) = d6531d44de723825aa81398a6415283229725a00fa30713812ab9323faa82fc4
 SIZE (rust/crates/aho-corasick-0.6.4.tar.gz) = 25443
 SHA256 (rust/crates/ansi_term-0.10.2.tar.gz) = 6b3568b48b7cefa6b8ce125f9bb4989e52fbcc29ebea88df04cc7c5f12f70455
@@ -7,10 +7,6 @@ SHA256 (rust/crates/ansi_term-0.11.0.tar.gz) = ee49baf
 SIZE (rust/crates/ansi_term-0.11.0.tar.gz) = 17087
 SHA256 (rust/crates/atty-0.2.10.tar.gz) = 2fc4a1aa4c24c0718a250f0681885c1af91419d242f29eb8f2ab28502d80dbd1
 SIZE (rust/crates/atty-0.2.10.tar.gz) = 5962
-SHA256 (rust/crates/backtrace-0.3.7.tar.gz) = 8ea58cd16fd6c9d120b5bcb01d63883ae4cc7ba2aed35c1841b862a3c7ef6639
-SIZE (rust/crates/backtrace-0.3.7.tar.gz) = 28432
-SHA256 (rust/crates/backtrace-sys-0.1.16.tar.gz) = 44585761d6161b0f57afc49482ab6bd067e4edef48c12a152c237eb0203f7661
-SIZE (rust/crates/backtrace-sys-0.1.16.tar.gz) = 283418
 SHA256 (rust/crates/base64-0.8.0.tar.gz) = 7c4a342b450b268e1be8036311e2c613d7f8a7ed31214dff1cc3b60852a3168d
 SIZE (rust/crates/base64-0.8.0.tar.gz) = 33091
 SHA256 (rust/crates/bincode-1.0.0.tar.gz) = bda13183df33055cbb84b847becce220d392df502ebe7a4a78d7021771ed94d0
@@ -125,8 +121,6 @@ SHA256 (rust/crates/regex-syntax-0.4.2.tar.gz) = 8e931
 SIZE (rust/crates/regex-syntax-0.4.2.tar.gz) = 126234
 SHA256 (rust/crates/regex-syntax-0.5.6.tar.gz) = 7d707a4fa2637f2dca2ef9fd02225ec7661fe01a53623c1e6515b6916511f7a7
 SIZE (rust/crates/regex-syntax-0.5.6.tar.gz) = 233912
-SHA256 (rust/crates/rustc-demangle-0.1.8.tar.gz) = 76d7ba1feafada44f2d38eed812bd2489a03c0f5abb975799251518b68848649
-SIZE (rust/crates/rustc-demangle-0.1.8.tar.gz) = 10737
 SHA256 (rust/crates/safemem-0.2.0.tar.gz) = e27a8b19b835f7aea908818e871f5cc3a5a186550c30773be987e155e8163d8f
 SIZE (rust/crates/safemem-0.2.0.tar.gz) = 6450
 SHA256 (rust/crates/same-file-1.0.2.tar.gz) = cfb6eded0b06a0b512c8ddbcf04089138c9b4362c2f696f3c3d76039d68f3637
@@ -147,8 +141,8 @@ SHA256 (rust/crates/strsim-0.7.0.tar.gz) = bb4f3801259
 SIZE (rust/crates/strsim-0.7.0.tar.gz) = 8435
 SHA256 (rust/crates/syn-0.13.7.tar.gz) = 61b8f1b737f929c6516ba46a3133fd6d5215ad8a62f66760f851f7048aebedfb
 SIZE (rust/crates/syn-0.13.7.tar.gz) = 134199
-SHA256 (rust/crates/syntect-2.0.1.tar.gz) = eceb461f684c9e8e00f7a50055698af62c76d5b86e4ad50b4311acd5f655d606
-SIZE (rust/crates/syntect-2.0.1.tar.gz) = 663960
+SHA256 (rust/crates/syntect-2.1.0.tar.gz) = dc8a6f0db88d4afc340522c20d260411e746b2225b257c6b238a75de9d7cec78
+SIZE (rust/crates/syntect-2.1.0.tar.gz) = 665726
 SHA256 (rust/crates/term_size-0.3.1.tar.gz) = 9e5b9a66db815dcfd2da92db471106457082577c3c278d4138ab3e3b4e189327
 SIZE (rust/crates/term_size-0.3.1.tar.gz) = 10754
 SHA256 (rust/crates/termion-1.5.1.tar.gz) = 689a3bdfaab439fd92bc87df5c4c78417d3cbe537487274e9b0b2dce76e92096
@@ -197,5 +191,5 @@ SHA256 (rust/crates/xml-rs-0.7.0.tar.gz) = 3c1cb601d29
 SIZE (rust/crates/xml-rs-0.7.0.tar.gz) = 50980
 SHA256 (rust/crates/yaml-rust-0.4.0.tar.gz) = 57ab38ee1a4a266ed033496cf9af1828d8d6e6c1cfa5f643a2809effcae4d628
 SIZE (rust/crates/yaml-rust-0.4.0.tar.gz) = 44668
-SHA256 (sharkdp-bat-v0.3.0_GH0.tar.gz) = ffb3f2b20fb831e503c3db224a563dc30e766c627a08c069cf60e5182845207c
-SIZE (sharkdp-bat-v0.3.0_GH0.tar.gz) = 337970
+SHA256 (sharkdp-bat-v0.4.1_GH0.tar.gz) = 3ae66854da59d691b8740672708a2e7f2f240c76e8a00283f59a6e39127e4583
+SIZE (sharkdp-bat-v0.4.1_GH0.tar.gz) = 531444



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