View | Details | Raw Unified | Return to bug 202848 | Differences between
and this patch

Collapse All | Expand All

(-)emulators/advancemess/Makefile (-24 / +42 lines)
Lines 2-11 Link Here
2
# $FreeBSD: head/emulators/advancemess/Makefile 405891 2016-01-12 16:20:31Z amdmi3 $
2
# $FreeBSD: head/emulators/advancemess/Makefile 405891 2016-01-12 16:20:31Z amdmi3 $
3
3
4
PORTNAME=	advancemess
4
PORTNAME=	advancemess
5
PORTVERSION=	0.102.0.1
5
PORTVERSION=	1.4
6
PORTREVISION=	7
7
CATEGORIES=	emulators
6
CATEGORIES=	emulators
8
MASTER_SITES=	SF/advancemame/${PORTNAME}/${PORTVERSION}
7
MASTER_SITES=	https://github.com/amadvance/advancemame/releases/download/${DISTNAME}/
9
8
10
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
11
COMMENT=	SDL MESS port with advanced TV and monitor video support
10
COMMENT=	SDL MESS port with advanced TV and monitor video support
Lines 14-48 Link Here
14
LICENSE_FILE=	${WRKSRC}/COPYING
13
LICENSE_FILE=	${WRKSRC}/COPYING
15
14
16
LIB_DEPENDS=	libexpat.so:${PORTSDIR}/textproc/expat2
15
LIB_DEPENDS=	libexpat.so:${PORTSDIR}/textproc/expat2
16
RUN_DEPENDS=	advancemame>=1.4:${PORTSDIR}/emulators/advancemame
17
17
18
USE_GL=		yes
18
USES=		gmake ncurses
19
USES=		gmake
20
USE_SDL=	sdl
19
USE_SDL=	sdl
21
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
22
LDFLAGS+=	-L${LOCALBASE}/lib
21
CONFIGURE_ARGS=	--disable-svgalib --disable-fb --disable-alsa --enable-oss \
23
CFLAGS+=	-idirafter ${LOCALBASE}/include
22
		--disable-kevent
24
23
25
OPTIONS_DEFINE=	FREETYPE SLANG
24
CFLAGS+=	-idirafter ${LOCALBASE}/include
26
SLANG_DESC=	Enable sLang support (for video driver)
25
LDFLAGS+=	-L${LOCALBASE}/lib
27
26
27
PORTDOCS=	*
28
PLIST_FILES=	bin/advmess \
29
		man/man1/advmess.1.gz \
30
		share/advance/sysinfo.dat
31
32
OPTIONS_DEFINE=		FREETYPE SLANG
33
OPTIONS_DEFINE_i386=	ASM
34
OPTIONS_DEFAULT=	FREETYPE
35
OPTIONS_DEFAULT_i386=	ASM
36
37
ASM_BUILD_DEPENDS=	nasm:${PORTSDIR}/devel/nasm
38
ASM_USE=		gcc=any
39
ASM_CONFIGURE_ENABLE=	asm
40
FREETYPE_LIB_DEPENDS=	libfreetype.so:${PORTSDIR}/print/freetype2
28
FREETYPE_CONFIGURE_ENABLE=	freetype
41
FREETYPE_CONFIGURE_ENABLE=	freetype
29
FREETYPE_LIB_DEPENDS=		libfreetype.so:${PORTSDIR}/print/freetype2
30
31
SLANG_CONFIGURE_ENABLE=	slang
32
SLANG_LIB_DEPENDS=	libslang.so:${PORTSDIR}/devel/libslang2
42
SLANG_LIB_DEPENDS=	libslang.so:${PORTSDIR}/devel/libslang2
43
SLANG_CONFIGURE_ENABLE=	slang
44
SLANG_LDFLAGS=		-lncurses
33
45
34
.include <bsd.port.pre.mk>
46
BROKEN_powerpc=		Does not compile on powerpc
35
36
.if ${ARCH} == "i386"
37
BUILD_DEPENDS+=	nasm:${PORTSDIR}/devel/nasm
38
.endif
39
47
40
post-patch:
48
post-patch:
41
	@${REINPLACE_CMD} -E -e '/pkgdocdir/d' \
49
	@${REINPLACE_CMD} -e \
42
		-e 's,(bin|man|pkg)dir),DESTDIR)$$(&,' \
50
		's|@@|@|' ${WRKSRC}/Makefile.in
43
		${WRKSRC}/advance/advance.mak
51
	@${REINPLACE_CMD} -e \
44
52
		'/WHOLE_CFLAGS_OPT/s|-O2|| ; \
45
post-install:
53
		 /WHOLE_LDFLAGS/s|-s||' ${WRKSRC}/advance/advance.mak
46
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/advmess
54
	@${REINPLACE_CMD} -e \
55
		's|-lpthread|-pthread|' ${WRKSRC}/advance/emu.mak
56
57
do-install:
58
	(cd ${WRKSRC} && ${INSTALL_PROGRAM} advmess \
59
		${STAGEDIR}${PREFIX}/bin)
60
	(cd ${WRKSRC}/support && ${INSTALL_MAN} advmess.1 \
61
		${STAGEDIR}${MANPREFIX}/man/man1)
62
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/advance
63
	(cd ${WRKSRC}/support && ${INSTALL_DATA} sysinfo.dat \
64
		${STAGEDIR}${PREFIX}/share/advance)
47
65
48
.include <bsd.port.post.mk>
66
.include <bsd.port.mk>
(-)emulators/advancemess/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (advancemess-0.102.0.1.tar.gz) = 78966d25399a3f70801fb5ac3e93c6fcb14c94991f37d587e9b57bb8a403f7f9
1
SHA256 (advancemess-1.4.tar.gz) = 0d78a56075adeb8ffc1716205e195ee4e005d8799067858d398a4e7750151d00
2
SIZE (advancemess-0.102.0.1.tar.gz) = 6903540
2
SIZE (advancemess-1.4.tar.gz) = 9288257
(-)emulators/advancemess/files/patch-advance__advance.mak (-63 lines)
Lines 1-63 Link Here
1
--- ./advance/advance.mak.orig	Sun Dec 11 10:10:33 2005
2
+++ ./advance/advance.mak	Sat Jan 20 17:02:36 2007
3
@@ -24,8 +24,6 @@
4
 ifneq ($(wildcard $(EMUSRC)),)
5
 INSTALL_DIRS += $(OBJ)
6
 INSTALL_BINFILES += $(OBJ)/$(EMUNAME)$(EXE)
7
-INSTALL_MANFILES += $(DOCOBJ)/advmame.1
8
-INSTALL_MANFILES += $(DOCOBJ)/advdev.1
9
 ifeq ($(CONF_EMU),mame)
10
 INSTALL_DATAFILES += $(srcdir)/support/event.dat
11
 INSTALL_DATAFILES += $(srcdir)/support/history.dat
12
@@ -42,40 +40,6 @@
13
 INSTALL_BINFILES += $(MENUOBJ)/advmenu$(EXE)
14
 INSTALL_MANFILES += $(DOCOBJ)/advmenu.1
15
 endif
16
-ifeq ($(CONF_LIB_DIRECT),yes)
17
-ifneq ($(wildcard $(srcdir)/advance/cfg.mak),)
18
-INSTALL_DIRS += $(CFGOBJ)
19
-INSTALL_BINFILES += $(CFGOBJ)/advcfg$(EXE)
20
-INSTALL_MANFILES += $(DOCOBJ)/advcfg.1
21
-endif
22
-ifneq ($(wildcard $(srcdir)/advance/v.mak),)
23
-INSTALL_DIRS += $(VOBJ)
24
-INSTALL_BINFILES += $(VOBJ)/advv$(EXE)
25
-INSTALL_MANFILES += $(DOCOBJ)/advv.1
26
-endif
27
-endif
28
-ifneq ($(CONF_SYSTEM),windows)
29
-ifneq ($(wildcard $(srcdir)/advance/s.mak),)
30
-INSTALL_DIRS += $(SOBJ)
31
-INSTALL_BINFILES += $(SOBJ)/advs$(EXE)
32
-INSTALL_MANFILES += $(DOCOBJ)/advs.1
33
-endif
34
-ifneq ($(wildcard $(srcdir)/advance/k.mak),)
35
-INSTALL_DIRS += $(KOBJ)
36
-INSTALL_BINFILES += $(KOBJ)/advk$(EXE)
37
-INSTALL_MANFILES += $(DOCOBJ)/advk.1
38
-endif
39
-ifneq ($(wildcard $(srcdir)/advance/j.mak),)
40
-INSTALL_DIRS += $(JOBJ)
41
-INSTALL_BINFILES += $(JOBJ)/advj$(EXE)
42
-INSTALL_MANFILES += $(DOCOBJ)/advj.1
43
-endif
44
-ifneq ($(wildcard $(srcdir)/advance/m.mak),)
45
-INSTALL_DIRS += $(MOBJ)
46
-INSTALL_BINFILES += $(MOBJ)/advm$(EXE)
47
-INSTALL_MANFILES += $(DOCOBJ)/advm.1
48
-endif
49
-endif
50
 
51
 INSTALL_DOCFILES += $(subst $(srcdir)/doc/,$(DOCOBJ)/,$(subst .d,.txt,$(wildcard $(srcdir)/doc/*.d)))
52
 INSTALL_DOCFILES += $(subst $(srcdir)/doc/,$(DOCOBJ)/,$(subst .d,.html,$(wildcard $(srcdir)/doc/*.d)))
53
@@ -288,8 +252,8 @@
54
 ############################################################################
55
 # Common install
56
 
57
-pkgdir = $(datadir)/advance
58
-pkgdocdir = $(docdir)/advance
59
+pkgdir = $(datadir)/advancemess
60
+pkgdocdir = $(docdir)/advancemess
61
 
62
 install-dirs:
63
 	-$(INSTALL_PROGRAM_DIR) $(bindir)
(-)emulators/advancemess/pkg-descr (-19 / +19 lines)
Lines 1-22 Link Here
1
AdvanceMAME and AdvanceMESS are unofficial MAME and MESS versions with an
1
AdvanceMAME and AdvanceMESS are unofficial MAME and MESS versions with
2
advanced video support for helping the use with TVs, Arcade Monitors, Fixed
2
an advanced video support for helping the use with TVs, Arcade Monitors,
3
Frequencies Monitors and also for PC Monitors.
3
Fixed Frequencies Monitors and also for PC Monitors.
4
4
5
They run in GNU/Linux, Mac OS X, DOS, Windows and in all the other platforms
5
They run in GNU/Linux, Mac OS X, DOS, Windows and in all the other
6
supported by the SDL library.
6
platforms supported by the SDL library.
7
7
8
The main difference compared with the official emulators is that the Advance
8
The main difference compared with the official emulators is that the
9
versions are able to program directly the video board to always get a video
9
Advance versions are able to program directly the video board to always
10
mode with the correct size and frequency.
10
get a video mode with the correct size and frequency.
11
11
12
Generally the Advance emulators are able to use a video mode which doesn't
12
Generally the Advance emulators are able to use a video mode which
13
require any stretching or other unneeded effects to match the original arcade
13
doesn't require any stretching or other unneeded effects to match the
14
display.
14
original arcade display.
15
15
16
The direct video board programming is fully supported in Linux and DOS. It's
16
The direct video board programming is fully supported in Linux and DOS.
17
partially supported in Windows. It isn't supported in Mac OS X and other
17
It's partially supported in Windows. It isn't supported in Mac OS X and
18
platforms.
18
other platforms.
19
19
20
See website for other improvements.
20
See website for other improvements.
21
21
22
WWW: http://advancemame.sourceforge.net/
22
WWW: http://www.advancemame.it/
(-)emulators/advancemess/pkg-message (-8 lines)
Lines 1-8 Link Here
1
==============================================================================
2
3
AdvanceMESS has been installed.
4
5
The tools included with the distribution, their manpages and documentation are
6
installed by the "games/advancemame" port to avoid conflicts.
7
8
==============================================================================
(-)emulators/advancemess/pkg-plist (-8 lines)
Lines 1-8 Link Here
1
bin/advmess
2
man/man1/advmess.1.gz
3
%%DATADIR%%/sysinfo.dat
4
@dir %%DATADIR%%/artwork
5
@dir %%DATADIR%%/crc
6
@dir %%DATADIR%%/image
7
@dir %%DATADIR%%/rom
8
@dir %%DATADIR%%/sample

Return to bug 202848