diff options
author | ryoon <ryoon@pkgsrc.org> | 2012-10-06 13:06:31 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2012-10-06 13:06:31 +0000 |
commit | cbd2d273cf35051cc50e2f2d2f28480b42d4e42e (patch) | |
tree | cbf519f6169220789f54951412f79595956a99c0 /pkgtools | |
parent | 4eca9d0dd0198c90e57b2c47a65dde63a49873e5 (diff) | |
download | pkgsrc-cbd2d273cf35051cc50e2f2d2f28480b42d4e42e.tar.gz |
Bump version to 2.16
* Recognize .tar.xz in distfile's name
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/url2pkg/Makefile | 5 | ||||
-rw-r--r-- | 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); |