mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
70a8fe7019
PR: 195815 The game follows Naija, a mermaid-like woman, as she explores the underwater world of Aquaria. Along her journey, she learns about both the history of the world and her own past. The gameplay focuses on a combination of swimming, singing and combat, through which Naija can interact with the world. Naija's songs can move items, affect plants and animals, and change her physical appearance into other forms. These forms have different abilities, such as firing projectiles at hostile creatures or passing through barriers inaccessible to her in her natural form. -- Wikipedia This package provides only game engine. Proprietary game data files have to be obtained separately. https://github.com/AquariaOSE/Aquaria
65 lines
1.7 KiB
Makefile
65 lines
1.7 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= aquaria
|
|
PORTVERSION= 1.002
|
|
DISTVERSIONPREFIX= OSE-v
|
|
CATEGORIES= games
|
|
|
|
MAINTAINER= jbeich@FreeBSD.org
|
|
COMMENT= Underwater 2D fantasy action-adventure (game engine)
|
|
|
|
LICENSE= GPLv2 # or any later version
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/glm/glm.hpp:${PORTSDIR}/math/glm
|
|
LIB_DEPENDS= libvorbisfile.so:${PORTSDIR}/audio/libvorbis \
|
|
libftgl.so:${PORTSDIR}/graphics/ftgl \
|
|
libpng.so:${PORTSDIR}/graphics/png \
|
|
libtinyxml2.so:${PORTSDIR}/textproc/tinyxml2
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= AquariaOSE
|
|
GH_PROJECT= Aquaria
|
|
|
|
USES= cmake lua:51 ninja openal pkgconfig
|
|
EXCLUDE= AL FTGL GL SDL* freetype2 glm glpng/png glpng/zlib \
|
|
libogg-* libvorbis-* lua-* tinyxml2*
|
|
EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ExternalLibs/,}
|
|
CMAKE_ARGS+= -DAQUARIA_DEFAULT_DATA_DIR="${DATADIR}" \
|
|
-DAQUARIA_INTERNAL_FREETYPE=off \
|
|
-DAQUARIA_INTERNAL_FTGL=off \
|
|
-DAQUARIA_INTERNAL_LUA=off \
|
|
-DAQUARIA_INTERNAL_OGGVORBIS=off \
|
|
-DAQUARIA_INTERNAL_OPENAL=off \
|
|
-DAQUARIA_INTERNAL_PNG=off \
|
|
-DAQUARIA_INTERNAL_SDL=off \
|
|
-DAQUARIA_INTERNAL_TINYXML2=off \
|
|
-DAQUARIA_INTERNAL_ZLIB=off
|
|
LDFLAGS+= -Wl,--as-needed # avoid overlinking (vorbis deps)
|
|
SUB_FILES= pkg-message
|
|
PLIST_FILES= bin/aquaria
|
|
PORTDATA= *
|
|
|
|
DESKTOP_ENTRIES="${GH_PROJECT}" \
|
|
"" \
|
|
"${DATADIR}/${PORTNAME}.png" \
|
|
"${PORTNAME}" \
|
|
"Game;ArcadeGame;" \
|
|
""
|
|
|
|
OPTIONS_DEFINE= DEBUG SDL2
|
|
OPTIONS_DEFAULT=SDL2
|
|
|
|
SDL2_DESC= Use SDL 2.x instead of SDL 1.2.x
|
|
SDL2_CMAKE_ON= -DAQUARIA_USE_SDL2=on
|
|
SDL2_USE= SDL=sdl2
|
|
SDL2_USE_OFF= SDL=sdl
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
.for d in game_scripts files
|
|
(cd ${WRKSRC}/${d} && ${COPYTREE_SHARE} \
|
|
"." ${STAGEDIR}${DATADIR}/override)
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|