blob: 98fb698b098e679b4e2a414e3edef633fe699dd5 (
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
|
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
PORTNAME= goonies
PORTVERSION= 1.4.1528
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://braingames.jorito.net/goonies/downloads/ \
http://mirror.amdmi3.ru/distfiles/
DISTNAME= ${PORTNAME}.src_${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Remake of the 8 bit classic game 'The Goonies'
LICENSE= NONE
USES= gmake tar:tgz
USE_SDL= sdl mixer image
USE_GL= gl glu
USE_CXXSTD= c++98
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PORTDATA= *
post-patch:
@${REINPLACE_CMD} -e 's|sound/|${DATADIR}/sound/|g' \
${WRKSRC}/src/SoundManager.cpp
@${REINPLACE_CMD} -e 's|graphics/|${DATADIR}/graphics/|g; \
s|"graphics"|"${DATADIR}/graphics"|' \
${WRKSRC}/src/GLTManager.cpp ${WRKSRC}/src/TheGooniesApp.cpp
@${REINPLACE_CMD} -e 's|maps/|${DATADIR}/maps/|g' \
${WRKSRC}/src/TheGoonies.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
@cd ${WRKSRC} && ${COPYTREE_SHARE} 'graphics maps sound' ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/build/linux/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/build/linux/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications
.include <bsd.port.mk>
|