1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/emulators/openmsx/Makefile
Gerald Pfeifer 89f8b05214 Bump PORTREVISIONS for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.
2016-11-20 09:38:08 +00:00

48 lines
1.0 KiB
Makefile

# $FreeBSD$
PORTNAME= openmsx
PORTVERSION= 0.13.0
PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= https://github.com/openMSX/openMSX/releases/download/RELEASE_${PORTVERSION:S/./_/g}/
MAINTAINER= johans@FreeBSD.org
COMMENT= Open source MSX emulator
LICENSE= GPLv2
LIB_DEPENDS= libpng.so:graphics/png \
libogg.so:audio/libogg \
libvorbis.so:audio/libvorbis \
libtheora.so:multimedia/libtheora \
libao.so:audio/libao
MAKEFILE= GNUmakefile
USES= gmake python tcl
USE_GCC= yes
USE_GL= glew
USE_SDL= sdl ttf
MAKE_ARGS= INSTALL_BINARY_DIR=${PREFIX}/bin \
INSTALL_SHARE_DIR=${DATADIR} \
INSTALL_DOC_DIR=${DOCSDIR} \
OPENMSX_CXX=${CXX} \
CXXFLAGS="${CXXFLAGS}"
PLIST_FILES= bin/openmsx
PORTDATA= *
PORTDOCS= *
OPTIONS_DEFINE= DOCS
# Use dummy target rather than rewriting makefile
DOCS_MAKE_ARGS_OFF= INSTALL_DOC_DIR=${WRKSRC}/dummy
post-patch:
@${REINPLACE_CMD} -e 's/{TCL_LIB_SPEC}/& $${TCL_LD_FLAGS}/' \
${WRKSRC}/build/libraries.py
@${REINPLACE_CMD} -e '/^SYMLINK_FOR_BINARY/s/true/false/' \
${WRKSRC}/build/custom.mk
.include <bsd.port.mk>