blob: 71f1372966804237170f08ff4d381a7c5f40a26b (
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
46
47
48
49
50
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= lander
PORTVERSION= 0.6.6
PORTREVISION= 19
CATEGORIES= games
MASTER_SITES= http://www.nickg.me.uk/files/ \
http://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Lunar Lander clone
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_powerpc64= fails to configure: error: Could not link against boost_filesystem-boost_filesystem
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libboost_filesystem.so:devel/boost-libs \
libpng.so:graphics/png
GNU_CONFIGURE= yes
USES= compiler:c++11-lib gettext gl localbase pkgconfig sdl
USE_SDL= sdl image mixer
USE_GL= gl glu
CONFIGURE_ARGS= --with-boost="${LOCALBASE}" \
--with-boost-filesystem=boost_filesystem
PORTDOCS= *
PORTDATA= *
DESKTOP_ENTRIES="Lunar Lander" \
"Lunar Lander clone" \
"${DATADIR}/images/ship.png" \
"lander" \
"Game;ArcadeGame;" \
false
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|-R$$found_dir||g' ${WRKSRC}/configure
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
|