From 81fcba18057452d58defaf207bfe816a44067012 Mon Sep 17 00:00:00 2001 From: tnn Date: Sat, 7 Mar 2015 21:14:32 +0000 Subject: Address issues raised by agc@ to make the github master site handling more pkgsrcesque. 1) turn _USE_GITHUB into an internal infrastructure variable 2) put back MASTER_SITES in packages' Makefiles. 3) encode the account in the master site URL, remove GH_ACCOUNT 4) rename GH_PROJECT to GITHUB_PROJECT 5) rename GH_TAGNAME to GITHUB_TAG and allow it to accept commit hash as well as tag. GH_COMMIT is gone. 6) turn on this functionality when MASTER_SITES matches a predefined github pattern instead of via explicit USE_GITHUB setting. --- emulators/libretro-pcsx-rearmed/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'emulators') diff --git a/emulators/libretro-pcsx-rearmed/Makefile b/emulators/libretro-pcsx-rearmed/Makefile index 1b75db8ab74..190f012478a 100644 --- a/emulators/libretro-pcsx-rearmed/Makefile +++ b/emulators/libretro-pcsx-rearmed/Makefile @@ -1,11 +1,10 @@ -# $NetBSD: Makefile,v 1.5 2015/03/07 14:29:35 tnn Exp $ +# $NetBSD: Makefile,v 1.6 2015/03/07 21:14:32 tnn Exp $ DISTNAME= libretro-pcsx-rearmed-0.22 CATEGORIES= emulators -USE_GITHUB= yes -GH_ACCOUNT= notaz -GH_PROJECT= pcsx_rearmed -GH_TAGNAME= r22 +MASTER_SITES= ${MASTER_SITE_GITHUB:=notaz/} +GITHUB_PROJECT= pcsx_rearmed +GITHUB_TAG= r22 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://notaz.gp2x.de/pcsx_rearmed.php -- cgit v1.2.3