aboutsummaryrefslogtreecommitdiff
path: root/games/fishsupper/Makefile
blob: ceed43d60b65c0dfd9eb9b2e94ce756c6d335d01 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
PORTNAME=	fishsupper
PORTVERSION=	0.1.6
PORTREVISION=	21
CATEGORIES=	games
MASTER_SITES=	https://mirror.amdmi3.ru/distfiles/

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	Guide a cat across a series of rivers, jumping from log to log
WWW=		https://sourceforge.net/projects/fishsupper/

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	${LOCALBASE}/include/boost/bind.hpp:devel/boost-libs

BROKEN_FreeBSD_12_powerpc64=	fails to compile: Log.h: expected initializer before '<' token

GNU_CONFIGURE=	yes
USES=		gl gmake localbase:ldflags sdl
USE_SDL=	sdl image mixer
USE_GL=		gl
USE_CXXSTD=	c++98

PLIST_FILES=	bin/${PORTNAME}
PORTDOCS=	*
PORTDATA=	*

DESKTOP_ENTRIES="Fish Supper" \
		"Guide a cat across a series of rivers, jumping from log to log" \
		"${DATADIR}/images/fs_image_30.png" \
		"fishsupper" \
		"Game;ArcadeGame;" \
		false

OPTIONS_DEFINE=	DOCS

post-patch:
	@${REINPLACE_CMD} -e 's|std::tr1::shared_ptr|std::shared_ptr|g' ${WRKSRC}/src/*.h ${WRKSRC}/src/*.cpp
	@${REINPLACE_CMD} -e '/tr1\/memory/ d' ${WRKSRC}/src/*.h ${WRKSRC}/src/*.cpp

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>