2006-01-26 13:19:17 +01:00
|
|
|
# New ports collection makefile for: openmsx
|
|
|
|
# Date created: 20 January 2006
|
|
|
|
# Whom: Johan van Selst <johans@stack.nl>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= openmsx
|
2012-01-30 22:36:18 +01:00
|
|
|
PORTVERSION= 0.8.2
|
2012-07-19 22:15:37 +02:00
|
|
|
PORTREVISION= 3
|
2006-01-26 13:19:17 +01:00
|
|
|
CATEGORIES= emulators
|
2009-08-22 02:20:34 +02:00
|
|
|
MASTER_SITES= SF
|
2006-01-26 13:19:17 +01:00
|
|
|
|
2010-02-23 19:03:45 +01:00
|
|
|
MAINTAINER= johans@FreeBSD.org
|
2006-01-26 13:19:17 +01:00
|
|
|
COMMENT= Open source MSX emulator
|
|
|
|
|
|
|
|
LIB_DEPENDS= xml2:${PORTSDIR}/textproc/libxml2 \
|
2012-06-01 07:26:28 +02:00
|
|
|
png15:${PORTSDIR}/graphics/png \
|
2011-03-13 23:44:26 +01:00
|
|
|
ogg:${PORTSDIR}/audio/libogg \
|
|
|
|
vorbis:${PORTSDIR}/audio/libvorbis \
|
|
|
|
theora:${PORTSDIR}/multimedia/libtheora
|
2006-01-26 13:19:17 +01:00
|
|
|
|
|
|
|
MAKE_ARGS+= INSTALL_BINARY_DIR=${PREFIX}/bin \
|
|
|
|
INSTALL_SHARE_DIR=${DATADIR} \
|
|
|
|
INSTALL_DOC_DIR=${DOCSDIR} \
|
|
|
|
OPENMSX_CXX=${CXX}
|
|
|
|
|
|
|
|
MAKEFILE= GNUmakefile
|
2010-04-27 23:58:27 +02:00
|
|
|
USE_GL= glew
|
2006-01-26 13:19:17 +01:00
|
|
|
USE_GMAKE= yes
|
2011-03-13 23:44:26 +01:00
|
|
|
USE_TCL= 85+
|
|
|
|
USE_SDL= sdl ttf
|
2009-07-03 11:00:27 +02:00
|
|
|
USE_PYTHON= 2.5+
|
2006-01-26 13:19:17 +01:00
|
|
|
|
|
|
|
.ifdef(NOPORTDOCS)
|
|
|
|
# Use dummy target rather than rewriting makefile
|
|
|
|
MAKE_ARGS+= INSTALL_DOC_DIR=${WRKSRC}/dummy
|
|
|
|
.endif
|
|
|
|
|
2009-06-07 16:22:53 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/^SYMLINK_FOR_BINARY/s/true/false/' \
|
|
|
|
${WRKSRC}/build/custom.mk
|
|
|
|
|
2009-01-12 20:32:05 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if (${ARCH} == "amd64")
|
|
|
|
USE_GCC= 4.2+
|
|
|
|
.endif
|
|
|
|
|
2011-11-11 03:27:57 +01:00
|
|
|
.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
|
|
|
|
BROKEN= Does not compile on ia64, powerpc, or sparc64: uses i386-specific asm
|
|
|
|
.endif
|
|
|
|
|
2009-01-12 20:32:05 +01:00
|
|
|
.include <bsd.port.post.mk>
|