2004-08-02 01:17:59 +02:00
|
|
|
# New ports collection makefile for: raine
|
|
|
|
# Date created: Jul 22 2004
|
|
|
|
# Whom: Florent Thoumie <flz@xbsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= raine
|
2006-06-20 13:36:20 +02:00
|
|
|
PORTVERSION= 0.43.3
|
2008-04-08 16:51:12 +02:00
|
|
|
PORTREVISION= 6
|
2004-08-02 01:17:59 +02:00
|
|
|
CATEGORIES= emulators games
|
|
|
|
MASTER_SITES= http://www.rainemu.com/html/archive/
|
|
|
|
DISTNAME= ${PORTNAME}s-${PORTVERSION}
|
|
|
|
|
2005-03-01 13:28:00 +01:00
|
|
|
MAINTAINER= flz@FreeBSD.org
|
2004-08-02 01:17:59 +02:00
|
|
|
COMMENT= Arcade Emulator for M68000, M68020 and Z80 based hardware
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/nasm:${PORTSDIR}/devel/nasm
|
2005-11-23 00:30:30 +01:00
|
|
|
LIB_DEPENDS= alleg.42:${PORTSDIR}/devel/allegro \
|
2008-04-08 16:51:12 +02:00
|
|
|
png.5:${PORTSDIR}/graphics/png \
|
|
|
|
vga.1:${PORTSDIR}/graphics/svgalib
|
2004-08-02 01:17:59 +02:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_SDL= sdl
|
2005-11-17 19:03:14 +01:00
|
|
|
USE_GNOME= gnomehier
|
2004-08-02 01:17:59 +02:00
|
|
|
MAKEFILE= makefile
|
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
2004-08-16 02:51:30 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-08-02 01:17:59 +02:00
|
|
|
post-patch:
|
2005-11-17 19:03:14 +01:00
|
|
|
@${REINPLACE_CMD} -e "s, [$$]_mcpu,,g" ${WRKSRC}/detect-cpu
|
2007-10-25 01:37:25 +02:00
|
|
|
@${REINPLACE_CMD} -e "s,sdl-config,${SDL_CONFIG},g" -e "s,/usr/share/,/share/,g" \
|
2005-11-17 19:03:14 +01:00
|
|
|
${WRKSRC}/makefile
|
|
|
|
@${REINPLACE_CMD} -e "s,/usr/share/games/raine,${DATADIR},g" \
|
|
|
|
${WRKSRC}/source/raine.c
|
|
|
|
@${REINPLACE_CMD} -e "s,^#ifdef GFX_SVGA,#ifdef GFX_SVGALIB,g" \
|
|
|
|
${WRKSRC}/source/gui/rgui.c \
|
|
|
|
${WRKSRC}/source/alleg/display.c \
|
|
|
|
${WRKSRC}/source/config.c
|
2004-08-02 01:17:59 +02:00
|
|
|
|
2004-08-16 02:51:30 +02:00
|
|
|
.include <bsd.port.post.mk>
|