public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Damon M. Conway" <damon@chiba.3jane.net>
To: gentoo-dev@gentoo.org
Subject: [gentoo-dev] ebuild for xzip
Date: Tue Jul 24 14:07:01 2001	[thread overview]
Message-ID: <200107242006.f6OK6pu78599@chiba.3jane.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 286 bytes --]

Here's an ebuild for xzip-1.8.2.  It's an X based interpreter for Z-code
games like the old Infocom text adventure games.  (Zork, et al).

Damon

--
"UNIX was not designed to stop you from doing stupid things, because that 
 would also stop you from doing clever things."  --Doug Gwyn


[-- Attachment #2: ebuild for xzip-1.8.2 --]
[-- Type: text/plain, Size: 602 bytes --]

# Copyright 2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Damon Conway <damon@3jane.net>

A=xzip182.tar.Z
S=${WORKDIR}/xzip
DESCRIPTION="X interface to Z-code based text games"
SRC_URI="http://www.eblong.com/zarf/ftp/${A}"
HOMEPAGE="http://www.eblong.com/zarf/xzip.html"

DEPEND="virtual/x11"

src_unpack() {
	unpack ${A}
	cd ${S}
	patch -p0 < ${FILESDIR}/xzip-182-makefile.diff
}

src_compile() {
    try make
}

src_install () {
#    try make DESTDIR=${D}/usr/X11R6 install
    doman xzip.1
    into /usr/X11R6
    dobin xzip
}


[-- Attachment #3: digest for xzip182.tar.Z --]
[-- Type: text/plain, Size: 51 bytes --]

MD5 68e13d7904104c703f9fea531b307494 xzip182.tar.Z

[-- Attachment #4: makefile diff for xzip-1.8.2 --]
[-- Type: text/plain, Size: 926 bytes --]

--- Makefile.orig	Tue Jul 24 08:21:17 2001
+++ Makefile	Tue Jul 24 12:06:32 2001
@@ -51,7 +51,7 @@
 #   BYTE_ORDER definitions installed. If AUTO_END_MODE doesn't
 #   work, use LITTLE_END_MODE on an x86, BIG_END_MODE on a
 #   680x0 or PPC machine.
-#SYSTEMFLAGS = -DAUTO_END_MODE
+SYSTEMFLAGS = -DAUTO_END_MODE
 
 # definitions for BSDI 4
 #SYSTEMFLAGS = -DAUTO_END_MODE
@@ -67,8 +67,8 @@
 # definitions for where the X lib and include directories are.
 # The following are defaults that might work.
 
-XINCLUDE = /usr/include/X11
-XLIB = /usr/lib/X11
+XINCLUDE = /usr/X11R6/include
+XLIB = /usr/X11R6/lib
 
 # If your compiler can't find these things, try commenting out the
 # above, and uncommenting various versions below. Also look around
@@ -97,7 +97,7 @@
 # --------------------
 
 # definition for where to install xzip executable and man page
-DESTDIR = /usr/local
+DESTDIR = /usr/X11R6
 
 # --------------------
 

             reply	other threads:[~2001-07-24 20:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-24 14:07 Damon M. Conway [this message]
2001-07-30 15:47 ` [gentoo-dev] ebuild for xzip Dan Armak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200107242006.f6OK6pu78599@chiba.3jane.net \
    --to=damon@chiba.3jane.net \
    --cc=gentoo-dev@cvs.gentoo.org \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox