mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
313dd0e205
Minor fix required in emulators/o2em. Remove allegrogl, which is broken and included in allegro-4.4 anyway. Update allegro-devel to 5.0.7 [1] PR: ports/172981 [1] Submitted by: nemysis <nemysis@gmx.ch> [1]
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# New ports collection makefile for: raine
|
|
# Date created: Jul 22 2004
|
|
# Whom: Florent Thoumie <flz@xbsd.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= raine
|
|
PORTVERSION= 0.43.3
|
|
PORTREVISION= 9
|
|
CATEGORIES= emulators games
|
|
MASTER_SITES= http://www.rainemu.com/html/archive/
|
|
DISTNAME= ${PORTNAME}s-${PORTVERSION}
|
|
|
|
MAINTAINER= flz@FreeBSD.org
|
|
COMMENT= Arcade Emulator for M68000, M68020, and Z80 based hardware
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/nasm:${PORTSDIR}/devel/nasm
|
|
LIB_DEPENDS= alleg:${PORTSDIR}/devel/allegro \
|
|
png15:${PORTSDIR}/graphics/png \
|
|
vga.1:${PORTSDIR}/graphics/svgalib
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
USE_SDL= sdl
|
|
USE_GNOME= gnomehier
|
|
MAKEFILE= makefile
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s, [$$]_mcpu,,g" ${WRKSRC}/detect-cpu
|
|
@${REINPLACE_CMD} -e "s,sdl-config,${SDL_CONFIG},g" -e "s,/usr/share/,/share/,g" \
|
|
${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
|
|
|
|
.include <bsd.port.post.mk>
|