Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2019 18:34:09 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r495940 - in head/games/legend-of-edgar: . files
Message-ID:  <201903161834.x2GIY9NK064368@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sat Mar 16 18:34:09 2019
New Revision: 495940
URL: https://svnweb.freebsd.org/changeset/ports/495940

Log:
  games/legend-of-edgar: Update to 1.31
  
  Changes:	https://github.com/riksweeney/edgar/releases

Modified:
  head/games/legend-of-edgar/Makefile
  head/games/legend-of-edgar/distinfo
  head/games/legend-of-edgar/files/patch-makefile
  head/games/legend-of-edgar/files/patch-src_headers.h

Modified: head/games/legend-of-edgar/Makefile
==============================================================================
--- head/games/legend-of-edgar/Makefile	Sat Mar 16 18:18:19 2019	(r495939)
+++ head/games/legend-of-edgar/Makefile	Sat Mar 16 18:34:09 2019	(r495940)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	edgar
-DISTVERSION=	1.29
+DISTVERSION=	1.31
 CATEGORIES=	games
 MASTER_SITES=	https://github.com/riksweeney/edgar/releases/download/${DISTVERSION}/
 PKGNAMEPREFIX=	legend-of-
@@ -16,8 +16,8 @@ LICENSE_FILE=	${WRKSRC}/doc/license
 
 LIB_DEPENDS=	libpng.so:graphics/png
 
-USES=		gmake
-USE_SDL=	image mixer sdl ttf
+USES=		gmake sdl
+USE_SDL=	image2 mixer2 sdl2 ttf2
 MAKEFILE=	makefile
 MAKE_ARGS=	BIN_DIR=${PREFIX}/bin/ \
 		DATA_DIR=${DATADIR}/ \

Modified: head/games/legend-of-edgar/distinfo
==============================================================================
--- head/games/legend-of-edgar/distinfo	Sat Mar 16 18:18:19 2019	(r495939)
+++ head/games/legend-of-edgar/distinfo	Sat Mar 16 18:34:09 2019	(r495940)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1534768635
-SHA256 (edgar-1.29-1.tar.gz) = c163a0c2e3459e264ba507535934ebb1ab3915b77c210409abc306f27323779a
-SIZE (edgar-1.29-1.tar.gz) = 92971537
+TIMESTAMP = 1552758736
+SHA256 (edgar-1.31-1.tar.gz) = 7184fafe49c68008b761b793967ff96911575deb0337b808c506291459288844
+SIZE (edgar-1.31-1.tar.gz) = 91857274

Modified: head/games/legend-of-edgar/files/patch-makefile
==============================================================================
--- head/games/legend-of-edgar/files/patch-makefile	Sat Mar 16 18:18:19 2019	(r495939)
+++ head/games/legend-of-edgar/files/patch-makefile	Sat Mar 16 18:34:09 2019	(r495940)
@@ -3,7 +3,7 @@
   the stage directory and that the game can actually find its assets
   at runtime
 
---- makefile.orig	2018-04-22 07:16:24 UTC
+--- makefile.orig	2019-03-16 12:57:53 UTC
 +++ makefile
 @@ -22,7 +22,7 @@ PO_PROG   = po_creator
  TILE_PROG = tile_creator
@@ -18,11 +18,11 @@
  ifeq ($(DEV),1)
  CFLAGS += -Werror -g
  endif
-+CFLAGS += $(shell sdl-config --cflags)
++CFLAGS += $(shell sdl2-config --cflags)
  
  DEFINES = -DVERSION=$(VERSION) -DRELEASE=$(RELEASE) -DDEV=$(DEV) -DINSTALL_PATH=\"$(DATA_DIR)\" -DLOCALE_DIR=\"$(LOCALE_DIR)\" -DUNIX=$(UNIX)
  ifndef NO_PAK
-@@ -103,11 +104,11 @@ endif
+@@ -104,11 +105,11 @@ endif
  all : $(PROG) makefile.dep $(ED_PROG) $(PAK_PROG) $(LOCALE_MO) $(PO_PROG)
  
  makefile.dep : src/*/*.h src/*.h
@@ -36,10 +36,10 @@
  
  %.mo: %.po
  	msgfmt -c -o $@ $<
-@@ -148,37 +149,37 @@ ifeq ($(DEV),1)
+@@ -148,37 +149,37 @@ install: all buildpak
+ ifeq ($(DEV),1)
  	echo Cannot install if DEV is set to 1!
  else
- 	$(MAKE) buildpak
 -	mkdir -p $(BIN_DIR)
 -	mkdir -p $(DATA_DIR)
 -	mkdir -p $(DOC_DIR)

Modified: head/games/legend-of-edgar/files/patch-src_headers.h
==============================================================================
--- head/games/legend-of-edgar/files/patch-src_headers.h	Sat Mar 16 18:18:19 2019	(r495939)
+++ head/games/legend-of-edgar/files/patch-src_headers.h	Sat Mar 16 18:34:09 2019	(r495940)
@@ -4,16 +4,16 @@
  	#include <windows.h>
  #endif
  
--#include "SDL/SDL.h"
--#include "SDL/SDL_endian.h"
--#include "SDL/SDL_image.h"
--#include "SDL/SDL_mixer.h"
--#include "SDL/SDL_ttf.h"
-+#include <SDL/SDL.h>
-+#include <SDL/SDL_endian.h>
-+#include <SDL/SDL_image.h>
-+#include <SDL/SDL_mixer.h>
-+#include <SDL/SDL_ttf.h>
+-#include "SDL2/SDL.h"
+-#include "SDL2/SDL_endian.h"
+-#include "SDL2/SDL_image.h"
+-#include "SDL2/SDL_mixer.h"
+-#include "SDL2/SDL_ttf.h"
++#include <SDL.h>
++#include <SDL_endian.h>
++#include <SDL_image.h>
++#include <SDL_mixer.h>
++#include <SDL_ttf.h>
  
  #include "structs.h"
  #include "i18n.h"



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