summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2002-06-19 14:36:12 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2002-06-19 14:36:12 +0000
commit81701830b9b46bb5766f55f4bb2092c52aee8d08 (patch)
treef8c7fc73f7b7c63c6b82f16fcff3e3c1d81545ce /x11-misc/ASFiles
parentVersion bump to 3.0.1 (diff)
downloadgentoo-2-81701830b9b46bb5766f55f4bb2092c52aee8d08.tar.gz
gentoo-2-81701830b9b46bb5766f55f4bb2092c52aee8d08.tar.bz2
gentoo-2-81701830b9b46bb5766f55f4bb2092c52aee8d08.zip
Fixes 2398.
Diffstat (limited to 'x11-misc/ASFiles')
-rw-r--r--x11-misc/ASFiles/ASFiles-1.0.ebuild41
-rw-r--r--x11-misc/ASFiles/files/ASFiles-1.0-gentoo.diff28
-rw-r--r--x11-misc/ASFiles/files/digest-ASFiles-1.01
3 files changed, 70 insertions, 0 deletions
diff --git a/x11-misc/ASFiles/ASFiles-1.0.ebuild b/x11-misc/ASFiles/ASFiles-1.0.ebuild
new file mode 100644
index 000000000000..3d3b6a8c496d
--- /dev/null
+++ b/x11-misc/ASFiles/ASFiles-1.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Karl Trygve Kalleberg <karltk@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/ASFiles/ASFiles-1.0.ebuild,v 1.1 2002/06/19 14:36:12 karltk Exp $
+
+S=${WORKDIR}/${P}
+
+DESCRIPTION="NeXTish filemanager, hacked from OffiX"
+
+SRC_URI="http://www.tigr.net/afterstep/download/ASFiles/ASFiles-1.0.tar.gz"
+
+HOMEPAGE="http://www.tigr.net/afterstep/list.pl"
+
+DEPEND=">=x11-wm/afterstep-1.8.8
+ >=x11-libs/dnd-1.1"
+
+src_unpack() {
+
+ unpack ASFiles-1.0.tar.gz
+ cd ${S}
+ patch -p0 < ${FILESDIR}/${PF}-gentoo.diff
+}
+src_compile() {
+
+ ./configure --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ --prefix=/usr \
+ --with-x \
+ --with-dnd-inc=/usr/include/OffiX \
+ --with-dnd-lib=/usr/lib \
+ --host=${CHOST} || die
+ emake || die
+}
+
+src_install () {
+
+ make prefix=${D}/usr install || die
+
+# make DESTDIR=${D} install || die
+}
+
diff --git a/x11-misc/ASFiles/files/ASFiles-1.0-gentoo.diff b/x11-misc/ASFiles/files/ASFiles-1.0-gentoo.diff
new file mode 100644
index 000000000000..8d4a444fc670
--- /dev/null
+++ b/x11-misc/ASFiles/files/ASFiles-1.0-gentoo.diff
@@ -0,0 +1,28 @@
+--- src/regexp/regsub.c.orig Tue Sep 25 21:40:39 2001
++++ src/regexp/regsub.c Tue Sep 25 21:40:59 2001
+@@ -42,7 +42,6 @@
+ register char c;
+ register int no;
+ register int len;
+- extern char *strncpy();
+
+ if (prog == NULL || source == NULL || dest == NULL) {
+ regerror("NULL parm to regsub");
+--- src/regexp/regexp.c.orig Tue Sep 25 21:40:32 2001
++++ src/regexp/regexp.c Tue Sep 25 21:41:10 2001
+@@ -703,7 +703,6 @@
+ register char *string;
+ {
+ register char *s;
+- extern char *strchr();
+
+ /* Be paranoid... */
+ if (prog == NULL || string == NULL) {
+@@ -802,7 +801,6 @@
+ {
+ register char *scan; /* Current node. */
+ char *next; /* Next node. */
+- extern char *strchr();
+
+ scan = prog;
+ #ifdef DEBUG
diff --git a/x11-misc/ASFiles/files/digest-ASFiles-1.0 b/x11-misc/ASFiles/files/digest-ASFiles-1.0
new file mode 100644
index 000000000000..5853be4f21f1
--- /dev/null
+++ b/x11-misc/ASFiles/files/digest-ASFiles-1.0
@@ -0,0 +1 @@
+MD5 3e13e9a4a14c76cda54c16336c1185e7 ASFiles-1.0.tar.gz 207125