diff options
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/sarien/Makefile | 34 | ||||
-rw-r--r-- | games/sarien/distinfo | 2 | ||||
-rw-r--r-- | games/sarien/files/patch-src-filesys-unix-path.c | 10 | ||||
-rw-r--r-- | games/sarien/files/patch-src-sound-freebsd-sound_freebsd.c | 11 | ||||
-rw-r--r-- | games/sarien/pkg-descr | 17 |
6 files changed, 75 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index 84a0ded1d685..a4390815f683 100644 --- a/games/Makefile +++ b/games/Makefile @@ -386,6 +386,7 @@ SUBDIR += rtcw SUBDIR += rtcw-paks SUBDIR += rubix + SUBDIR += sarien SUBDIR += scid SUBDIR += scorched3d-devel SUBDIR += scummvm diff --git a/games/sarien/Makefile b/games/sarien/Makefile new file mode 100644 index 000000000000..8467b3312fd1 --- /dev/null +++ b/games/sarien/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: sarien +# Date created: 25 May 2004 +# Whom: Radim Kolar +# +# $FreeBSD$ +# + +PORTNAME= sarien +PORTVERSION= 0.7.0 +CATEGORIES= emulators +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= hsn@netmag.cz +COMMENT= Sierra AGI games interpreter + +GNU_CONFIGURE= yes +USE_GETOPT_LONG= yes +USE_GMAKE= yes +USE_XLIB= yes +USE_REINPLACE= yes + +CFLAGS+= -I${LOCALBASE}/include + +PLIST_FILES= bin/sarien etc/sarien.conf + +post-patch: + @${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/src/filesys/unix/path.c + +do-install: + ${INSTALL} ${WRKSRC}/bin/sarien ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/etc/sarien.cfg ${PREFIX}/etc/sarien.conf + +.include <bsd.port.mk> diff --git a/games/sarien/distinfo b/games/sarien/distinfo new file mode 100644 index 000000000000..535c7c313e64 --- /dev/null +++ b/games/sarien/distinfo @@ -0,0 +1,2 @@ +MD5 (sarien-0.7.0.tar.gz) = 76db53d1bdcecd37913c95af9d47820c +SIZE (sarien-0.7.0.tar.gz) = 284109 diff --git a/games/sarien/files/patch-src-filesys-unix-path.c b/games/sarien/files/patch-src-filesys-unix-path.c new file mode 100644 index 000000000000..bf7131578ed6 --- /dev/null +++ b/games/sarien/files/patch-src-filesys-unix-path.c @@ -0,0 +1,10 @@ +--- src/filesys/unix/path.c.orig Sun Aug 5 01:59:48 2001 ++++ src/filesys/unix/path.c Thu May 27 15:11:02 2004 +@@ -46,6 +46,6 @@ + #endif + #endif + +- return "/etc/sarien.conf"; ++ return "%%PREFIX%%/etc/sarien.conf"; + } + diff --git a/games/sarien/files/patch-src-sound-freebsd-sound_freebsd.c b/games/sarien/files/patch-src-sound-freebsd-sound_freebsd.c new file mode 100644 index 000000000000..d09698034039 --- /dev/null +++ b/games/sarien/files/patch-src-sound-freebsd-sound_freebsd.c @@ -0,0 +1,11 @@ +--- src/sound/freebsd/sound_freebsd.c.orig Fri Jun 22 16:45:04 2001 ++++ src/sound/freebsd/sound_freebsd.c Tue May 25 19:36:22 2004 +@@ -16,7 +16,7 @@ + #include <stdio.h> + #include <fcntl.h> + #include <unistd.h> +-#include <machine/soundcard.h> ++#include <sys/soundcard.h> + + #include "sarien.h" + #include "sound.h" diff --git a/games/sarien/pkg-descr b/games/sarien/pkg-descr new file mode 100644 index 000000000000..4b7dec295003 --- /dev/null +++ b/games/sarien/pkg-descr @@ -0,0 +1,17 @@ +Sarien is an open source, portable implementation of the Sierra +On-Line Adventure Game Interpreter (AGI). Sarien is able to +execute Sierra On-Line AGI games at different levels of +playability. + +Supported games: + Leisure Suit Larry 1 + King's Quest I - IV + Mixed-Up Mother Gooose + Space Quest 1 and 2 + Police Quest 1 + Black Cauldron + Gold Rush + Manhunter + +Newer Sierra games are using SCI game engine, which is emulated by +freesci. |