summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2000-12-09 15:38:34 +0000
committerDaniel Robbins <drobbins@gentoo.org>2000-12-09 15:38:34 +0000
commit26648aa5ca55fd4970136c30209193840bbeada8 (patch)
tree137c3ab7e348f8553d391ebb75dad9f0beabcd88 /x11-libs/openmotif
parenttiny ebuild fix (diff)
downloadgentoo-2-26648aa5ca55fd4970136c30209193840bbeada8.tar.gz
gentoo-2-26648aa5ca55fd4970136c30209193840bbeada8.tar.bz2
gentoo-2-26648aa5ca55fd4970136c30209193840bbeada8.zip
openmotif in a new location
Diffstat (limited to 'x11-libs/openmotif')
-rw-r--r--x11-libs/openmotif/files/site.def76
-rw-r--r--x11-libs/openmotif/openmotif-2.1.30.ebuild45
2 files changed, 121 insertions, 0 deletions
diff --git a/x11-libs/openmotif/files/site.def b/x11-libs/openmotif/files/site.def
new file mode 100644
index 000000000000..8d46b4af9f09
--- /dev/null
+++ b/x11-libs/openmotif/files/site.def
@@ -0,0 +1,76 @@
+XCOMM site: $TOG: site.def /main/12 1997/07/02 17:52:18 samborn $
+
+/***************************************************************************
+ * *
+ * X Consortium In-House Build Parameters *
+ * Use at Your Own Risk *
+ * *
+ ***************************************************************************/
+
+#ifndef SiteIConfigFiles
+# define SiteIConfigFiles $(IRULESRC)/host.def
+# define LocalConfigFiles host.def
+#endif
+
+#ifdef BeforeVendorCF
+
+# include <host.def>
+
+/* We will import x11. */
+# define ImportX11 YES
+
+# ifndef TopLevelProject
+# define TopLevelProject Motif
+# endif
+
+/* On systems where cpp doesn't expand correctly macros in include directives
+ * the two following macros need to be defined directly (accordingly to the
+ * TopLevelProject macro defined above).
+ */
+# if defined(SunArchitecture) || defined(AIXArchitecture) \
+ || defined(USLArchitecture) || defined(UXPArchitecture)
+# ifndef ProjectRulesFile
+# define ProjectRulesFile <Motif.rules>
+# endif
+# ifndef ProjectTmplFile
+# define ProjectTmplFile <Motif.tmpl>
+# endif
+# endif
+
+# ifdef AlphaArchitecture
+# define HasDECCplusplus YES
+# endif
+
+# ifdef HPArchitecture
+# define HasHPCplusplus YES
+# endif
+
+# if defined(SGIArchitecture)
+# define MipsN32Architecture YES
+# endif
+
+# ifdef SunArchitecture
+# define HasSunCplusplus YES
+# endif
+
+# if defined(UXPArchitecture) || defined(USLArchitecture) \
+ || defined(AIXArchitecture)
+# define HasCplusplus YES
+# endif
+
+#define LinuxDistribution LinuxUnknown
+#define i386Architecture YES
+#endif /* BeforeVendorCF */
+
+#ifdef AfterVendorCF
+
+# define X11ProjectRoot /usr/X11R6
+# define ProjectRoot /usr/X11R6
+# define VirtualBindingsPath /usr/X11R6/lib/bindings
+
+# undef DefaultUserPath
+# define DefaultUserPath /bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/local/bin:/usr/local/bin/mh:/site/local/scripts
+
+#endif /* AfterVendorCF */
+
+
diff --git a/x11-libs/openmotif/openmotif-2.1.30.ebuild b/x11-libs/openmotif/openmotif-2.1.30.ebuild
new file mode 100644
index 000000000000..079ef804a8da
--- /dev/null
+++ b/x11-libs/openmotif/openmotif-2.1.30.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Daniel Robbins <drobbins@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif/openmotif-2.1.30.ebuild,v 1.1 2000/12/09 15:38:34 drobbins Exp $
+
+A=openmotif-2.1.30-4_MLI.src.tar.gz
+S=${WORKDIR}/motif
+DESCRIPTION="Open Motif (Metrolink Bug Fix Release)"
+SRC_URI="ftp://ftp.metrolink.com/pub/openmotif/2.1.30-4/"${A}
+HOMEPAGE="http://www.metrolink.com/openmotif/"
+
+DEPEND=">=sys-apps/bash-2.04
+ >=sys-libs/glibc-2.1.3
+ >=x11-base/xfree-4.0.1"
+
+src_unpack() {
+ unpack ${A}
+ cp ${O}/files/site.def ${S}/config/cf/
+}
+
+src_compile() {
+ cd ${S}
+ mkdir -p imports/x11
+ cd imports/x11
+ ln -s /usr/X11R6/bin bin
+ ln -s /usr/X11R6/include include
+ ln -s /usr/X11R6/lib lib
+ cd ${S}
+ try make World
+}
+
+src_install() {
+# cd ${S}/bindings
+# cp Makefile Makefile.orig
+# sed -e "s:sun_mit:sun_at:" -e "s:sun_news:sun:" Makefile.orig > Makefile
+ cd ${S}
+ try make DESTDIR=${D} VARDIR=${D}/var/X11/ install
+}
+
+
+
+
+
+
+