summaryrefslogtreecommitdiffstats
path: root/emulators/raine/Makefile
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-24 12:51:50 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-24 12:51:50 +0800
commit03ad249fa1d9294261092e4152db4975b6ddcd9d (patch)
tree35b46083ed1e063b989b8a559485cbb419eb6f76 /emulators/raine/Makefile
parent02f6f5857ebefb11898bf4ba6d8afef1c8d78bb0 (diff)
downloadmarcuscom-ports-03ad249fa1d9294261092e4152db4975b6ddcd9d.tar
marcuscom-ports-03ad249fa1d9294261092e4152db4975b6ddcd9d.tar.gz
marcuscom-ports-03ad249fa1d9294261092e4152db4975b6ddcd9d.tar.bz2
marcuscom-ports-03ad249fa1d9294261092e4152db4975b6ddcd9d.tar.lz
marcuscom-ports-03ad249fa1d9294261092e4152db4975b6ddcd9d.tar.xz
marcuscom-ports-03ad249fa1d9294261092e4152db4975b6ddcd9d.tar.zst
marcuscom-ports-03ad249fa1d9294261092e4152db4975b6ddcd9d.zip
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9245 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'emulators/raine/Makefile')
-rw-r--r--emulators/raine/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/emulators/raine/Makefile b/emulators/raine/Makefile
new file mode 100644
index 000000000..1d1fc0ef6
--- /dev/null
+++ b/emulators/raine/Makefile
@@ -0,0 +1,46 @@
+# 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= 4
+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.42:${PORTSDIR}/devel/allegro \
+ png.5:${PORTSDIR}/graphics/png
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+USE_GCC= 3.2+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_SDL= sdl
+USE_GNOME= gnomehier
+MAKEFILE= makefile
+MAKE_ENV= PREFIX=${PREFIX}
+
+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>