mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
e375bed4fb
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/
59 lines
1.2 KiB
Makefile
59 lines
1.2 KiB
Makefile
# New ports collection makefile for: advancemess
|
|
# Date created: 2007-01-10
|
|
# Whom: alepulver
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= advancemess
|
|
PORTVERSION= 0.102.0.1
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= SF
|
|
MASTER_SITE_SUBDIR= advancemame
|
|
|
|
MAINTAINER= alepulver@FreeBSD.org
|
|
COMMENT= SDL MESS port with advanced TV and monitor video support
|
|
|
|
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
|
|
|
|
USE_GL= yes
|
|
USE_GMAKE= yes
|
|
USE_SDL= sdl
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ENV= CFLAGS="${CFLAGS} -idirafter ${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
OPTIONS= FREETYPE "Enable FreeType2 support" off \
|
|
SLANG "Enable sLang support (for video driver)" off
|
|
|
|
MAN1= advmess.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "i386"
|
|
BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm
|
|
.endif
|
|
|
|
.if defined(WITH_FREETYPE)
|
|
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-freetype
|
|
.endif
|
|
|
|
.if defined(WITH_SLANG)
|
|
LIB_DEPENDS+= slang.2:${PORTSDIR}/devel/libslang2
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-slang
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/pkgdocdir/d' ${WRKSRC}/advance/advance.mak
|
|
|
|
post-install:
|
|
@${ECHO_CMD}
|
|
@${CAT} ${PKGMESSAGE}
|
|
@${ECHO_CMD}
|
|
|
|
.include <bsd.port.post.mk>
|