diff options
author | wiz <wiz@pkgsrc.org> | 2016-06-01 12:45:59 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2016-06-01 12:45:59 +0000 |
commit | 53d06dc1f3ee0fb02e987801d61a0cb37aa7144e (patch) | |
tree | ad6f1aa8242f6a222b786cd432addb521b654d03 | |
parent | 3530063a7d6487b0ba9a69230b9341579cdb9d54 (diff) | |
download | pkgsrc-53d06dc1f3ee0fb02e987801d61a0cb37aa7144e.tar.gz |
Use better HOMEPAGEs for github. Bump version.
-rw-r--r-- | pkgtools/url2pkg/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/url2pkg/files/url2pkg.pl | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/pkgtools/url2pkg/Makefile b/pkgtools/url2pkg/Makefile index 22c1c88f546..7889f8b61a3 100644 --- a/pkgtools/url2pkg/Makefile +++ b/pkgtools/url2pkg/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.80 2015/07/15 19:01:44 wiz Exp $ +# $NetBSD: Makefile,v 1.81 2016/06/01 12:45:59 wiz Exp $ -PKGNAME= url2pkg-2.24 +PKGNAME= url2pkg-2.25 CATEGORIES= pkgtools MAINTAINER= pkgsrc-users@NetBSD.org diff --git a/pkgtools/url2pkg/files/url2pkg.pl b/pkgtools/url2pkg/files/url2pkg.pl index c307daa7e93..d812daea52f 100644 --- a/pkgtools/url2pkg/files/url2pkg.pl +++ b/pkgtools/url2pkg/files/url2pkg.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: url2pkg.pl,v 1.30 2015/07/15 19:01:44 wiz Exp $ +# $NetBSD: url2pkg.pl,v 1.31 2016/06/01 12:45:59 wiz Exp $ # # Copyright (c) 2010 The NetBSD Foundation, Inc. @@ -307,7 +307,7 @@ sub generate_initial_package($) { if ($url =~ qr"^https?://github\.com/") { if ($url =~ qr"^https?://github\.com/(.*)/(.*)/archive/(.*)(\.tar\.gz|\.zip)$") { $master_sites = "\${MASTER_SITE_GITHUB:=$1/}"; - $homepage = "\${MASTER_SITE_GITHUB:=$1/$2/}"; + $homepage = "https://github.com/$1/$2/}"; $gh_project = $2; $gh_tag = $3; if (index($gh_tag, $gh_project) == -1 ) { @@ -318,7 +318,7 @@ sub generate_initial_package($) { $found = true; } elsif ($url =~ qr"^https?://github\.com/(.*)/(.*)/releases/download/(.*)/(.*)(\.tar\.gz|\.zip)$") { $master_sites = "\${MASTER_SITE_GITHUB:=$1/}"; - $homepage = "\${MASTER_SITE_GITHUB:=$1/$2/}"; + $homepage = "https://github.com/$1/$2/}"; if (index($4, $2) == -1) { $gh_project = $2; $dist_subdir = '${GITHUB_PROJECT}'; |