View | Details | Raw Unified | Return to bug 226185 | Differences between
and this patch

Collapse All | Expand All

(-)ripgrep/Makefile (-21 / +13 lines)
Lines 4-10 Link Here
4
# vim: ts=8 noet
4
# vim: ts=8 noet
5
5
6
PORTNAME=	ripgrep
6
PORTNAME=	ripgrep
7
DISTVERSION=	0.8.0
7
DISTVERSION=	0.8.1
8
CATEGORIES=	textproc
8
CATEGORIES=	textproc
9
9
10
MAINTAINER=	petteri.valkonen@iki.fi
10
MAINTAINER=	petteri.valkonen@iki.fi
Lines 27-33 Link Here
27
		bitflags-1.0.1 \
27
		bitflags-1.0.1 \
28
		bytecount-0.3.1 \
28
		bytecount-0.3.1 \
29
		cfg-if-0.1.2 \
29
		cfg-if-0.1.2 \
30
		clap-2.29.4 \
30
		clap-2.30.0 \
31
		crossbeam-0.3.2 \
31
		crossbeam-0.3.2 \
32
		encoding_rs-0.7.2 \
32
		encoding_rs-0.7.2 \
33
		fnv-1.0.6 \
33
		fnv-1.0.6 \
Lines 57-63 Link Here
57
		unreachable-1.0.0 \
57
		unreachable-1.0.0 \
58
		utf8-ranges-1.0.0 \
58
		utf8-ranges-1.0.0 \
59
		void-1.0.2 \
59
		void-1.0.2 \
60
		walkdir-2.1.3 \
60
		walkdir-2.1.4 \
61
		winapi-0.3.4 \
61
		winapi-0.3.4 \
62
		winapi-i686-pc-windows-gnu-0.4.0 \
62
		winapi-i686-pc-windows-gnu-0.4.0 \
63
		winapi-x86_64-pc-windows-gnu-0.4.0
63
		winapi-x86_64-pc-windows-gnu-0.4.0
Lines 66-76 Link Here
66
CARGO_ENV=	RIPGREP_OUTDIR=${RIPGREP_OUTDIR}
66
CARGO_ENV=	RIPGREP_OUTDIR=${RIPGREP_OUTDIR}
67
67
68
PLIST_FILES=	bin/rg \
68
PLIST_FILES=	bin/rg \
69
		man/man1/rg.1.gz
69
		man/man1/rg.1.gz \
70
		etc/bash_completion.d/rg.bash \
71
		share/fish/completions/rg.fish \
72
		share/zsh/site-functions/_rg
73
70
PORTDOCS=	CHANGELOG.md FAQ.md GUIDE.md
74
PORTDOCS=	CHANGELOG.md FAQ.md GUIDE.md
71
75
72
OPTIONS_DEFINE=	BASH DOCS FISH SIMD ZSH
76
OPTIONS_DEFINE=	DOCS SIMD
73
OPTIONS_DEFAULT=BASH FISH ZSH
74
77
75
OPTIONS_DEFINE_amd64=	AVX
78
OPTIONS_DEFINE_amd64=	AVX
76
OPTIONS_DEFINE_i386=	AVX
79
OPTIONS_DEFINE_i386=	AVX
Lines 84-92 Link Here
84
AVX_VARS=	CARGO_FEATURES+=avx-accel RUSTFLAGS+="-C target-feature=+avx"
87
AVX_VARS=	CARGO_FEATURES+=avx-accel RUSTFLAGS+="-C target-feature=+avx"
85
AVX_IMPLIES=	SIMD
88
AVX_IMPLIES=	SIMD
86
89
87
BASH_PLIST_FILES=	etc/bash_completion.d/rg.bash
88
FISH_PLIST_FILES=	share/fish/completions/rg.fish
89
90
# simd crate uses cfg_target_feature which isn't stable yet, so unlock
90
# simd crate uses cfg_target_feature which isn't stable yet, so unlock
91
# unstable features similar to how lang/rust bootstraps. www/firefox
91
# unstable features similar to how lang/rust bootstraps. www/firefox
92
# uses the same hack when building with --enable-rust-simd.
92
# uses the same hack when building with --enable-rust-simd.
Lines 94-125 Link Here
94
SIMD_VARS=	CARGO_FEATURES+=simd-accel ${SIMD_VARS_${ARCH}}
94
SIMD_VARS=	CARGO_FEATURES+=simd-accel ${SIMD_VARS_${ARCH}}
95
SIMD_VARS_i386=	RUSTFLAGS+="-C target-feature=+sse2"
95
SIMD_VARS_i386=	RUSTFLAGS+="-C target-feature=+sse2"
96
96
97
ZSH_PLIST_FILES=	share/zsh/site-functions/_rg
98
99
post-patch:
97
post-patch:
100
	@${REINPLACE_CMD} -e 's|OUT_DIR|RIPGREP_OUTDIR|' ${WRKSRC}/build.rs
98
	@${REINPLACE_CMD} -e 's|OUT_DIR|RIPGREP_OUTDIR|' ${WRKSRC}/build.rs
101
99
102
post-install:
100
post-install:
103
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rg
101
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rg
104
	${INSTALL_MAN} ${RIPGREP_OUTDIR}/rg.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
102
	${INSTALL_MAN} ${RIPGREP_OUTDIR}/rg.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
105
106
post-install-BASH-on:
107
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d/
103
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d/
108
	${INSTALL_DATA} ${RIPGREP_OUTDIR}/rg.bash \
104
	${INSTALL_DATA} ${RIPGREP_OUTDIR}/rg.bash \
109
		${STAGEDIR}${PREFIX}/etc/bash_completion.d/
105
		${STAGEDIR}${PREFIX}/etc/bash_completion.d/
110
111
post-install-DOCS-on:
112
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
113
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
114
115
post-install-FISH-on:
116
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions/
106
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions/
117
	${INSTALL_DATA} ${RIPGREP_OUTDIR}/rg.fish \
107
	${INSTALL_DATA} ${RIPGREP_OUTDIR}/rg.fish \
118
		${STAGEDIR}${PREFIX}/share/fish/completions/
108
		${STAGEDIR}${PREFIX}/share/fish/completions/
119
120
post-install-ZSH-on:
121
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions/
109
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions/
122
	${INSTALL_DATA} ${WRKSRC}/complete/_rg \
110
	${INSTALL_DATA} ${WRKSRC}/complete/_rg \
123
		${STAGEDIR}${PREFIX}/share/zsh/site-functions/
111
		${STAGEDIR}${PREFIX}/share/zsh/site-functions/
124
112
113
post-install-DOCS-on:
114
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
115
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
116
125
.include <bsd.port.mk>
117
.include <bsd.port.mk>
(-)ripgrep/distinfo (-7 / +7 lines)
Lines 1-4 Link Here
1
TIMESTAMP = 1518468285
1
TIMESTAMP = 1519506277
2
SHA256 (rust/crates/aho-corasick-0.6.4.tar.gz) = d6531d44de723825aa81398a6415283229725a00fa30713812ab9323faa82fc4
2
SHA256 (rust/crates/aho-corasick-0.6.4.tar.gz) = d6531d44de723825aa81398a6415283229725a00fa30713812ab9323faa82fc4
3
SIZE (rust/crates/aho-corasick-0.6.4.tar.gz) = 25443
3
SIZE (rust/crates/aho-corasick-0.6.4.tar.gz) = 25443
4
SHA256 (rust/crates/ansi_term-0.10.2.tar.gz) = 6b3568b48b7cefa6b8ce125f9bb4989e52fbcc29ebea88df04cc7c5f12f70455
4
SHA256 (rust/crates/ansi_term-0.10.2.tar.gz) = 6b3568b48b7cefa6b8ce125f9bb4989e52fbcc29ebea88df04cc7c5f12f70455
Lines 11-18 Link Here
11
SIZE (rust/crates/bytecount-0.3.1.tar.gz) = 12347
11
SIZE (rust/crates/bytecount-0.3.1.tar.gz) = 12347
12
SHA256 (rust/crates/cfg-if-0.1.2.tar.gz) = d4c819a1287eb618df47cc647173c5c4c66ba19d888a6e50d605672aed3140de
12
SHA256 (rust/crates/cfg-if-0.1.2.tar.gz) = d4c819a1287eb618df47cc647173c5c4c66ba19d888a6e50d605672aed3140de
13
SIZE (rust/crates/cfg-if-0.1.2.tar.gz) = 6668
13
SIZE (rust/crates/cfg-if-0.1.2.tar.gz) = 6668
14
SHA256 (rust/crates/clap-2.29.4.tar.gz) = 7b8f59bcebcfe4269b09f71dab0da15b355c75916a8f975d3876ce81561893ee
14
SHA256 (rust/crates/clap-2.30.0.tar.gz) = 1c07b9257a00f3fc93b7f3c417fc15607ec7a56823bc2c37ec744e266387de5b
15
SIZE (rust/crates/clap-2.29.4.tar.gz) = 190160
15
SIZE (rust/crates/clap-2.30.0.tar.gz) = 190562
16
SHA256 (rust/crates/crossbeam-0.3.2.tar.gz) = 24ce9782d4d5c53674646a6a4c1863a21a8fc0cb649b3c94dfc16e45071dea19
16
SHA256 (rust/crates/crossbeam-0.3.2.tar.gz) = 24ce9782d4d5c53674646a6a4c1863a21a8fc0cb649b3c94dfc16e45071dea19
17
SIZE (rust/crates/crossbeam-0.3.2.tar.gz) = 33440
17
SIZE (rust/crates/crossbeam-0.3.2.tar.gz) = 33440
18
SHA256 (rust/crates/encoding_rs-0.7.2.tar.gz) = 98fd0f24d1fb71a4a6b9330c8ca04cbd4e7cc5d846b54ca74ff376bc7c9f798d
18
SHA256 (rust/crates/encoding_rs-0.7.2.tar.gz) = 98fd0f24d1fb71a4a6b9330c8ca04cbd4e7cc5d846b54ca74ff376bc7c9f798d
Lines 71-83 Link Here
71
SIZE (rust/crates/utf8-ranges-1.0.0.tar.gz) = 8599
71
SIZE (rust/crates/utf8-ranges-1.0.0.tar.gz) = 8599
72
SHA256 (rust/crates/void-1.0.2.tar.gz) = 6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d
72
SHA256 (rust/crates/void-1.0.2.tar.gz) = 6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d
73
SIZE (rust/crates/void-1.0.2.tar.gz) = 2356
73
SIZE (rust/crates/void-1.0.2.tar.gz) = 2356
74
SHA256 (rust/crates/walkdir-2.1.3.tar.gz) = b167e9a4420d8dddb260e70c90a4a375a1e5691f21f70e715553da87b6c2503a
74
SHA256 (rust/crates/walkdir-2.1.4.tar.gz) = 63636bd0eb3d00ccb8b9036381b526efac53caf112b7783b730ab3f8e44da369
75
SIZE (rust/crates/walkdir-2.1.3.tar.gz) = 22544
75
SIZE (rust/crates/walkdir-2.1.4.tar.gz) = 22695
76
SHA256 (rust/crates/winapi-0.3.4.tar.gz) = 04e3bd221fcbe8a271359c04f21a76db7d0c6028862d1bb5512d85e1e2eb5bb3
76
SHA256 (rust/crates/winapi-0.3.4.tar.gz) = 04e3bd221fcbe8a271359c04f21a76db7d0c6028862d1bb5512d85e1e2eb5bb3
77
SIZE (rust/crates/winapi-0.3.4.tar.gz) = 905247
77
SIZE (rust/crates/winapi-0.3.4.tar.gz) = 905247
78
SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6
78
SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6
79
SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = 2918815
79
SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = 2918815
80
SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f
80
SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f
81
SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 2947998
81
SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 2947998
82
SHA256 (BurntSushi-ripgrep-0.8.0_GH0.tar.gz) = c26391013522dfce3d870aec911fc602425e2eb385b75802b5b44440f4c32e24
82
SHA256 (BurntSushi-ripgrep-0.8.1_GH0.tar.gz) = 7035379fce0c1e32552e8ee528b92c3d01b8d3935ea31d26c51a73287be74bb3
83
SIZE (BurntSushi-ripgrep-0.8.0_GH0.tar.gz) = 518238
83
SIZE (BurntSushi-ripgrep-0.8.1_GH0.tar.gz) = 521088

Return to bug 226185