diff options
author | pav <pav@FreeBSD.org> | 2004-05-28 17:26:30 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-05-28 17:26:30 +0000 |
commit | df09f8f98b3a4495897683d1361d468737c3bd45 (patch) | |
tree | edfdd91b5726aa6fabd860ff7e06b786c2482260 /games | |
parent | 9e99633b96662449d31dc47fb367c7b6206306b3 (diff) | |
download | FreeBSD-ports-df09f8f98b3a4495897683d1361d468737c3bd45.zip FreeBSD-ports-df09f8f98b3a4495897683d1361d468737c3bd45.tar.gz |
Saries allows to play oldest and the best adventure games from Sierra ever made.
Such great games like: Larry 1, Space quest 1,2, Police quest 1, king's quest 1-4.
All games comes in wonderfull EGA graphics and Adlib sound!
PR: ports/67261
Submitted by: Radim Kolar <hsn@netmag.cz>
Diffstat (limited to 'games')
-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 84a0ded..a439081 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 0000000..8467b33 --- /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 0000000..535c7c3 --- /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 0000000..bf71315 --- /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 0000000..d096980 --- /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 0000000..4b7dec2 --- /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. |