ea8c8ec7da
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
59 lines
1.7 KiB
Makefile
59 lines
1.7 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
|
|
|
|
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}"
|
|
LLD_UNSAFE= yes
|
|
|
|
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>
|