1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/games/pingus/Makefile
Kevin Bowling da3162c7c9 graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30824
2021-06-22 11:53:08 -07:00

48 lines
1.2 KiB
Makefile

# Created by: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
PORTNAME= pingus
PORTVERSION= 0.7.6
PORTREVISION= 23
CATEGORIES= games
MASTER_SITES= https://mirror.amdmi3.ru/distfiles/
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 sdl tar:bzip2 xorg
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>