summaryrefslogtreecommitdiff
path: root/games/sarien
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-05-28 17:26:30 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-05-28 17:26:30 +0000
commite4bfde1be0967cc3af64a8931fd8aba2e147740c (patch)
treefa7f7f6843a4e8d8ff3d2eac8b1d6c169798fe26 /games/sarien
parentUpgrade to 3.2.1 (diff)
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>
Notes
Notes: svn path=/head/; revision=110211
Diffstat (limited to 'games/sarien')
-rw-r--r--games/sarien/Makefile34
-rw-r--r--games/sarien/distinfo2
-rw-r--r--games/sarien/files/patch-src-filesys-unix-path.c10
-rw-r--r--games/sarien/files/patch-src-sound-freebsd-sound_freebsd.c11
-rw-r--r--games/sarien/pkg-descr17
5 files changed, 74 insertions, 0 deletions
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.