defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. 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, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
# Created by: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pingus
|
|
PORTVERSION= 0.7.6
|
|
PORTREVISION= 18
|
|
CATEGORIES= games
|
|
MASTER_SITES= https://mirror.amdmi3.ru/distfiles/
|
|
|
|
PATCH_SITES= https://gitlab.com/${PORTNAME}/${PORTNAME}/commit/ \
|
|
https://mirror.amdmi3.ru/distfiles/
|
|
PATCHFILES= fef8cf6512fa.patch:-p1
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Free Lemmings-like game
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/boost/signals2.hpp:devel/boost-libs
|
|
LIB_DEPENDS= libpng.so:graphics/png
|
|
|
|
USES= compiler:c++11-lib gl iconv scons tar:bzip2
|
|
USE_GL= gl
|
|
USE_SDL= sdl image mixer
|
|
LIBS+= ${ICONV_LIB}
|
|
MAKE_ARGS= LIBS="${LIBS}"
|
|
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
share/pixmaps/${PORTNAME}.png
|
|
PORTDATA= *
|
|
|
|
DESKTOP_ENTRIES="Pingus" \
|
|
"" \
|
|
"${PORTNAME}" \
|
|
"${PORTNAME}" \
|
|
"Game;LogicGame;" \
|
|
false
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/g_path_manager.set_path("data")/ s|data|${DATADIR}|g' \
|
|
${WRKSRC}/src/pingus/pingus_main.cpp
|
|
@${REINPLACE_CMD} -e '/CheckLib.*iconv/ d' ${WRKSRC}/SConscript
|
|
|
|
do-install:
|
|
(cd ${WRKSRC}/data && \
|
|
${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
|
|
${INSTALL_PROGRAM} ${WRKSRC}/build/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/data/images/icons/pingus-icon.png \
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
|
|
|
|
.include <bsd.port.mk>
|