blob: ce3040358d6afa7bce9f7405c64dd80d30fe392e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
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>
|