aboutsummaryrefslogtreecommitdiff
path: root/emulators/advancemame
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/advancemame')
-rw-r--r--emulators/advancemame/Makefile84
-rw-r--r--emulators/advancemame/distinfo2
-rw-r--r--emulators/advancemame/files/patch-configure13
-rw-r--r--emulators/advancemame/pkg-descr22
-rw-r--r--emulators/advancemame/pkg-plist27
5 files changed, 0 insertions, 148 deletions
diff --git a/emulators/advancemame/Makefile b/emulators/advancemame/Makefile
deleted file mode 100644
index f601035628d7..000000000000
--- a/emulators/advancemame/Makefile
+++ /dev/null
@@ -1,84 +0,0 @@
-# Created by: alepulver
-
-PORTNAME= advancemame
-PORTVERSION= 1.4
-PORTREVISION= 3
-CATEGORIES= emulators
-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_FILE= ${WRKSRC}/COPYING
-
-LIB_DEPENDS= libexpat.so:textproc/expat2
-
-USES= compiler:c11 gmake ncurses sdl
-USE_SDL= sdl
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-svgalib --disable-fb --disable-alsa --enable-oss \
- --disable-kevent
-
-CFLAGS+= -idirafter ${LOCALBASE}/include \
- -fcommon
-LDFLAGS+= -L${LOCALBASE}/lib
-MAKE_JOBS_UNSAFE= yes
-
-DOCSDIR= ${PREFIX}/share/doc/advance
-DATADIR= ${PREFIX}/share/advance
-
-PORTDOCS= *
-
-OPTIONS_DEFINE= DOCS FREETYPE SLANG
-OPTIONS_DEFINE_i386= ASM
-OPTIONS_DEFAULT= FREETYPE
-OPTIONS_DEFAULT_i386= ASM
-
-ASM_BUILD_DEPENDS= nasm:devel/nasm
-ASM_USE= GCC=yes
-ASM_CONFIGURE_ENABLE= asm
-FREETYPE_USES= pkgconfig
-FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2
-FREETYPE_CONFIGURE_ENABLE= freetype
-SLANG_LIB_DEPENDS= libslang.so:devel/libslang2
-SLANG_CONFIGURE_ENABLE= slang
-SLANG_LDFLAGS= -lncurses
-
-BINARY_ALIAS= freetype-config=true
-
-DEPRECATED= Heavily outdated and unmaintained
-EXPIRATION_DATE= 2021-10-31
-
-.include <bsd.port.options.mk>
-
-.if ${ARCH} == powerpc
-USE_GCC= yes
-.endif
-
-post-patch:
- @${REINPLACE_CMD} -e \
- 's|-lpthread|-pthread| ; \
- /prefix/s|^\(docdir\)|#\1| ; \
- /prefix/s|^\(mandir\)|#\1|' ${WRKSRC}/configure
- @${REINPLACE_CMD} -e \
- 's|@@|@| ; \
- /^INSTALL_PROGRAM /s|=.*|= @INSTALL_PROGRAM@| ; \
- /^INSTALL_MAN /s|=.*|= @INSTALL_MAN@| ; \
- /^INSTALL_DATA /s|=.*|= @INSTALL_DATA@|' ${WRKSRC}/Makefile.in
- @${REINPLACE_CMD} -e \
- '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
-
-post-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- (cd ${WRKSRC} && ${INSTALL_DATA} HISTORY README RELEASE \
- ${STAGEDIR}${DOCSDIR})
-
-.include <bsd.port.mk>
diff --git a/emulators/advancemame/distinfo b/emulators/advancemame/distinfo
deleted file mode 100644
index 9215928d384c..000000000000
--- a/emulators/advancemame/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (advancemame-1.4.tar.gz) = 525e0897cd41fe8d3ef563e59592da740ebe005eda0948515dca410d01624bcc
-SIZE (advancemame-1.4.tar.gz) = 18463736
diff --git a/emulators/advancemame/files/patch-configure b/emulators/advancemame/files/patch-configure
deleted file mode 100644
index 2cc0f8539583..000000000000
--- a/emulators/advancemame/files/patch-configure
+++ /dev/null
@@ -1,13 +0,0 @@
---- configure.orig 2021-08-06 10:56:54 UTC
-+++ configure
-@@ -8359,8 +8359,8 @@ done
- else
- ac_save_CFLAGS="$CFLAGS"
- ac_save_LIBS="$LIBS"
-- FREETYPECFLAGS=`$ac_lib_freetype_config $ac_lib_freetype_args --cflags`
-- FREETYPELIBS=`$ac_lib_freetype_config $ac_lib_freetype_args --libs`
-+ FREETYPECFLAGS=`pkg-config freetype2 --cflags`
-+ FREETYPELIBS=`pkg-config freetype2 --libs`
- CFLAGS="$FREETYPECFLAGS $CFLAGS"
- LIBS="$FREETYPELIBS $LIBS"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FreeType2" >&5
diff --git a/emulators/advancemame/pkg-descr b/emulators/advancemame/pkg-descr
deleted file mode 100644
index 2f1504637c14..000000000000
--- a/emulators/advancemame/pkg-descr
+++ /dev/null
@@ -1,22 +0,0 @@
-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://www.advancemame.it/
diff --git a/emulators/advancemame/pkg-plist b/emulators/advancemame/pkg-plist
deleted file mode 100644
index 9dcd1d622e71..000000000000
--- a/emulators/advancemame/pkg-plist
+++ /dev/null
@@ -1,27 +0,0 @@
-bin/advj
-bin/advk
-bin/advm
-bin/advmame
-bin/advs
-man/man1/advdev.1.gz
-man/man1/advj.1.gz
-man/man1/advk.1.gz
-man/man1/advm.1.gz
-man/man1/advmame.1.gz
-man/man1/advs.1.gz
-%%DATADIR%%/event.dat
-%%DATADIR%%/hiscore.dat
-%%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