openbsd-ports/emulators/fs-uae/Makefile

55 lines
1.3 KiB
Makefile
Raw Normal View History

2012-11-23 02:09:32 -05:00
# $OpenBSD: Makefile,v 1.2 2012/11/23 07:09:32 ajacoutot Exp $
COMMENT = modern Amiga emulator
V = 2.0.1
DISTNAME = fs-uae-$V
CATEGORIES = emulators
2012-11-23 02:09:32 -05:00
REVISION = 0
HOMEPAGE = http://fengestad.no/fs-uae/
MAINTAINER = Edd Barrett <edd@openbsd.org>
# GPLv2, LGPLv2.1
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += GL GLU SDL X11 c glib-2.0 gthread-2.0 m openal png
WANTLIB += pthread stdc++ z
MASTER_SITES = ${HOMEPAGE}stable/$V/
MODULES = devel/gettext \
lang/python
LIB_DEPENDS = devel/sdl \
graphics/png \
audio/openal \
devel/glib2
2012-11-23 02:09:32 -05:00
RUN_DEPENDS = devel/desktop-file-utils \
x11/gtk+2,-guic \
x11/py-wxPython
USE_GMAKE = Yes
MAKE_FLAGS += prefix=${PREFIX}
NO_REGRESS = Yes
# Hack to prevent Python module doing it's own do-build/do-install
CONFIGURE_STYLE = not_setup_tools
post-build:
cd ${WRKSRC}/launcher && \
mkdir -p fs_uae_launcher.egg-info && \
${SETENV} ${MAKE_ENV} ${MODPY_BIN} ${MODPY_SETUP} build
post-install:
cd ${WRKSRC}/launcher && \
${SETENV} ${MAKE_ENV} ${MODPY_BIN} ${MODPY_SETUP} ${MODPY_DISTUTILS_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>