Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2017 09:09:01 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r438830 - branches/2017Q2/games/openbor
Message-ID:  <201704190909.v3J991Gn094737@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Apr 19 09:09:01 2017
New Revision: 438830
URL: https://svnweb.freebsd.org/changeset/ports/438830

Log:
  MFH: r438658
  
  games/openbor: move to GitHub where new builds are
  
  http://www.chronocrash.com/forum/index.php?topic=3344.0
  
  Approved by:	ports-secteam (junovitch)

Modified:
  branches/2017Q2/games/openbor/Makefile
  branches/2017Q2/games/openbor/distinfo
Directory Properties:
  branches/2017Q2/   (props changed)

Modified: branches/2017Q2/games/openbor/Makefile
==============================================================================
--- branches/2017Q2/games/openbor/Makefile	Wed Apr 19 09:05:03 2017	(r438829)
+++ branches/2017Q2/games/openbor/Makefile	Wed Apr 19 09:09:01 2017	(r438830)
@@ -3,8 +3,6 @@
 PORTNAME=	openbor
 PORTVERSION=	3.0.r4432
 CATEGORIES=	games
-MASTER_SITES=	LOCAL/jbeich \
-		https://svn.code.sf.net/p/${PORTNAME}/engine/engine/:svn
 
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Moddable fighting game engine (aka Beats of Rage)
@@ -18,9 +16,14 @@ LICENSE_FILE_ISCL=	${WRKSRC}/source/webm
 LIB_DEPENDS=	libpng.so:graphics/png \
 		libvpx.so:multimedia/libvpx
 
-USES=		gmake pkgconfig tar:xz
+USE_GITHUB=	yes
+GH_ACCOUNT=	DCurrent
+GH_TAGNAME=	ba1eb4f # git v4432 is actually svn r4437
+
+USES=		gmake pkgconfig
 USE_CSTD=	gnu89
 USE_SDL=	gfx2
+WRKSRC_SUBDIR=	engine
 MAKE_ENV=	BUILD_LINUX=1 SDKPATH="${LOCALBASE}" \
 		GCC_TARGET="${CONFIGURE_TARGET:S/amd64/x86_64/}"
 MAKE_ARGS=	CC="${CC}" LIBRARIES="${LOCALBASE}/lib" \
@@ -50,41 +53,6 @@ TREMOR_LIB_DEPENDS=	libvorbisidec.so:aud
 TREMOR_MAKE_ARGS=	BUILD_TREMOR=1 BUILD_VORBIS=""
 TREMOR_LIB_DEPENDS_OFF=	libvorbisfile.so:audio/libvorbis
 
-.include <bsd.port.options.mk>
-
-#
-# To update snapshot: make makesum BOOTSTRAP=
-# Specific snapshot:  make makesum SVN_FETCH= PORTVERSION=1.0.r1234
-#
-.if defined(BOOTSTRAP)
-SVN_REV!=	svn info ${MASTER_SITES:M*\:svn:S/:svn//} | \
-		${SED} -n 's/^Last Changed Rev: //p'
-PORTVERSION:=	${PORTVERSION:R}.r${SVN_REV}
-.else
-SVN_REV?=	${PORTVERSION:E:S/r//}
-.endif
-
-.if defined(BOOTSTRAP) || defined(SVN_FETCH)
-FETCH_DEPENDS+=	svn:devel/subversion
-
-NO_CHECKSUM=	yes
-
-do-fetch:
-	${MKDIR} ${WRKDIR}
-	svn export -r${SVN_REV} ${_MASTER_SITES_svn} ${WRKSRC}
-	(cd ${WRKDIR} && ${TAR} cJvf \
-		${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \
-		--uid 0 --gid 0 ${DISTNAME})
-. ifmake makesum
-	${REINPLACE_CMD} -i '' '/^PORTVERSION=/s/r.*/r${SVN_REV}/' \
-		${MASTERDIR}/Makefile
-. endif
-. if ${USER} == ${MAINTAINER:C/@.*//}
-	-scp ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \
-		freefall.freebsd.org:public_distfiles/
-. endif
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e 's/ -O[0-9]//; s/ -g//; s/ -Werror//' \
 		-e 's/ -fomit-frame-pointer//' \
@@ -97,7 +65,7 @@ post-patch:
 	@${GREP} -Flr 'malloc.h' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \
 		's,malloc\.h,stdlib.h,'
 	@${REINPLACE_CMD} -e 's/^function \(.*\) {/\1() {/' \
-		-e 's/^get_revnum$$/VERSION_BUILD=${SVN_REV}/' \
+		-e 's/^get_revnum$$/VERSION_BUILD=${PORTVERSION:E:S/^r//}/' \
 		${WRKSRC}/version.sh
 
 do-configure:

Modified: branches/2017Q2/games/openbor/distinfo
==============================================================================
--- branches/2017Q2/games/openbor/distinfo	Wed Apr 19 09:05:03 2017	(r438829)
+++ branches/2017Q2/games/openbor/distinfo	Wed Apr 19 09:09:01 2017	(r438830)
@@ -1,3 +1,3 @@
 TIMESTAMP = 1485387608
-SHA256 (openbor-3.0.r4432.tar.xz) = 14215dca007f0300c281aa020bf8d79f65d58155b4e9705319d26bc5a9027199
-SIZE (openbor-3.0.r4432.tar.xz) = 3944096
+SHA256 (DCurrent-openbor-3.0.r4432-ba1eb4f_GH0.tar.gz) = 0c26130127d1ec1d98c6c5e68b38a11df3e405ed7e43b7c61762f6ae862538c5
+SIZE (DCurrent-openbor-3.0.r4432-ba1eb4f_GH0.tar.gz) = 6087650



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704190909.v3J991Gn094737>