1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/games/goonies/Makefile
Martin Wilke d64dc6434d Welcome to the Brain Games remake of the 8 bit classic game 'The
Goonies'. This game was made by Konami in 1986. There were both a
NES version and an MSX version of the game; this remake is based
on the MSX version.

This remake was made for the 2006 competition organized by Retro
Remakes. After having participated in 2003 (with Road Fighter, which
finished on the 7th place out of 83 entries), and in 2004 (with F-1
Spirit, gaining the 13th place amongst the 73 contestants), we
decided to give another go at the first prize! And, who knows....

WWW: http://goonies.jorito.net/

PR:		ports/102959
Submitted by:	Dmitry Marakasov <amdmi3(at)mail.ru>
2006-09-12 20:47:56 +00:00

51 lines
1.3 KiB
Makefile

# New ports collection makefile for: goonies
# Date created: 07 Sep 2006
# Whom: Dmitry Marakasov <amdmi3@mail.ru>
#
# $FreeBSD$
#
PORTNAME= goonies
PORTVERSION= 1.0.1
CATEGORIES= games
MASTER_SITES= http://goonies.jorito.net/download/
DISTNAME= ${PORTNAME}_r${PORTVERSION:C/\./-/g}
EXTRACT_SUFX= .tgz
MAINTAINER= amdmi3@mail.ru
COMMENT= Remake of the 8 bit classic game 'The Goonies'
USE_GMAKE= yes
USE_SDL= sdl mixer image
USE_GL= yes
BUILD_WRKSRC= ${WRKSRC}/src
MAKEFILE= ../build/linux/Makefile
MAKE_ENV= DATADIR="${DATADIR}"
DATADIRS= sound graphics maps
PORTDOCS= *
post-patch:
@${REINPLACE_CMD} -e 's|__APPLE__|__FreeBSD__|' \
${WRKSRC}/src/SFXManager.cpp
@${REINPLACE_CMD} -e 's|sound/|${DATADIR}/sound/|g' \
${WRKSRC}/src/SFXManager.cpp
@${REINPLACE_CMD} -e 's|graphics/|${DATADIR}/graphics/|g' \
${WRKSRC}/src/GLTManager.cpp ${WRKSRC}/src/TheGooniesApp.cpp
@${REINPLACE_CMD} -e 's|maps/|${DATADIR}/maps/|g' \
${WRKSRC}/src/TheGoonies.cpp
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/goonies ${PREFIX}/bin
cd ${WRKSRC} && \
${FIND} ${DATADIRS} -type d -exec ${MKDIR} ${DATADIR}/{} \; ;\
${FIND} ${DATADIRS} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}/
.endif
.include <bsd.port.mk>