summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-03-02 06:43:48 +0000
committerMike Frysinger <vapier@gentoo.org>2003-03-02 06:43:48 +0000
commit51548901fe7da9bc2826bf3c49de38ac3acbc254 (patch)
tree15d255069609087fb74fcd07901edbfd4fd7be57 /dev-lang/inform
parentVersion bump and close Bug #15517 (diff)
downloadgentoo-2-51548901fe7da9bc2826bf3c49de38ac3acbc254.tar.gz
gentoo-2-51548901fe7da9bc2826bf3c49de38ac3acbc254.tar.bz2
gentoo-2-51548901fe7da9bc2826bf3c49de38ac3acbc254.zip
initial ebuild #10487
Diffstat (limited to 'dev-lang/inform')
-rw-r--r--dev-lang/inform/ChangeLog8
-rw-r--r--dev-lang/inform/files/digest-inform-6.21.32
-rw-r--r--dev-lang/inform/inform-6.21.3.ebuild61
3 files changed, 71 insertions, 0 deletions
diff --git a/dev-lang/inform/ChangeLog b/dev-lang/inform/ChangeLog
new file mode 100644
index 000000000000..9b108ef00fc3
--- /dev/null
+++ b/dev-lang/inform/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-lang/inform
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/inform/ChangeLog,v 1.1 2003/03/02 06:43:48 vapier Exp $
+
+*inform-6.21.3 (02 Mar 2003)
+
+ 02 Mar 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Marshall T. Vandegrift <vandem2@rpi.edu> #10487.
diff --git a/dev-lang/inform/files/digest-inform-6.21.3 b/dev-lang/inform/files/digest-inform-6.21.3
new file mode 100644
index 000000000000..f235d78e3749
--- /dev/null
+++ b/dev-lang/inform/files/digest-inform-6.21.3
@@ -0,0 +1,2 @@
+MD5 4fcf8e7250c9f533d9a65d6ca4a2b3c3 inform-6.21.3.tar.gz 1143868
+MD5 0af0dfca5f454d429dc66644341c11ce libg610.tar.Z 128613
diff --git a/dev-lang/inform/inform-6.21.3.ebuild b/dev-lang/inform/inform-6.21.3.ebuild
new file mode 100644
index 000000000000..babb305fdb9e
--- /dev/null
+++ b/dev-lang/inform/inform-6.21.3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/inform/inform-6.21.3.ebuild,v 1.1 2003/03/02 06:43:48 vapier Exp $
+
+MY_PV=6.21
+LIB_V=610
+DESCRIPTION="Inform is a design system for interactive fiction"
+HOMEPAGE="http://www.inform-fiction.org/"
+SRC_URI="http://mirror.ifarchive.org/if-archive/unprocessed/${P}.tar.gz
+ http://mirror.ifarchive.org/if-archive/infocom/compilers/inform6/source/${P}.tar.gz
+ http://www.ifarchive.org/if-archive/infocom/compilers/inform6/source/${P}.tar.gz
+ http://www.eblong.com/zarf/glulx/libg${LIB_V}.tar.Z"
+
+LICENSE="Inform"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND="virtual/glibc"
+
+src_unpack() {
+ unpack ${A}
+
+ # Canonicalize the library filenames
+ mv ${WORKDIR}/libg${LIB_V}/{E,e}nglish.h
+ mv ${WORKDIR}/libg${LIB_V}/{G,g}rammar.h
+ mv ${WORKDIR}/libg${LIB_V}/{P,p}arser.h
+ mv ${WORKDIR}/libg${LIB_V}/{V,v}erbLib.h
+
+ # Replace the original library with Plotkin's
+ # bi-platform version
+ mv ${WORKDIR}/libg${LIB_V}/* ${S}/lib/
+}
+
+src_compile() {
+ econf || die
+ emake || die
+}
+
+src_install() {
+ einstall || die
+
+ dodoc AUTHORS NEWS README* VERSION lib/CHANGES
+
+ docinto tutorial
+ dodoc tutor/README tutor/*.txt tutor/*.inf
+
+ # correct the placement of a few things
+ mv ${D}/usr/share/${PN}/manual ${D}/usr/share/doc/${PF}/html
+ mv ${D}/usr/info ${D}/usr/share/info
+ rm -rf ${D}/usr/info
+
+ # fix the symlink foo
+ dosym /usr/bin/inform-${MY_PV} /usr/bin/inform
+
+ # symlinks for libraries
+ dosym /usr/share/inform/${MY_PV}/module/{e,E}nglish.h
+ dosym /usr/share/inform/${MY_PV}/module/{g,G}rammar.h
+ dosym /usr/share/inform/${MY_PV}/module/{p,P}arser.h
+ dosym /usr/share/inform/${MY_PV}/module/{v,V}erblib.h
+ dosym /usr/share/inform/${MY_PV}/module/{v,V}erblib.h
+}