diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2018-12-16 19:13:00 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2018-12-16 19:13:00 +0000 |
commit | c6821201d2599d2092227ee3c19811dde0e6aabe (patch) | |
tree | 9dc6f9ba8912a012246b990aaf00ae7b6ff1bcbf /ports-mgmt/pkg_cutleaves | |
parent | d7fc746f8d6c0e2feeb44938bfb62e874440516d (diff) | |
download | ports-c6821201d2599d2092227ee3c19811dde0e6aabe.tar.gz ports-c6821201d2599d2092227ee3c19811dde0e6aabe.zip |
Notes
Diffstat (limited to 'ports-mgmt/pkg_cutleaves')
-rw-r--r-- | ports-mgmt/pkg_cutleaves/Makefile | 6 | ||||
-rw-r--r-- | ports-mgmt/pkg_cutleaves/files/pkg_cutleaves | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/ports-mgmt/pkg_cutleaves/Makefile b/ports-mgmt/pkg_cutleaves/Makefile index 20a8be9d7a39..776a0dde3804 100644 --- a/ports-mgmt/pkg_cutleaves/Makefile +++ b/ports-mgmt/pkg_cutleaves/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= pkg_cutleaves -PORTVERSION= 20180108 +PORTVERSION= 20181216 CATEGORIES= ports-mgmt MASTER_SITES= # none DISTFILES= # none @@ -12,12 +12,14 @@ COMMENT= Interactive script for deinstalling 'leaf' packages LICENSE= BSD2CLAUSE -NO_BUILD= yes USES= perl5 shebangfix + +NO_BUILD= yes SHEBANG_FILES= pkg_cutleaves NO_WRKSUBDIR= yes PLIST_FILES= sbin/pkg_cutleaves man/man1/pkg_cutleaves.1.gz +NO_ARCH= yes do-extract: ${MKDIR} ${WRKSRC} diff --git a/ports-mgmt/pkg_cutleaves/files/pkg_cutleaves b/ports-mgmt/pkg_cutleaves/files/pkg_cutleaves index ddae73042340..c207624943fc 100644 --- a/ports-mgmt/pkg_cutleaves/files/pkg_cutleaves +++ b/ports-mgmt/pkg_cutleaves/files/pkg_cutleaves @@ -358,7 +358,7 @@ sub create_excludelist { or die "Failed to open exclude list ($excludefile): $!\n"; print EXCLFILE '# Auto-generated exclude list ', scalar localtime, "\n"; for (sort keys %leavestokeep) { - /^(.+)-\d.*$/o + /^(.+)-g?\d.*$/o ? print EXCLFILE $1, "\n" : warn 'Unable to extract exclude pattern from ', $_, "\n"; } |