Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2018 11:07:13 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r464672 - in head/games/flare-engine: . files
Message-ID:  <201803161107.w2GB7DZh038088@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Mar 16 11:07:13 2018
New Revision: 464672
URL: https://svnweb.freebsd.org/changeset/ports/464672

Log:
  - Update to 1.0

Added:
  head/games/flare-engine/pkg-plist   (contents, props changed)
Deleted:
  head/games/flare-engine/files/
Modified:
  head/games/flare-engine/Makefile
  head/games/flare-engine/distinfo

Modified: head/games/flare-engine/Makefile
==============================================================================
--- head/games/flare-engine/Makefile	Fri Mar 16 10:06:15 2018	(r464671)
+++ head/games/flare-engine/Makefile	Fri Mar 16 11:07:13 2018	(r464672)
@@ -2,20 +2,23 @@
 # $FreeBSD$
 
 PORTNAME=	flare
-PORTVERSION=	0.19
-PORTREVISION=	3
+PORTVERSION=	1.0
+DISTVERSIONPREFIX=	v
 CATEGORIES=	games
-MASTER_SITES=	SF/${PORTNAME}-game/Linux/
-DISTNAME=	${PORTNAME}-engine.${PORTVERSION}
 PKGNAMESUFFIX=	-engine
 
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Free Libre Action Roleplaying Engine
 
-LICENSE=	GPLv3
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	clintbellanger
+GH_PROJECT=	${PORTNAME}${PKGNAMESUFFIX}
+
 USES=		cmake compiler:env
-USE_SDL=	sdl mixer image ttf
+USE_SDL=	sdl2 mixer2 image2 ttf2
 CMAKE_BUILD_TYPE=	#empty
 
 CMAKE_ARGS=	-DBINDIR="bin" -DDATADIR="share/flare" -DMANDIR="man"
@@ -23,19 +26,13 @@ CMAKE_ARGS=	-DBINDIR="bin" -DDATADIR="share/flare" -DM
 PORTDOCS=	*
 PORTDATA=	*
 
-PLIST_FILES=	bin/${PORTNAME} \
-		man/man1/flare.1.gz
+OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.pre.mk>
-
-post-patch:
-.if ${COMPILER_TYPE} == "clang"
-	@${REINPLACE_CMD} -e 's|-fwhole-program||' ${WRKSRC}/CMakeLists.txt
-.endif
-
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/flare
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README.engine ${STAGEDIR}${DOCSDIR}/
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/flare
 
-.include <bsd.port.post.mk>
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.engine.md ${STAGEDIR}${DOCSDIR}/
+
+.include <bsd.port.mk>

Modified: head/games/flare-engine/distinfo
==============================================================================
--- head/games/flare-engine/distinfo	Fri Mar 16 10:06:15 2018	(r464671)
+++ head/games/flare-engine/distinfo	Fri Mar 16 11:07:13 2018	(r464672)
@@ -1,2 +1,3 @@
-SHA256 (flare-engine.0.19.tar.gz) = 69811133b22c2c95ca7f35f0db6e63b693e646a433843c0f1c50a2d7f4d581e1
-SIZE (flare-engine.0.19.tar.gz) = 545167
+TIMESTAMP = 1521134478
+SHA256 (clintbellanger-flare-engine-v1.0_GH0.tar.gz) = 4bbd4674513b643be6294188904665c53f0ef2912e803212c05e8fd22a44d74d
+SIZE (clintbellanger-flare-engine-v1.0_GH0.tar.gz) = 4949063

Added: head/games/flare-engine/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/flare-engine/pkg-plist	Fri Mar 16 11:07:13 2018	(r464672)
@@ -0,0 +1,4 @@
+bin/flare
+man/man6/flare.6.gz
+share/applications/flare.desktop
+share/icons/hicolor/scalable/apps/flare.svg



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