Index: Mk/bsd.sites.mk =================================================================== --- Mk/bsd.sites.mk +++ Mk/bsd.sites.mk @@ -545,6 +545,8 @@ MASTER_SITE_GITHUB+= https://codeload.github.com/%SUBDIR% \ http://codeload.github.com/%SUBDIR% MASTER_SITE_GITHUB_CLOUD+= http://cloud.github.com/downloads/%SUBDIR% +MASTER_SITE_GITHUB_RELEASE+= https://github.com/%SUBDIR% + .if !defined(MASTER_SITES) || !${MASTER_SITES:MGH} && !${MASTER_SITES:MGHC} MASTER_SITES+= GH GHC .endif @@ -1516,6 +1518,7 @@ MASTER_SITES_ABBREVS= CPAN:PERL_CPAN \ GH:GITHUB \ GHC:GITHUB_CLOUD \ + GHR:GITHUB_RELEASE \ LODEV:LIBREOFFICE_DEV \ NL:NETLIB \ SF:SOURCEFORGE \ @@ -1531,6 +1534,7 @@ GCC:releases/${DISTNAME} \ GITHUB:${GH_ACCOUNT}/${GH_PROJECT}/legacy.tar.gz/${GH_TAGNAME}?dummy=/ \ GITHUB_CLOUD:${GH_ACCOUNT}/${GH_PROJECT}/ \ + GITHUB_RELEASE:${GH_ACCOUNT}/${GH_PROJECT}/archive/v${PORTVERSION}${EXTRACT_SUFX}?dummy=/ \ GNOME:sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} \ GIMP:${PORTNAME}/${PORTVERSION:R}/ \ GNU:${PORTNAME} \