diff options
Diffstat (limited to 'pkgtools/url2pkg/files/url2pkg.pl')
-rw-r--r-- | pkgtools/url2pkg/files/url2pkg.pl | 4 |
1 files changed, 2 insertions, 2 deletions
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); |