1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/games/pingus/Makefile
Niclas Zeising 0fae2e9e0e Change x11/xorgproto to become a build dep
Change x11/xorgproto to become a build time dependency when added to
USE_XORG.  Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.

PR:		230909
Reviewed by:	eadler
Approved by:	portmgr (antoine)
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D16906
2018-09-11 18:34:27 +00:00

49 lines
1.2 KiB
Makefile

# Created by: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$
PORTNAME= pingus
PORTVERSION= 0.7.6
PORTREVISION= 15
CATEGORIES= games
MASTER_SITES= http://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Free Lemmings-like game
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png \
libboost_signals.so:devel/boost-libs
USES= compiler:c++11-lib 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>