2013-06-14 15:19:53 +02:00
|
|
|
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
2006-09-12 22:47:56 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= goonies
|
2016-10-10 00:53:51 +02:00
|
|
|
PORTVERSION= 1.4.1528
|
2006-09-12 22:47:56 +02:00
|
|
|
CATEGORIES= games
|
2016-10-10 00:53:51 +02:00
|
|
|
MASTER_SITES= http://braingames.jorito.net/goonies/downloads/ \
|
2009-07-28 18:34:36 +02:00
|
|
|
http://mirror.amdmi3.ru/distfiles/
|
2016-10-10 00:53:51 +02:00
|
|
|
DISTNAME= ${PORTNAME}.src_${PORTVERSION}
|
2006-09-12 22:47:56 +02:00
|
|
|
|
2008-06-19 19:28:24 +02:00
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2006-09-12 22:47:56 +02:00
|
|
|
COMMENT= Remake of the 8 bit classic game 'The Goonies'
|
|
|
|
|
2016-10-10 00:53:51 +02:00
|
|
|
LICENSE= NONE
|
2015-08-19 16:10:32 +02:00
|
|
|
|
2014-07-29 21:11:51 +02:00
|
|
|
USES= gmake tar:tgz
|
2006-09-12 22:47:56 +02:00
|
|
|
USE_SDL= sdl mixer image
|
2016-10-10 00:53:51 +02:00
|
|
|
USE_GL= gl glu
|
2006-09-12 22:47:56 +02:00
|
|
|
|
2016-10-10 00:53:51 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2006-09-12 22:47:56 +02:00
|
|
|
|
2013-06-14 15:19:53 +02:00
|
|
|
PORTDATA= *
|
2006-09-12 22:47:56 +02:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|sound/|${DATADIR}/sound/|g' \
|
2016-10-10 00:53:51 +02:00
|
|
|
${WRKSRC}/src/SoundManager.cpp
|
|
|
|
@${REINPLACE_CMD} -e 's|graphics/|${DATADIR}/graphics/|g; \
|
|
|
|
s|"graphics"|"${DATADIR}/graphics"|' \
|
2006-09-12 22:47:56 +02:00
|
|
|
${WRKSRC}/src/GLTManager.cpp ${WRKSRC}/src/TheGooniesApp.cpp
|
|
|
|
@${REINPLACE_CMD} -e 's|maps/|${DATADIR}/maps/|g' \
|
|
|
|
${WRKSRC}/src/TheGoonies.cpp
|
|
|
|
|
|
|
|
do-install:
|
2016-10-10 00:53:51 +02:00
|
|
|
${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
|
2006-09-12 22:47:56 +02:00
|
|
|
|
2013-06-14 15:19:53 +02:00
|
|
|
.include <bsd.port.mk>
|