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
|
2011-03-13 20:52:04 +01:00
|
|
|
DISTVERSION= 0.8.1
|
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 \
|
|
|
|
jack:${PORTSDIR}/audio/jack \
|
|
|
|
png:${PORTSDIR}/graphics/png
|
|
|
|
|
|
|
|
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
|
2009-07-03 11:00:27 +02:00
|
|
|
USE_TCL= 84+
|
2009-01-10 21:53:53 +01:00
|
|
|
USE_SDL= sdl image 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
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|