Sarien Sierra Adventure Game Interpreter
Sarien is a Sierra AGI resource interpreter engine that enables you to play early Sierra On-Line(tm) AGI version 2 and version 3 games, as well as AGI games written by other people.
This commit is contained in:
parent
761cbdadd6
commit
5b6a30d0fb
34
games/sarien/Makefile
Normal file
34
games/sarien/Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2002/01/24 23:03:54 aaron Exp $
|
||||
|
||||
COMMENT= "interpreter for old Sierra AGI games"
|
||||
|
||||
DISTNAME= sarien-0.7.0
|
||||
CATEGORIES= games emulators
|
||||
NEED_VERSION= 1.504
|
||||
|
||||
MAINTAINER= Aaron Campbell <aaron@openbsd.org>
|
||||
|
||||
HOMEPAGE= http://sarien.sourceforge.net/
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
USE_GMAKE= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= sarien
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/sarien ${PREFIX}/bin
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sarien
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sarien
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/README.agi ${PREFIX}/share/doc/sarien
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/Changelog ${PREFIX}/share/doc/sarien
|
||||
${INSTALL_DATA} ${WRKSRC}/etc/sarien.cfg \
|
||||
${PREFIX}/share/examples/sarien
|
||||
|
||||
.include <bsd.port.mk>
|
3
games/sarien/distinfo
Normal file
3
games/sarien/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (sarien-0.7.0.tar.gz) = 76db53d1bdcecd37913c95af9d47820c
|
||||
RMD160 (sarien-0.7.0.tar.gz) = 68392593de5896cb4ed9d281b66d0b2b05464de4
|
||||
SHA1 (sarien-0.7.0.tar.gz) = f1c3236ed554cbde479fbbfa52cbc95cb9759fde
|
25
games/sarien/pkg/DEINSTALL
Normal file
25
games/sarien/pkg/DEINSTALL
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: DEINSTALL,v 1.1.1.1 2002/01/24 23:03:54 aaron Exp $
|
||||
#
|
||||
# sarien de-installation
|
||||
|
||||
set -e
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
CONFIG_FILE=${SYSCONFDIR}/sarien.cfg
|
||||
|
||||
if [ -f $CONFIG_FILE ]; then
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| To completely deinstall the $1 package you need to perform"
|
||||
echo "| this step as root:"
|
||||
echo "|"
|
||||
echo "| rm -f $CONFIG_FILE"
|
||||
echo "|"
|
||||
echo "| Do not do this if you plan on re-installing $1"
|
||||
echo "| at some future time."
|
||||
echo "+---------------"
|
||||
echo
|
||||
fi
|
||||
|
||||
exit 0
|
7
games/sarien/pkg/DESCR
Normal file
7
games/sarien/pkg/DESCR
Normal file
@ -0,0 +1,7 @@
|
||||
Sarien Sierra Adventure Game Interpreter
|
||||
|
||||
Sarien is a Sierra AGI resource interpreter engine that enables you to
|
||||
play early Sierra On-Line(tm) AGI version 2 and version 3 games, as well
|
||||
as AGI games written by other people.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
70
games/sarien/pkg/INSTALL
Normal file
70
games/sarien/pkg/INSTALL
Normal file
@ -0,0 +1,70 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: INSTALL,v 1.1.1.1 2002/01/24 23:03:54 aaron Exp $
|
||||
#
|
||||
# Pre/post-installation setup of sarien
|
||||
|
||||
# exit on errors, use a sane path and install prefix
|
||||
#
|
||||
set -e
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
CONFIG_FILE=${SYSCONFDIR}/sarien.conf
|
||||
SAMPLE_CONFIG_FILE=$PREFIX/share/examples/sarien/sarien.cfg
|
||||
|
||||
do_notice()
|
||||
{
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| The existing $1 configuration file, $CONFIG_FILE,"
|
||||
echo "| has NOT been changed. You may want to compare it to the"
|
||||
echo "| current sample file, $SAMPLE_CONFIG_FILE,"
|
||||
echo "| and update your configuration as needed."
|
||||
echo "+---------------"
|
||||
echo
|
||||
}
|
||||
|
||||
do_install()
|
||||
{
|
||||
install -o root -g wheel -m 644 $SAMPLE_CONFIG_FILE $CONFIG_FILE
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| The $1 configuration file, $CONFIG_FILE,"
|
||||
echo "| has been installed. Please view this file and change"
|
||||
echo "| the configuration to meet your needs."
|
||||
echo "|"
|
||||
echo "| NOTE: It may be necessary to increase the shell's open"
|
||||
echo "| file descriptor limit to use Sarien. For example, in"
|
||||
echo "| ksh, type 'ulimit -n 128' to boost the limit from the"
|
||||
echo "| default 64."
|
||||
echo "+---------------"
|
||||
echo
|
||||
|
||||
}
|
||||
|
||||
# verify proper execution
|
||||
#
|
||||
if [ $# -ne 2 ]; then
|
||||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Verify/process the command
|
||||
#
|
||||
case $2 in
|
||||
PRE-INSTALL)
|
||||
: nothing to pre-install for this port
|
||||
;;
|
||||
POST-INSTALL)
|
||||
if [ -f $CONFIG_FILE ]; then
|
||||
do_notice $1
|
||||
else
|
||||
do_install $1
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
7
games/sarien/pkg/PLIST
Normal file
7
games/sarien/pkg/PLIST
Normal file
@ -0,0 +1,7 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/01/24 23:03:54 aaron Exp $
|
||||
bin/sarien
|
||||
share/doc/sarien/Changelog
|
||||
share/doc/sarien/README.agi
|
||||
share/examples/sarien/sarien.cfg
|
||||
@dirrm share/examples/sarien
|
||||
@dirrm share/doc/sarien
|
Loading…
Reference in New Issue
Block a user