openbsd-ports/games/easyrpg/Makefile
bcallah be6ee9c43e Fully remove the git block to prevent clone from running. We don't need it
because we're using tarballed releases.
Point WRKSRC to the directory where cmake build scripts reside. Removes the
need for the do-configure routine, which was awkward.
Bump REVISION.
Pointed out by and ok sthen@
2013-04-27 23:52:25 +00:00

48 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.3 2013/04/27 23:52:25 bcallah Exp $
V = 0.1.1
COMMENT = free interpreter for RPG Maker 2000/2003 and EasyRPG games
DISTFILES = EasyRPG_Player-${V}-src.zip \
EasyRPG_Readers-${V}-src.zip
PKGNAME = easyrpg-${V}
REVISION = 0
CATEGORIES = games x11
HOMEPAGE = https://easy-rpg.org/
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
# GPLv3+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += FLAC SDL SDL_mixer boost_chrono-mt boost_system-mt boost_thread-mt
WANTLIB += c expat freetype iconv jpeg m ogg openal pixman-1 png pthread
WANTLIB += sndfile stdc++ vorbis vorbisenc z ${MODLUA_WANTLIB}
MASTER_SITES = https://easy-rpg.org/downloads/player/
MODULES += devel/cmake \
lang/lua \
lang/ruby
LIB_DEPENDS = audio/libsndfile \
audio/openal \
devel/boost \
devel/sdl-mixer \
graphics/jpeg \
graphics/png
# Sadly, this is needed for midi playback.
RUN_DEPENDS = audio/timidity
# make test seems bogus, disabling it.
NO_TEST = Yes
WRKDIST = ${WRKDIR}/Player-${V}
WRKSRC = ${WRKDIST}/builds/cmake
post-extract:
mv ${WRKDIR}/Readers-${V} ${WRKDIST}/lib/readers
.include <bsd.port.mk>