mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
47 lines
964 B
Makefile
47 lines
964 B
Makefile
COMMENT = emulator for Nintendo Entertainment System
|
|
|
|
CATEGORIES = emulators games
|
|
|
|
HOMEPAGE = https://fceux.com/web/home.html
|
|
|
|
GH_ACCOUNT = TASEmulators
|
|
GH_PROJECT = fceux
|
|
GH_TAGNAME = v2.6.6
|
|
REVISION = 0
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} ${MODLUA_WANTLIB}
|
|
WANTLIB += archive avcodec avformat avutil GL GLU Qt5Core
|
|
WANTLIB += Qt5Gui Qt5OpenGL Qt5Widgets SDL2
|
|
WANTLIB += swresample swscale c m minizip x264 x265 z
|
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
RUN_DEPENDS = devel/desktop-file-utils
|
|
LIB_DEPENDS = archivers/libarchive \
|
|
archivers/minizip \
|
|
devel/sdl2 \
|
|
graphics/ffmpeg \
|
|
multimedia/x264
|
|
|
|
MODULES = devel/cmake \
|
|
lang/lua \
|
|
x11/qt5
|
|
|
|
NO_TEST = Yes
|
|
|
|
SUBST_VARS += HOMEPAGE V
|
|
|
|
post-extract:
|
|
chmod +x ${WRKSRC}/scripts/genGitHdr.sh
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKDIST}/fceux.desktop ${WRKDIST}/scripts/genGitHdr.sh
|
|
|
|
post-install:
|
|
rm ${PREFIX}/man/man6/fceux-net-server.6
|
|
|
|
.include <bsd.port.mk>
|