51 lines
1.1 KiB
Makefile
Raw Normal View History

2016-09-12 22:44:08 +00:00
# $OpenBSD: Makefile,v 1.13 2016/09/12 22:44:08 naddy Exp $
V = 0.1.2
COMMENT = free interpreter for RPG Maker 2000/2003 and EasyRPG games
DISTFILES = easyrpg-player-{}${V}.tar.gz:0 \
easyrpg-readers-${V}.tar.gz:1
PKGNAME = easyrpg-${V}
CATEGORIES = games x11
REVISION = 0
HOMEPAGE = https://easy-rpg.org/
# GPLv3+
PERMIT_PACKAGE_CDROM = Yes
2016-09-12 22:44:08 +00:00
WANTLIB += FLAC SDL SDL_mixer c expat freetype iconv jpeg m ogg openal
WANTLIB += pixman-1 png pthread sndfile stdc++ vorbis vorbisenc z
MASTER_SITES0 = https://github.com/EasyRPG/Player/archive/
MASTER_SITES1 = http://mirrors.nycbug.org/pub/distfiles/
2016-09-12 22:44:08 +00:00
MODULES += devel/cmake \
lang/python \
lang/ruby
# iconv is deprecated with ruby>1.8
MODRUBY_REV = 1.8
BUILD_DEPENDS = devel/boost \
lang/ruby/1.8,-iconv
LIB_DEPENDS = audio/libsndfile \
audio/openal \
2016-09-12 22:44:08 +00:00
converters/libiconv \
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}
post-extract:
mv ${WRKDIR}/Readers-${V} ${WRKDIST}/lib/readers
.include <bsd.port.mk>