openbsd-ports/games/frogatto/Makefile
ajacoutot ceb779450c Import frogatto-1.0.3
Frogatto is an open-source "platformer" or "jump-and-run" videogame.
Like in many classic games, the world is viewed as a cross-section seen
from the side, and your character (in this case, a small green fellow
named Frogatto) walks and jumps between solid platforms, whilst
avoiding monsters.

Based on the frogatto FreeBSD port.

ok sthen@
2010-09-23 11:30:55 +00:00

55 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2010/09/23 11:30:55 ajacoutot Exp $
ONLY_FOR_ARCHS= ${GCC4_ARCHS}
COMMENT= 2D adventure platformer game
DISTNAME= frogatto-1.0.3
EXTRACT_SUFX= .tar.bz2
CATEGORIES= games
HOMEPAGE= http://www.frogatto.com/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv3 + see share/frogatto/LICENSE
PERMIT_PACKAGE_CDROM= may not charge
PERMIT_PACKAGE_FTP= may not modify
PERMIT_DISTFILES_CDROM= may not charge
PERMIT_DISTFILES_FTP= Yes
WANTLIB += GL GLU X11 c m pthread stdc++ GLEW SDL SDL_image SDL_mixer
WANTLIB += SDL_ttf boost_iostreams-mt boost_regex-mt boost_system-mt
WANTLIB += boost_thread-mt png
MASTER_SITES= ${HOMEPAGE}files/
LIB_DEPENDS= ::devel/sdl-image \
::devel/sdl-mixer \
::devel/sdl-ttf \
::graphics/glew \
::devel/boost
NO_REGRESS= Yes
USE_GMAKE= Yes
ALL_TARGET= game server
SUBST_VARS= CXX CFLAGS CXXFLAGS
pre-configure:
${SUBST_CMD} ${WRKSRC}/Makefile \
${WRKSRC}/src/sound.cpp \
${WRKSRC}/src/filesystem.cpp
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/game ${PREFIX}/bin/frogatto
${INSTALL_PROGRAM} ${WRKBUILD}/server ${PREFIX}/bin/frogatto-server
${INSTALL_DATA_DIR} ${PREFIX}/share/frogatto
${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/frogatto
.for i in data images music sounds
cp -R ${WRKSRC}/${i} ${PREFIX}/share/frogatto
.endfor
.include <bsd.port.mk>