From 9a115cb3ba0bd478cb817977b389186a346dbe04 Mon Sep 17 00:00:00 2001 From: espie Date: Fri, 18 Jun 1999 16:54:55 +0000 Subject: [PATCH] Clean installation of a linux roguelike. --- games/adom/Makefile | 40 ++++++++++++++++++++++++++++++++++++++++ games/adom/files/md5 | 3 +++ games/adom/pkg/COMMENT | 1 + games/adom/pkg/DESCR | 17 +++++++++++++++++ games/adom/pkg/MESSAGE | 3 +++ games/adom/pkg/PLIST | 6 ++++++ 6 files changed, 70 insertions(+) create mode 100644 games/adom/Makefile create mode 100644 games/adom/files/md5 create mode 100644 games/adom/pkg/COMMENT create mode 100644 games/adom/pkg/DESCR create mode 100644 games/adom/pkg/MESSAGE create mode 100644 games/adom/pkg/PLIST diff --git a/games/adom/Makefile b/games/adom/Makefile new file mode 100644 index 00000000000..358178c916e --- /dev/null +++ b/games/adom/Makefile @@ -0,0 +1,40 @@ +# $OpenBSD: Makefile,v 1.1.1.1 1999/06/18 16:54:55 espie Exp $ + +DISTNAME= adom-g14 + +WRKSRC=${WRKDIR}/adom + +CATEGORIES= games + +ONLY_FOR_ARCHS= i386 + +NO_CDROM= prevented by license +NO_PACKAGE = prevented by license + +MAINTAINER= espie@cvs.openbsd.org +AUTHOR= Thomas Biskup + +MASTER_SITES= http://www.adom.de/adom/ +DISTFILES= adom-099g14-elf.tar.gz + +NO_BUILD= binary port + +ADOM_DOC=${PREFIX}/share/doc/adom + +# cage adom into its specific group if you don't trust the binary +ADOMOWN?=games + +# can't be changed except by patching the binary +HISCORE_DIR=/var/lib/adom + +pre-fetch: + @${ECHO} "Your kernel must have COMPAT_LINUX (GENERIC does)" + +do-install: + @${INSTALL_DATA_DIR} ${ADOM_DOC} + @cd ${WRKSRC} && ${INSTALL_DATA} adomfaq.txt manual.doc readme.1st ${ADOM_DOC} + @cd ${WRKSRC} && ${INSTALL} ${INSTALL_COPY} \ + -o ${BINOWN} -g ${ADOMOWN} -m 2555 adom ${PREFIX}/bin + @${INSTALL} -d -o ${SHAREOWN} -g ${ADOMOWN} -m 775 ${HISCORE_DIR} + +.include diff --git a/games/adom/files/md5 b/games/adom/files/md5 new file mode 100644 index 00000000000..581db460737 --- /dev/null +++ b/games/adom/files/md5 @@ -0,0 +1,3 @@ +MD5 (adom-099g14-elf.tar.gz) = c4421fa9bba043d45afbfa5c6133fe23 +RMD160 (adom-099g14-elf.tar.gz) = fb0686b38a9f7e5ab8c550715c16b433da1e3795 +SHA1 (adom-099g14-elf.tar.gz) = 401446954fd1af68fe1f390fc59709e353745202 diff --git a/games/adom/pkg/COMMENT b/games/adom/pkg/COMMENT new file mode 100644 index 00000000000..75e9a4e9a78 --- /dev/null +++ b/games/adom/pkg/COMMENT @@ -0,0 +1 @@ +Ancient Domains of Mystery - roguelike diff --git a/games/adom/pkg/DESCR b/games/adom/pkg/DESCR new file mode 100644 index 00000000000..4b0e945aba0 --- /dev/null +++ b/games/adom/pkg/DESCR @@ -0,0 +1,17 @@ +Ancient Domains of Mystery (ADOM for short) is a rogue-like game +which means that it is a single-user game featuring the exploration of +a dungeon complex. You control a fictional character described by +race, class, attributes, skills, and equipment. This fictional +character is trying to achieve a specific goal (see below) and succeed +in a difficult quest. To fulfill the quest, you have to explore +previously undiscovered tunnels and dungeons, fight hideous monsters, +uncover long forgotten secrets, and find treasures of all kind. + +During the game, you explore dungeon levels which are randomly +generated each game. You might also encounter certain special levels, +which present a particular challenge or are built around a certain +theme. + +IMPORTANT: If you are a first-time player you should read the 'How to +start' section of this manual. + diff --git a/games/adom/pkg/MESSAGE b/games/adom/pkg/MESSAGE new file mode 100644 index 00000000000..d28a9ad840c --- /dev/null +++ b/games/adom/pkg/MESSAGE @@ -0,0 +1,3 @@ +Please check the readme.1st file +(usually /usr/local/share/doc/adom/readme.1st) +for licensing terms. diff --git a/games/adom/pkg/PLIST b/games/adom/pkg/PLIST new file mode 100644 index 00000000000..6c201123346 --- /dev/null +++ b/games/adom/pkg/PLIST @@ -0,0 +1,6 @@ +bin/adom +share/doc/adom/adomfaq.txt +share/doc/adom/manual.doc +share/doc/adom/readme.1st +@dirrm share/doc/adom +@unexec echo "Please remove /var/lib/adom/ hiscores manually"