Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jan 2016 18:37:32 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r406262 - head/emulators/advancemame
Message-ID:  <201601161837.u0GIbWha066554@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Sat Jan 16 18:37:32 2016
New Revision: 406262
URL: https://svnweb.freebsd.org/changeset/ports/406262

Log:
  - Update to 1.4
  
  PR:		202846
  Submitted by:	ports fury

Modified:
  head/emulators/advancemame/Makefile
  head/emulators/advancemame/distinfo
  head/emulators/advancemame/pkg-descr
  head/emulators/advancemame/pkg-plist

Modified: head/emulators/advancemame/Makefile
==============================================================================
--- head/emulators/advancemame/Makefile	Sat Jan 16 18:30:04 2016	(r406261)
+++ head/emulators/advancemame/Makefile	Sat Jan 16 18:37:32 2016	(r406262)
@@ -2,67 +2,69 @@
 # $FreeBSD$
 
 PORTNAME=	advancemame
-PORTVERSION=	1.2
-PORTREVISION=	3
+PORTVERSION=	1.4
 CATEGORIES=	emulators
-MASTER_SITES=	SF
+MASTER_SITES=	https://github.com/amadvance/advancemame/releases/download/${DISTNAME}/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	SDL MAME port with advanced TV and monitor video support
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libexpat.so:${PORTSDIR}/textproc/expat2
 
+USES=		gmake ncurses
 USE_SDL=	sdl
-USES=		gmake
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--disable-asm --disable-svgalib --disable-fb \
-		--disable-alsa --enable-oss --disable-slang \
-		--disable-ncurses --disable-kevent
-
-DATADIR=	${PREFIX}/share/advance
+CONFIGURE_ARGS=	--disable-svgalib --disable-fb --disable-alsa --enable-oss \
+		--disable-kevent
 
 CFLAGS+=	-idirafter ${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-MAN_FILES=	advdev.1 advj.1 advk.1 advm.1 advmame.1 advs.1
-PORTDOCS=	*
-
-MAKE_JOBS_UNSAFE=	yes
+DOCSDIR=	${PREFIX}/share/doc/advance
+DATADIR=	${PREFIX}/share/advance
 
-OPTIONS_DEFINE=	FREETYPE DOCS
-OPTIONS_DEFAULT=FREETYPE
+PORTDOCS=	*
 
+OPTIONS_DEFINE=		DOCS FREETYPE SLANG
+OPTIONS_DEFINE_i386=	ASM
+OPTIONS_DEFAULT=	FREETYPE
+OPTIONS_DEFAULT_i386=	ASM
+
+ASM_BUILD_DEPENDS=	nasm:${PORTSDIR}/devel/nasm
+ASM_USE=		gcc=any
+ASM_CONFIGURE_ENABLE=	asm
+FREETYPE_LIB_DEPENDS=	libfreetype.so:${PORTSDIR}/print/freetype2
 FREETYPE_CONFIGURE_ENABLE=	freetype
-FREETYPE_LIB_DEPENDS=		libfreetype.so:${PORTSDIR}/print/freetype2
+SLANG_LIB_DEPENDS=	libslang.so:${PORTSDIR}/devel/libslang2
+SLANG_CONFIGURE_ENABLE=	slang
+SLANG_LDFLAGS=		-lncurses
 
 post-patch:
 	@${REINPLACE_CMD} -e \
-		's|-lpthread|-pthread|' ${WRKSRC}/configure
+		's|-lpthread|-pthread| ; \
+		 /prefix/s|^\(docdir\)|#\1| ; \
+		 /prefix/s|^\(mandir\)|#\1|' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e \
-		's|@@|@|' ${WRKSRC}/Makefile.in
+		's|@@|@| ; \
+		 /^INSTALL_PROGRAM /s|=.*|= @INSTALL_PROGRAM@| ; \
+		 /^INSTALL_MAN /s|=.*|= @INSTALL_MAN@| ; \
+		 /^INSTALL_DATA /s|=.*|= @INSTALL_DATA@|' ${WRKSRC}/Makefile.in
 	@${REINPLACE_CMD} -e \
-		'/\(pkgdocdir\)/s|^|#| ; \
+		's|\([[:space:]]\)\($$(bindir)\)|\1$$(DESTDIR)\2| ; \
+		 s|\([[:space:]]\)\($$(pkgdir)\)|\1$$(DESTDIR)\2| ; \
+		 s|\([[:space:]]\)\($$(pkgdocdir)\)|\1$$(DESTDIR)\2| ; \
+		 s|\([[:space:]]\)\($$(mandir)\)|\1$$(DESTDIR)\2| ; \
 		 /WHOLE_CFLAGS_OPT/s|-O2|| ; \
 		 /WHOLE_LDFLAGS/s|-s||' ${WRKSRC}/advance/advance.mak
 	@${REINPLACE_CMD} -e \
 		's|-lpthread|-pthread|' ${WRKSRC}/advance/emu.mak
 
-do-install:
-	(cd ${WRKSRC} && ${INSTALL_PROGRAM} advj advk advm advmame advs \
-		${STAGEDIR}${PREFIX}/bin)
-	(cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MAN_FILES} \
-		${STAGEDIR}${MANPREFIX}/man/man1)
-	@${MKDIR} ${STAGEDIR}${DATADIR}
-	(cd ${WRKSRC}/support && ${INSTALL_DATA} *.dat ${STAGEDIR}${DATADIR})
-.for i in artwork diff image rom sample snap
-	@${MKDIR} ${STAGEDIR}${DATADIR}/${i}
-	@${ECHO_CMD} -n > ${STAGEDIR}${DATADIR}/${i}/.keep_me
-.endfor
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	(cd ${WRKSRC} && ${INSTALL_DATA} HISTORY README RELEASE \
 		${STAGEDIR}${DOCSDIR})
-	(cd ${WRKSRC}/doc && ${INSTALL_DATA} *.[ht]* ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>

Modified: head/emulators/advancemame/distinfo
==============================================================================
--- head/emulators/advancemame/distinfo	Sat Jan 16 18:30:04 2016	(r406261)
+++ head/emulators/advancemame/distinfo	Sat Jan 16 18:37:32 2016	(r406262)
@@ -1,2 +1,2 @@
-SHA256 (advancemame-1.2.tar.gz) = eaf46e54f0cb5fa1d99f55604a4a3f8a065c1cf5e70ac4abc67391b0450ce439
-SIZE (advancemame-1.2.tar.gz) = 17508670
+SHA256 (advancemame-1.4.tar.gz) = 525e0897cd41fe8d3ef563e59592da740ebe005eda0948515dca410d01624bcc
+SIZE (advancemame-1.4.tar.gz) = 18463736

Modified: head/emulators/advancemame/pkg-descr
==============================================================================
--- head/emulators/advancemame/pkg-descr	Sat Jan 16 18:30:04 2016	(r406261)
+++ head/emulators/advancemame/pkg-descr	Sat Jan 16 18:37:32 2016	(r406262)
@@ -1,22 +1,22 @@
-AdvanceMAME and AdvanceMESS are unofficial MAME and MESS versions with an
-advanced video support for helping the use with TVs, Arcade Monitors, Fixed
-Frequencies Monitors and also for PC Monitors.
-
-They run in GNU/Linux, Mac OS X, DOS, Windows and in all the other platforms
-supported by the SDL library.
-
-The main difference compared with the official emulators is that the Advance
-versions are able to program directly the video board to always get a video
-mode with the correct size and frequency.
-
-Generally the Advance emulators are able to use a video mode which doesn't
-require any stretching or other unneeded effects to match the original arcade
-display.
-
-The direct video board programming is fully supported in Linux and DOS. It's
-partially supported in Windows. It isn't supported in Mac OS X and other
-platforms.
+AdvanceMAME and AdvanceMESS are unofficial MAME and MESS versions with
+an advanced video support for helping the use with TVs, Arcade Monitors,
+Fixed Frequencies Monitors and also for PC Monitors.
+
+They run in GNU/Linux, Mac OS X, DOS, Windows and in all the other
+platforms supported by the SDL library.
+
+The main difference compared with the official emulators is that the
+Advance versions are able to program directly the video board to always
+get a video mode with the correct size and frequency.
+
+Generally the Advance emulators are able to use a video mode which
+doesn't require any stretching or other unneeded effects to match the
+original arcade display.
+
+The direct video board programming is fully supported in Linux and DOS.
+It's partially supported in Windows. It isn't supported in Mac OS X and
+other platforms.
 
 See website for other improvements.
 
-WWW: http://advancemame.sourceforge.net/
+WWW: http://www.advancemame.it/

Modified: head/emulators/advancemame/pkg-plist
==============================================================================
--- head/emulators/advancemame/pkg-plist	Sat Jan 16 18:30:04 2016	(r406261)
+++ head/emulators/advancemame/pkg-plist	Sat Jan 16 18:37:32 2016	(r406262)
@@ -1,4 +1,4 @@
-bin/advj 
+bin/advj
 bin/advk
 bin/advm
 bin/advmame
@@ -9,12 +9,19 @@ man/man1/advk.1.gz
 man/man1/advm.1.gz
 man/man1/advmame.1.gz
 man/man1/advs.1.gz
-%%DATADIR%%/artwork/.keep_me
-%%DATADIR%%/diff/.keep_me
 %%DATADIR%%/event.dat
-%%DATADIR%%/history.dat
 %%DATADIR%%/hiscore.dat
-%%DATADIR%%/image/.keep_me
-%%DATADIR%%/rom/.keep_me
-%%DATADIR%%/sample/.keep_me
-%%DATADIR%%/snap/.keep_me
+%%DATADIR%%/history.dat
+%%DATADIR%%/rom/gridlee.zip
+%%DATADIR%%/rom/polyplay.zip
+%%DATADIR%%/rom/robby.zip
+%%DATADIR%%/sample/gridlee.zip
+%%DATADIR%%/snap/gridlee.zip
+%%DATADIR%%/snap/polyplay.zip
+%%DATADIR%%/snap/robby.zip
+@dir %%DATADIR%%/snap
+@dir %%DATADIR%%/sample
+@dir %%DATADIR%%/rom
+@dir %%DATADIR%%/image
+@dir %%DATADIR%%/crc
+@dir %%DATADIR%%/artwork



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