Hi @ports,

Here is a patch to update emulators/advancemess to 3.0.

Since version 3.0, both AdvanceMAME and AdvanceMESS are distributed in
one unique tarball, and a configure switch was introduced to choose
which emulator to build.

This is the only visible change ports wise for this update.

OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/emulators/advancemess/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile    8 Sep 2016 20:28:18 -0000       1.1.1.1
+++ Makefile    8 Dec 2016 12:19:23 -0000
@@ -2,7 +2,9 @@
 
 COMMENT =      MESS port with advanced video support for monitors and TVs
 
-DISTNAME =     advancemess-1.4
+V =             3.0
+DISTNAME =      advancemame-$V
+PKGNAME =       advancemess-$V
 
 CATEGORIES =   emulators games
 
@@ -17,11 +19,13 @@ PERMIT_DISTFILES_FTP =      unclear license
 
 WANTLIB +=     SDL c expat freetype m pthread z
 
-MASTER_SITES = 
https://github.com/amadvance/advancemame/releases/download/${DISTNAME}/
+MASTER_SITES = https://github.com/amadvance/advancemame/releases/download/v$V/
 
 LIB_DEPENDS =  devel/sdl
 
 CONFIGURE_STYLE = gnu
+
+CONFIGURE_ARGS += --with-emu=mess
 
 USE_GMAKE =    Yes
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/emulators/advancemess/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo    8 Sep 2016 20:28:18 -0000       1.1.1.1
+++ distinfo    8 Dec 2016 12:19:23 -0000
@@ -1,2 +1,2 @@
-SHA256 (advancemess-1.4.tar.gz) = DXilYHWt64/8FxYgXhle5OAF2HmQZ4WNOYpOd1AVHQA=
-SIZE (advancemess-1.4.tar.gz) = 9288257
+SHA256 (advancemame-3.0.tar.gz) = GQd/Vatjasjplth3daHrhsLO04HLzVfB4MC/QQ9LQQE=
+SIZE (advancemame-3.0.tar.gz) = 23432477

Reply via email to