freebsd-ports/emulators/openmsx/Makefile
Rainer Hurling 0922623f3f emulators/openmsx: Update to 16.0
Changelog[1]:
- Lots of new features and fixes
- New version scheme (0.15.0 to 16.0)

[1] https://raw.githubusercontent.com/openMSX/openMSX/RELEASE_16_0/doc/release-notes.txt

Ports changes:
- Update PORTVERSION
- Remove BROKEN
- Update distinfo
- Add patches with FreeBSD gcc specific changes
- Use secure URL in pkg-descr

PR:		250399
Submitted by:	Daniel Menelkir <menelkir@itroll.org> (maintainer)
Approved by:	arrowd (mentor), tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D26825
2020-10-17 10:55:02 +00:00

55 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= openmsx
PORTVERSION= 16.0
CATEGORIES= emulators
MAINTAINER= menelkir@itroll.org
COMMENT= Open source MSX emulator
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/doc/GPL.txt
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 \
libasound.so:audio/alsa-lib
USES= gl gmake python sdl tcl
USE_GCC= yes
USE_GL= gl glew
USE_SDL= sdl2 ttf2
USE_GITHUB= yes
GH_ACCOUNT= openMSX
GH_PROJECT= openMSX
GH_TAGNAME= a46a814
BINARY_ALIAS= python3=${PYTHON_CMD}
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>