From dacfc08cb81a7614d516289067fcda5e0deebd24 Mon Sep 17 00:00:00 2001 From: rohee Date: Thu, 4 Feb 1999 07:44:55 +0000 Subject: [PATCH] amaya port --- web/amaya/Makefile | 33 ++++++++++ web/amaya/files/md5 | 1 + web/amaya/patches/patch-aa | 16 +++++ web/amaya/patches/patch-ab | 13 ++++ web/amaya/pkg/COMMENT | 1 + web/amaya/pkg/DESCR | 4 ++ web/amaya/pkg/PLIST | 129 +++++++++++++++++++++++++++++++++++++ 7 files changed, 197 insertions(+) create mode 100644 web/amaya/Makefile create mode 100644 web/amaya/files/md5 create mode 100644 web/amaya/patches/patch-aa create mode 100644 web/amaya/patches/patch-ab create mode 100644 web/amaya/pkg/COMMENT create mode 100644 web/amaya/pkg/DESCR create mode 100644 web/amaya/pkg/PLIST diff --git a/web/amaya/Makefile b/web/amaya/Makefile new file mode 100644 index 00000000000..7cdd6f88443 --- /dev/null +++ b/web/amaya/Makefile @@ -0,0 +1,33 @@ +# $OpenBSD: Makefile,v 1.1.1.1 1999/02/04 07:44:55 rohee Exp $ +# +# Amaya, the W3C http://www.w3.org browser +# + +DISTNAME = amaya-src-1.4a +DIST_SUBDIR = amaya # I have a good reasons to do so, dictionaries will go + # in the same dir +PKGNAME = amaya-1.4a +CATEGORIES = www + +MAINTAINER = rohee@OpenBSD.ORG + +MASTER_SITES = ftp://ftp.w3.org/pub/amaya/ \ + ftp://ftp-eu.w3.org/pub/amaya/ + +NEED_VERSION = 1.60 + +USE_MOTIF = yes + +WRKSRC = ${WRKDIR}/Thot +WRKBUILD = ${WRKSRC}/obj + +#USE_X11 = yes # not used :-(, all goes in /usr/local +GNU_CONFIGURE = yes +USE_GMAKE = yes +CONFIGURE_ARGS = -with-amaya + +#get rid of -g, really too big +post-configure: + ${SED} 's/^CFLAGS.*$\/CFLAGS = -O2/' ${WRKBUILD}/Options.orig >${WRKBUILD}/Options + +.include diff --git a/web/amaya/files/md5 b/web/amaya/files/md5 new file mode 100644 index 00000000000..8c84ef8c5f1 --- /dev/null +++ b/web/amaya/files/md5 @@ -0,0 +1 @@ +MD5 (amaya/amaya-src-1.4a.tar.gz) = e2d795ffb6a010a275dc3aa2f82f15f3 diff --git a/web/amaya/patches/patch-aa b/web/amaya/patches/patch-aa new file mode 100644 index 00000000000..67c0f58232a --- /dev/null +++ b/web/amaya/patches/patch-aa @@ -0,0 +1,16 @@ +This patch suxxs, I'll submit the good one (BSD > 199....) to +libwww maintainer. + +BTW, O_SYNC is part of Unix98 compliance and we should have it. + +--- libwww/Library/src/HTMemLog.c.orig Mon Jan 18 00:06:34 1999 ++++ libwww/Library/src/HTMemLog.c Mon Jan 18 00:09:21 1999 +@@ -15,7 +15,7 @@ + #include "HTMemLog.h" + #include "HTTimer.h" + +-#if defined(WWW_MSWINDOWS) || defined(__FreeBSD__) ++#if defined(WWW_MSWINDOWS) || defined(__FreeBSD__) || defined(__OpenBSD__) + #define OPEN_FLAGS O_WRONLY|O_CREAT|O_TRUNC + #else /* WWW_MSWINDOWS */ + #define OPEN_FLAGS O_WRONLY|O_CREAT|O_TRUNC|O_SYNC diff --git a/web/amaya/patches/patch-ab b/web/amaya/patches/patch-ab new file mode 100644 index 00000000000..aef08d65e28 --- /dev/null +++ b/web/amaya/patches/patch-ab @@ -0,0 +1,13 @@ +This one is due to the strange build process for amaya + +--- Makefile.in.orig Wed Feb 3 21:44:06 1999 ++++ Makefile.in Wed Feb 3 21:44:12 1999 +@@ -170,7 +170,7 @@ + @(localdir=`pwd` ; libwwwdir="$(THOTDIR)/$(LIBWWW)" ; cd $(LIBWWW) ; \ + unset LANG; \ + if [ ! -x Makefile ] ; then \ +- ../$$libwwwdir/configure --disable-shared \ ++ $$libwwwdir/configure --disable-shared \ + -with-zlib="$$localdir/libz.a"; \ + fi) + @(cd $(LIBWWW)/Library/src ; $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)") diff --git a/web/amaya/pkg/COMMENT b/web/amaya/pkg/COMMENT new file mode 100644 index 00000000000..0c4c8a978b7 --- /dev/null +++ b/web/amaya/pkg/COMMENT @@ -0,0 +1 @@ +Test-bed browser/authoring tool of the W3C diff --git a/web/amaya/pkg/DESCR b/web/amaya/pkg/DESCR new file mode 100644 index 00000000000..9ef4f39bca0 --- /dev/null +++ b/web/amaya/pkg/DESCR @@ -0,0 +1,4 @@ +Amaya is a complete web browsing and authoring environment and comes equipped +with a WYSIWYG style of interface, similar to that of the most popular +browsers. With such an interface, users do not need to know the HTML or CSS +languages. diff --git a/web/amaya/pkg/PLIST b/web/amaya/pkg/PLIST new file mode 100644 index 00000000000..c4bb47b5cd6 --- /dev/null +++ b/web/amaya/pkg/PLIST @@ -0,0 +1,129 @@ +@cwd /usr/local +@name amaya-1.4a +@pkgdep lesstif-0.86.0 +bin/amaya +thot/amaya/HTML.STR +thot/amaya/HTML.conf +thot/amaya/HTML.trans +thot/amaya/HTML.en +thot/amaya/HTML.fr +thot/amaya/HTMLP.PRS +thot/amaya/HTMLPBW.PRS +thot/amaya/HTMLPLP.PRS +thot/amaya/HTMLPLPUS.PRS +thot/amaya/HTMLPP.PRS +thot/amaya/HTMLPPUS.PRS +thot/amaya/HTMLT.TRA +thot/amaya/HTMLTT.TRA +thot/amaya/HTMLTX.TRA +thot/amaya/AmayaPage.html +thot/config/XKeysymDB +thot/config/thot.ini +thot/config/amaya.keyboard +thot/config/en-amayadialogue +thot/config/en-amayamsg +thot/config/en-libdialogue +thot/config/en-transdialogue +thot/config/en-corrdialogue +thot/config/fr-amayadialogue +thot/config/fr-amayamsg +thot/config/fr-libdialogue +thot/config/fr-transdialogue +thot/config/fr-corrdialogue +thot/config/de-amayadialogue +thot/config/de-amayamsg +thot/config/de-libdialogue +thot/config/tr-transdialogue +thot/config/tr-corrdialogue +thot/config/tr-amayadialogue +thot/config/tr-amayamsg +thot/config/tr-libdialogue +thot/fonts/Families.list +thot/fonts/fonts.dir +thot/fonts/icones.ff +thot/fonts/icones.pcf +thot/fonts/icones1.fb +thot/fonts/icones11.fb +thot/dicopar/american.ptn +thot/dicopar/deutsch.ptn +thot/dicopar/english.ptn +thot/dicopar/espanol.ptn +thot/dicopar/finish.ptn +thot/dicopar/francais.ptn +thot/dicopar/italiano.ptn +thot/dicopar/nederl.ptn +thot/dicopar/portug.ptn +thot/dicopar/swedish.ptn +thot/dicopar/alphabet +thot/dicopar/clavier +thot/doc/Icons/warning.gif +thot/doc/Icons/Browser.gif +thot/doc/Icons/Editor.gif +thot/doc/Icons/Forward.gif +thot/doc/Icons/Image.gif +thot/doc/Icons/Link.gif +thot/doc/Icons/NumList.gif +thot/doc/Icons/Plugin.gif +thot/doc/Icons/SaveAs.gif +thot/doc/Icons/SourceJava.gif +thot/doc/Icons/Sources.gif +thot/doc/Icons/amaya.gif +thot/doc/Icons/background.gif +thot/doc/Icons/bug.gif +thot/doc/Icons/check.gif +thot/doc/Icons/cross.gif +thot/doc/Icons/doc48x.gif +thot/doc/Icons/drapeau-F.gif +thot/doc/Icons/eyec.gif +thot/doc/Icons/find.gif +thot/doc/Icons/floppy.gif +thot/doc/Icons/left.gif +thot/doc/Icons/opera.gif +thot/doc/Icons/put.gif +thot/doc/Icons/question.gif +thot/doc/Icons/right.gif +thot/doc/Icons/table.gif +thot/doc/Icons/target.gif +thot/doc/Icons/ui.gif +thot/doc/Icons/up.gif +thot/doc/Icons/Back.gif +thot/doc/amaya/SpellChecking.html +thot/doc/amaya/MakeBook.html +thot/doc/amaya/StyleSheets.html +thot/doc/amaya/Manual.html +thot/doc/amaya/Tables.html +thot/doc/amaya/Math.html +thot/doc/amaya/Registry.html +thot/doc/amaya/Transform.html +thot/doc/amaya/Attributes.html +thot/doc/amaya/New.html +thot/doc/amaya/Views.html +thot/doc/amaya/Autoconf.html +thot/doc/amaya/ImageMaps.html +thot/doc/amaya/Numbering.html +thot/doc/amaya/Searching.html +thot/doc/amaya/BinDist.html +thot/doc/amaya/Selecting.html +thot/doc/amaya/Browsing.html +thot/doc/amaya/CSS.html +thot/doc/amaya/Plugins.html +thot/doc/amaya/Keyboard.html +thot/doc/amaya/Printing.html +thot/doc/amaya/Changing.html +thot/doc/amaya/Publishing.html +thot/doc/amaya/Configure.html +thot/doc/amaya/Links.html +thot/doc/amaya/Put.html +thot/doc/amaya/Creating.html +thot/applis/bin/amaya +thot/applis/bin/print +@dirrm thot/applis/bin +@dirrm thot/applis +@dirrm thot/doc/amaya +@dirrm thot/doc/Icons +@dirrm thot/doc +@dirrm thot/dicopar +@dirrm thot/fonts +@dirrm thot/config +@dirrm thot/amaya +@dirrm thot