pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

rust-bin: Remove files for install/uninstall



Module Name:	pkgsrc-wip
Committed By:	Min Sik Kim <minskim%NetBSD.org@localhost>
Pushed By:	minskim
Date:		Tue Sep 25 03:09:27 2018 -0700
Changeset:	aba18353567e8ab270fc54918d9ab3fafa9e2ae3

Modified Files:
	rust-bin/Makefile
	rust-bin/PLIST.common

Log Message:
rust-bin: Remove files for install/uninstall

They are not needed in pkgsrc.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=aba18353567e8ab270fc54918d9ab3fafa9e2ae3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 rust-bin/Makefile     |  5 ++++-
 rust-bin/PLIST.common | 11 -----------
 2 files changed, 4 insertions(+), 12 deletions(-)

diffs:
diff --git a/rust-bin/Makefile b/rust-bin/Makefile
index d12c8a00a4..20070f9d40 100644
--- a/rust-bin/Makefile
+++ b/rust-bin/Makefile
@@ -2,7 +2,7 @@
 
 DISTNAME=	rust-1.29.0
 PKGNAME=	${DISTNAME:S/rust/rust-bin/}
-PKGREVISION=	1
+PKGREVISION=	2
 CATEGORIES=	lang
 MASTER_SITES=	https://static.rust-lang.org/dist/
 
@@ -73,6 +73,9 @@ do-build:
 do-install:
 	cd ${WRKSRC} && env PKGMANDIR=${PKGMANDIR} bash ./install.sh \
 	--destdir=${DESTDIR} --prefix=${PREFIX}
+	${RM} -f ${DESTDIR}${PREFIX}/lib/rustlib/install.log
+	${RM} -f ${DESTDIR}${PREFIX}/lib/rustlib/manifest-*
+	${RM} -f ${DESTDIR}${PREFIX}/lib/rustlib/uninstall.sh
 
 .if ${OPSYS} == "Darwin"
 .PHONY: fix-darwin-install-name
diff --git a/rust-bin/PLIST.common b/rust-bin/PLIST.common
index 1b2c673e85..9a486cb501 100644
--- a/rust-bin/PLIST.common
+++ b/rust-bin/PLIST.common
@@ -23,18 +23,7 @@ lib/rustlib/etc/debugger_pretty_printers_common.py
 lib/rustlib/etc/gdb_load_rust_pretty_printers.py
 lib/rustlib/etc/gdb_rust_pretty_printing.py
 lib/rustlib/etc/lldb_rust_formatters.py
-lib/rustlib/install.log
-lib/rustlib/manifest-cargo
-lib/rustlib/manifest-clippy-preview
-lib/rustlib/manifest-llvm-tools-preview
-lib/rustlib/manifest-rls-preview
-lib/rustlib/manifest-rust-analysis-${RUST_ARCH}
-lib/rustlib/manifest-rust-docs
-lib/rustlib/manifest-rust-std-${RUST_ARCH}
-lib/rustlib/manifest-rustc
-lib/rustlib/manifest-rustfmt-preview
 lib/rustlib/rust-installer-version
-lib/rustlib/uninstall.sh
 man/man1/cargo-bench.1
 man/man1/cargo-build.1
 man/man1/cargo-check.1


Home | Main Index | Thread Index | Old Index