pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/R2pkg/files pkgtools/R2pkg: create fewer temp...
details: https://anonhg.NetBSD.org/pkgsrc/rev/078f20354528
branches: trunk
changeset: 342483:078f20354528
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat Oct 19 18:47:59 2019 +0000
description:
pkgtools/R2pkg: create fewer temporary files
diffstat:
pkgtools/R2pkg/files/R2pkg.sh | 15 +--------------
1 files changed, 1 insertions(+), 14 deletions(-)
diffs (37 lines):
diff -r 580a4e8d48ba -r 078f20354528 pkgtools/R2pkg/files/R2pkg.sh
--- a/pkgtools/R2pkg/files/R2pkg.sh Sat Oct 19 18:43:51 2019 +0000
+++ b/pkgtools/R2pkg/files/R2pkg.sh Sat Oct 19 18:47:59 2019 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: R2pkg.sh,v 1.12 2019/10/19 18:43:51 rillig Exp $
+# $NetBSD: R2pkg.sh,v 1.13 2019/10/19 18:47:59 rillig Exp $
#
# Copyright (c) 2014,2015,2016,2017,2018,2019
# Brook Milligan. All rights reserved.
@@ -145,13 +145,6 @@
preserve_original_content ()
{
- [ -f Makefile ] && grep -e "CATEGORIES=" Makefile > CATEGORIES
- [ -f Makefile ] && grep -e "COMMENT=" Makefile > COMMENT
- [ -f Makefile ] && grep -e "USE_LANGUAGES" Makefile > USE_LANGUAGES
- [ -f Makefile ] && grep -e "USE_TOOLS" Makefile > USE_TOOLS
- [ -f Makefile ] && grep -e "DEPENDS" Makefile > DEPENDS
- [ -f Makefile ] && grep -e "buildlink3.mk" Makefile > BUILDLINK3.MK
-
[ -f DESCR ] && mv DESCR DESCR.orig
[ -f Makefile ] && mv Makefile Makefile.orig
[ -f buildlink3.mk ] && mv buildlink3.mk buildlink3.mk.orig
@@ -293,12 +286,6 @@
cleanup_misc_files ()
{
[ "$keep_description" = "yes" ] || rm -f DESCRIPTION
- rm -f CATEGORIES
- rm -f COMMENT
- rm -f USE_LANGUAGES
- rm -f USE_TOOLS
- rm -f DEPENDS
- rm -f BUILDLINK3.MK
[ $level -eq 0 ] && rm -f "$packages_list"
[ $level -eq 0 ] && rm -f "$dependency_list"
}
Home |
Main Index |
Thread Index |
Old Index