edd 4c5e2ad295 Update to fs-uae-2.4.0.
Joystick and hardfile support tested.

Note that the launcher has moved out of the main fs-uae source tree. A
commit adding the launcher as a new port will follow.

OK bcallah@
2014-03-15 13:04:15 +00:00

46 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.15 2014/03/15 13:04:15 edd Exp $
BROKEN-powerpc = error: invalid 'asm': invalid %k value
BROKEN-alpha = error: invalid 'asm': invalid %xn code
BROKEN-sparc64 = error: invalid 'asm': invalid operand output code
COMMENT = modern Amiga emulator
V = 2.4.0
MODPY_EGG_VERSION = ${V}
DISTNAME = fs-uae-$V
CATEGORIES = emulators
HOMEPAGE = http://fengestad.no/fs-uae/
MAINTAINER = Edd Barrett <edd@openbsd.org>
# GPLv2, LGPLv2.1
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += GL GLU SDL X11 c freetype glib-2.0 gthread-2.0 m openal png
WANTLIB += pthread stdc++ z
MASTER_SITES = ${HOMEPAGE}stable/$V/
MODULES = devel/gettext
LIB_DEPENDS = devel/sdl \
graphics/png \
audio/openal \
devel/glib2
RUN_DEPENDS = devel/desktop-file-utils \
x11/gtk+2,-guic
USE_GMAKE = Yes
MAKE_FLAGS += prefix=${PREFIX} CXXFLAGS="${CXXFLAGS}"
MAKE_FLAGS += CFLAGS="${CFLAGS}" CXX="${CXX}"
NO_TEST = Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/fs-uae
mv ${PREFIX}/share/doc/fs-uae/example.conf \
${PREFIX}/share/examples/fs-uae/fs-uae.conf
${SUBST_CMD} ${PREFIX}/share/examples/fs-uae/fs-uae.conf
.include <bsd.port.mk>