From cbd2d273cf35051cc50e2f2d2f28480b42d4e42e Mon Sep 17 00:00:00 2001 From: ryoon Date: Sat, 6 Oct 2012 13:06:31 +0000 Subject: Bump version to 2.16 * Recognize .tar.xz in distfile's name --- pkgtools/url2pkg/Makefile | 5 ++--- pkgtools/url2pkg/files/url2pkg.pl | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgtools/url2pkg/Makefile b/pkgtools/url2pkg/Makefile index 136eaee9039..a016085ec2a 100644 --- a/pkgtools/url2pkg/Makefile +++ b/pkgtools/url2pkg/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.66 2012/10/03 21:57:16 wiz Exp $ +# $NetBSD: Makefile,v 1.67 2012/10/06 13:06:31 ryoon Exp $ # -DISTNAME= url2pkg-2.15 -PKGREVISION= 1 +DISTNAME= url2pkg-2.16 CATEGORIES= pkgtools MASTER_SITES= # none DISTFILES= # none diff --git a/pkgtools/url2pkg/files/url2pkg.pl b/pkgtools/url2pkg/files/url2pkg.pl index 56f5aeeed27..6b929f7df51 100644 --- a/pkgtools/url2pkg/files/url2pkg.pl +++ b/pkgtools/url2pkg/files/url2pkg.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: url2pkg.pl,v 1.19 2012/09/30 09:06:50 asau Exp $ +# $NetBSD: url2pkg.pl,v 1.20 2012/10/06 13:06:31 ryoon Exp $ # # Copyright (c) 2010 The NetBSD Foundation, Inc. @@ -306,7 +306,7 @@ sub generate_initial_package($) { } } - if ($distfile =~ qr"^(.*)(\.tgz|\.tar\.Z|\.tar\.gz|\.tar\.bz2)$") { + if ($distfile =~ qr"^(.*)(\.tgz|\.tar\.Z|\.tar\.gz|\.tar\.bz2|\.tar\.xz)$") { ($distname, $dist_sufx) = ($1, $2); } elsif ($distfile =~ qr"^(.*)(\.[^.]+)$") { ($distname, $dist_sufx) = ($1, $2); -- cgit v1.2.3