freebsd-ports/emulators/openmsx/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

48 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= openmsx
PORTVERSION= 0.15.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 \
libfreetype.so:print/freetype2
USES= gl gmake python:2.7 sdl tcl
USE_GCC= yes
USE_GL= gl glew
USE_SDL= sdl ttf
MAKEFILE= GNUmakefile
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
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
post-install-DOCS-off:
${RM} -r ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>