1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/games/astromenace/Makefile
Mark Linimon afecaa33f3 Mark as broken on powerpc64.
Approved by:	portmgr (tier-2 blanket)
2020-05-18 00:23:45 +00:00

62 lines
1.8 KiB
Makefile

# Created by: Oleg Alexeenkov
# $FreeBSD$
PORTNAME= astromenace
PORTVERSION= 1.4.1
PORTREVISION= 2
DISTVERSIONPREFIX= v
CATEGORIES= games
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Hardcore 3D space shooter with spaceship upgrade possibilities
LICENSE= GPLv3+ CC-BY-SA-4.0 OFL11
LICENSE_COMB= multi
LICENSE_FILE_GPLv3+ = ${WRKSRC}/licenses/GPL-3.0.txt
LICENSE_FILE_CC-BY-SA-4.0=${WRKSRC}/licenses/CC-BY-SA-4.0.txt
LICENSE_FILE_OFL11= ${WRKSRC}/licenses/OFL-1.1.txt
BROKEN_powerpc64= fails to build: gamedata/models/models.pack: vw_CreateVFS(): VFS compilation process aborted!
LIB_DEPENDS= libogg.so:audio/libogg \
libvorbis.so:audio/libvorbis \
libvorbisfile.so:audio/libvorbis \
libfreetype.so:print/freetype2
USE_GITHUB= yes
GH_ACCOUNT= viewizard
USES= cmake compiler:c++11-lib dos2unix gl openal:al,alut sdl
DOS2UNIX_FILES= CMakeLists.txt src/config/config.cpp
USE_GL= gl glu
USE_SDL= sdl2
CMAKE_ARGS= -DDATADIR="${DATADIR}"
LDFLAGS_i386= -Wl,-znotext
PORTDATA= *
PORTDOCS= *
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${BUILD_WRKSRC}/gamedata.vfs ${STAGEDIR}${DATADIR}/
.for s in 64 128
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/
${INSTALL_DATA} ${WRKSRC}/share/${PORTNAME}_${s}.png \
${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/${PORTNAME}.png
.endfor
${INSTALL_DATA} ${WRKSRC}/share/${PORTNAME}.desktop \
${STAGEDIR}${PREFIX}/share/applications/
@${MKDIR} ${STAGEDIR}${PREFIX}/share/appdata/
${INSTALL_DATA} ${WRKSRC}/share/${PORTNAME}.appdata.xml \
${STAGEDIR}${PREFIX}/share/appdata/
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/CHANGELOG.md ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>