summaryrefslogtreecommitdiff
path: root/www/Mosaic
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1995-08-23 13:38:36 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1995-08-23 13:38:36 +0000
commitcfc59907359f040294d24b625b1f1b4a90729d09 (patch)
tree57e44ad04f1aad70ac3b125b6c09367900353ccf /www/Mosaic
parentAdded ical. (diff)
Bring in a port of Mosaic. This can only be built by people with Motif,
so we'll not enable it by default. Submitted by: torstenb
Notes
Notes: svn path=/head/; revision=2102
Diffstat (limited to 'www/Mosaic')
-rw-r--r--www/Mosaic/Makefile19
-rw-r--r--www/Mosaic/distinfo1
-rw-r--r--www/Mosaic/files/patch-aa220
-rw-r--r--www/Mosaic/files/patch-ab12
-rw-r--r--www/Mosaic/files/patch-ac12
-rw-r--r--www/Mosaic/files/patch-ad19
-rw-r--r--www/Mosaic/pkg-comment1
-rw-r--r--www/Mosaic/pkg-descr1
-rw-r--r--www/Mosaic/pkg-plist1
9 files changed, 286 insertions, 0 deletions
diff --git a/www/Mosaic/Makefile b/www/Mosaic/Makefile
new file mode 100644
index 000000000000..c07fda219051
--- /dev/null
+++ b/www/Mosaic/Makefile
@@ -0,0 +1,19 @@
+# New ports collection makefile for: Mosaic
+# Version required: 2.6
+# Date created: 7 August 1995
+# Whom: torstenb
+#
+# $Id$
+#
+
+DISTNAME= Mosaic-src-2.6
+CATEGORIES= networking
+LIB_DEPENDS= jpeg\\.5\\.:${PORTSDIR}/graphics/jpeg
+WRKSRC= ${WRKDIR}/Mosaic-src
+ALL_TARGET= default
+
+# don't waste diskspace
+post-extract:
+ @rm -rf ${WRKSRC}/libjpeg
+
+.include <bsd.port.mk>
diff --git a/www/Mosaic/distinfo b/www/Mosaic/distinfo
new file mode 100644
index 000000000000..1afa669c7812
--- /dev/null
+++ b/www/Mosaic/distinfo
@@ -0,0 +1 @@
+MD5 (Mosaic-src-2.6.tar.gz) = 1e05b3ed529342ea3462fb9d587f6a50
diff --git a/www/Mosaic/files/patch-aa b/www/Mosaic/files/patch-aa
new file mode 100644
index 000000000000..3e89110a5306
--- /dev/null
+++ b/www/Mosaic/files/patch-aa
@@ -0,0 +1,220 @@
+*** Makefile.orig Thu Jul 6 15:55:23 1995
+--- Makefile Mon Aug 21 20:51:15 1995
+***************
+*** 8,25 ****
+
+ # -------------------------- CUSTOMIZABLE OPTIONS ----------------------------
+
+! RANLIB = /bin/true
+ #### On non-SGI's, this should be ranlib.
+ RANLIB = ranlib
+
+ CC = cc
+ #### On Sun's, this should be gcc (ANSI required).
+! CC = gcc
+
+
+ #### For a few files in the source, some compilers may need to be kicked
+ #### in K&R mode. E.g., on SGI's, -cckr does this.
+! knrflag = -cckr
+ #### On most systems, no flag is needed.
+ knrflag =
+
+--- 8,25 ----
+
+ # -------------------------- CUSTOMIZABLE OPTIONS ----------------------------
+
+! # RANLIB = /bin/true
+ #### On non-SGI's, this should be ranlib.
+ RANLIB = ranlib
+
+ CC = cc
+ #### On Sun's, this should be gcc (ANSI required).
+! # CC = gcc
+
+
+ #### For a few files in the source, some compilers may need to be kicked
+ #### in K&R mode. E.g., on SGI's, -cckr does this.
+! # knrflag = -cckr
+ #### On most systems, no flag is needed.
+ knrflag =
+
+***************
+*** 35,50 ****
+ #### For Convex whatever, do -DCONVEX
+ #### For SCO ODT 3.0, do -DSCO -DSVR4 -DMOTIF1_2
+ #### For Motorola SVR4, do -DSVR4 -DMOTOROLA -DMOTIF1_2
+! sysconfigflags =
+
+ #### System libraries.
+! syslibs = -lPW -lsun -lmalloc
+ #### For AIX 3.2
+ # syslibs = -lPW -lbsd
+ #### For most other Motif platforms:
+ # syslibs = -lPW
+ #### For Sun's and Ultrix and HP and BSD/386:
+! syslibs =
+ #### For Sun's with no DNS:
+ # syslibs = -lresolv
+ #### For SCO ODT:
+--- 35,50 ----
+ #### For Convex whatever, do -DCONVEX
+ #### For SCO ODT 3.0, do -DSCO -DSVR4 -DMOTIF1_2
+ #### For Motorola SVR4, do -DSVR4 -DMOTOROLA -DMOTIF1_2
+! sysconfigflags = -DMOTIF1_2
+
+ #### System libraries.
+! # syslibs = -lPW -lsun -lmalloc
+ #### For AIX 3.2
+ # syslibs = -lPW -lbsd
+ #### For most other Motif platforms:
+ # syslibs = -lPW
+ #### For Sun's and Ultrix and HP and BSD/386:
+! # syslibs =
+ #### For Sun's with no DNS:
+ # syslibs = -lresolv
+ #### For SCO ODT:
+***************
+*** 55,61 ****
+ # syslibs = -lnsl -lsocket -lgen
+ #### For Motorola SVR4:
+ # syslibs = -lnsl -lsocket -lgen
+!
+
+ #### X include file locations -- if your platform puts the X include
+ #### files in a strange place, set this variable appropriately. Else
+--- 55,62 ----
+ # syslibs = -lnsl -lsocket -lgen
+ #### For Motorola SVR4:
+ # syslibs = -lnsl -lsocket -lgen
+! #### For FreeBSD 2.x:
+! syslibs = -lgnumalloc
+
+ #### X include file locations -- if your platform puts the X include
+ #### files in a strange place, set this variable appropriately. Else
+***************
+*** 68,78 ****
+ # xinc = -I/usr/include/X11
+ #### BSD/386
+ # xinc = -I/usr/X11/include
+
+ #### X library locations.
+! xlibs = -lXm_s -lXmu -lXt_s -lX11_s
+ #### For Sun's (at least running stock X/Motif as installed on our machines):
+! xlibs = /usr/lib/libXm.a /usr/lib/libXmu.a /usr/lib/libXt.a /usr/lib/libXext.a /usr/lib/libX11.a -lm
+ #### For HP-UX 8.00:
+ # xlibs = -L/usr/lib/Motif1.1 -lXm -L/usr/lib/X11R4 -lXmu -lXt -lX11
+ #### For HP-UX 9.01: The X11R5 libraries are here on our systems
+--- 69,81 ----
+ # xinc = -I/usr/include/X11
+ #### BSD/386
+ # xinc = -I/usr/X11/include
++ #### FreeBSD 2.x
++ xinc = -I/usr/X11R6/include
+
+ #### X library locations.
+! # xlibs = -lXm_s -lXmu -lXt_s -lX11_s
+ #### For Sun's (at least running stock X/Motif as installed on our machines):
+! # xlibs = /usr/lib/libXm.a /usr/lib/libXmu.a /usr/lib/libXt.a /usr/lib/libXext.a /usr/lib/libX11.a -lm
+ #### For HP-UX 8.00:
+ # xlibs = -L/usr/lib/Motif1.1 -lXm -L/usr/lib/X11R4 -lXmu -lXt -lX11
+ #### For HP-UX 9.01: The X11R5 libraries are here on our systems
+***************
+*** 91,96 ****
+--- 94,105 ----
+ # xlibs = -L/usr/X11/lib -lXm -lXmu -lXt -lX11
+ #### For Motorola SVR4:
+ # xlibs = -lXm -lXmu -lXt -lXext -lX11 -lm
++ #### For FreeBSD 2.x:
++ .ifdef SHARED_MOTIF
++ xlibs = -L/usr/X11R6/lib -lXm -lXmu -lXt -lXext -lX11 -lm
++ .else
++ xlibs = -L/usr/X11R6/lib /usr/X11R6/lib/libXm.a -lXmu -lXt -lXext -lX11 -lm
++ .endif
+
+
+ #### DTM AND HDF SUPPORT; READ CAREFULLY
+***************
+*** 114,131 ****
+ #dtmdirs = libdtm libnet
+ #dtmlibs = ../libnet/libnet.a ../libdtm/libdtm.a
+ #dtmflags = -DHAVE_DTM -I.. -I../libnet
+! hdfdir = /hdf2/scratch/sxu/4.0b1_SunOS
+! hdflibs = $(hdfdir)/lib/libnetcdf.a $(hdfdir)/lib/libdf.a
+! hdfflags = -DHAVE_HDF -DHDF -I$(hdfdir)/include
+
+
+ #### JPEG SUPPORT
+ #### For inline JPEG support, the following should be defined:
+ #### The library used is Independent JPEG Group (IJG's) 5.0a.
+
+! jpegdir = /X11/mosaic/libjpeg/sun4
+! jpeglibs = $(jpegdir)/libjpeg.a
+! jpegflags = -I$(jpegdir) -DHAVE_JPEG
+
+
+ #### DIRECT WAIS SUPPORT
+--- 123,140 ----
+ #dtmdirs = libdtm libnet
+ #dtmlibs = ../libnet/libnet.a ../libdtm/libdtm.a
+ #dtmflags = -DHAVE_DTM -I.. -I../libnet
+! #hdfdir = /hdf2/scratch/sxu/4.0b1_SunOS
+! #hdflibs = $(hdfdir)/lib/libnetcdf.a $(hdfdir)/lib/libdf.a
+! #hdfflags = -DHAVE_HDF -DHDF -I$(hdfdir)/include
+
+
+ #### JPEG SUPPORT
+ #### For inline JPEG support, the following should be defined:
+ #### The library used is Independent JPEG Group (IJG's) 5.0a.
+
+! jpegdir = # ../libjpeg
+! jpeglibs = -L/usr/local/lib -ljpeg # $(jpegdir)/libjpeg.a
+! jpegflags = -I/usr/local/include -DHAVE_JPEG # -I$(jpegdir) -DHAVE_JPEG
+
+
+ #### DIRECT WAIS SUPPORT
+***************
+*** 143,152 ****
+
+ #### -lm is required for freeWAIS 0.1, as ceil() is used.
+
+! waisroot = /X11/mosaic/freeWAIS-0.202-sun
+! waisflags = -DDIRECT_WAIS -I$(waisroot)/ir
+! waislibdir = $(waisroot)/bin
+! waislibs = $(waislibdir)/inv.a $(waislibdir)/wais.a $(waislibdir)/libftw.a -lm
+
+
+ #### PEM/PGP SUPPORT
+--- 152,161 ----
+
+ #### -lm is required for freeWAIS 0.1, as ceil() is used.
+
+! #waisroot = /X11/mosaic/freeWAIS-0.202-sun
+! #waisflags = -DDIRECT_WAIS -I$(waisroot)/ir
+! #waislibdir = $(waisroot)/bin
+! #waislibs = $(waislibdir)/inv.a $(waislibdir)/wais.a $(waislibdir)/libftw.a -lm
+
+
+ #### PEM/PGP SUPPORT
+***************
+*** 184,191 ****
+
+ # ---------------------- END OF CUSTOMIZABLE OPTIONS -------------------------
+
+
+! CFLAGS = -g $(sysconfigflags)
+
+ # Don't worry about these -- for development purposes only.
+ PURIFY = purify
+--- 193,203 ----
+
+ # ---------------------- END OF CUSTOMIZABLE OPTIONS -------------------------
+
++ install:
++ install -c -s -g bin -m 0555 -o bin src/Mosaic ${PREFIX}/bin/Mosaic
++
+
+! CFLAGS+= $(sysconfigflags)
+
+ # Don't worry about these -- for development purposes only.
+ PURIFY = purify
diff --git a/www/Mosaic/files/patch-ab b/www/Mosaic/files/patch-ab
new file mode 100644
index 000000000000..e479c7430158
--- /dev/null
+++ b/www/Mosaic/files/patch-ab
@@ -0,0 +1,12 @@
+*** libwww2/HTTCP.c.orig Mon Aug 7 17:12:22 1995
+--- libwww2/HTTCP.c Mon Aug 7 17:12:28 1995
+***************
+*** 65,71 ****
+ extern int errno;
+ #endif /* errno */
+
+- extern char *sys_errlist[]; /* see man perror on cernvax */
+ extern int sys_nerr;
+
+ /* Report Internet Error
+--- 65,70 ----
diff --git a/www/Mosaic/files/patch-ac b/www/Mosaic/files/patch-ac
new file mode 100644
index 000000000000..9e24bda8008d
--- /dev/null
+++ b/www/Mosaic/files/patch-ac
@@ -0,0 +1,12 @@
+*** src/gui-dialogs.c.orig Mon Aug 7 18:23:34 1995
+--- src/gui-dialogs.c Mon Aug 7 18:23:46 1995
+***************
+*** 75,81 ****
+ /*swp -- for ~ expansion*/
+ #include <pwd.h>
+ extern int sys_nerr;
+- extern char *sys_errlist[];
+ extern int errno;
+ #define __MAX_HOME_LEN__ 256
+ int pathEval(char *dest, char *src);
+--- 75,80 ----
diff --git a/www/Mosaic/files/patch-ad b/www/Mosaic/files/patch-ad
new file mode 100644
index 000000000000..ad356c4730fb
--- /dev/null
+++ b/www/Mosaic/files/patch-ad
@@ -0,0 +1,19 @@
+*** src/xresources.h.orig Mon Aug 7 19:37:50 1995
+--- src/xresources.h Mon Aug 7 19:38:55 1995
+***************
+*** 95,101 ****
+ offset (confirm_exit), XtRString, "True" },
+ /* THIS USED TO BE mailCommand BUT IS NOW sendmailCommand. */
+ { "sendmailCommand", "SendmailCommand", XtRString, sizeof (char *),
+! offset (sendmail_command), XtRString, "/usr/lib/sendmail" },
+ /* Ignore this. Stealth feature. */
+ { "mailFilterCommand", "MailFilterCommand", XtRString, sizeof (char *),
+ offset (mail_filter_command), XtRString, NULL },
+--- 95,101 ----
+ offset (confirm_exit), XtRString, "True" },
+ /* THIS USED TO BE mailCommand BUT IS NOW sendmailCommand. */
+ { "sendmailCommand", "SendmailCommand", XtRString, sizeof (char *),
+! offset (sendmail_command), XtRString, "/usr/sbin/sendmail" },
+ /* Ignore this. Stealth feature. */
+ { "mailFilterCommand", "MailFilterCommand", XtRString, sizeof (char *),
+ offset (mail_filter_command), XtRString, NULL },
diff --git a/www/Mosaic/pkg-comment b/www/Mosaic/pkg-comment
new file mode 100644
index 000000000000..e00f0ad9ebf8
--- /dev/null
+++ b/www/Mosaic/pkg-comment
@@ -0,0 +1 @@
+Mosaic - a World Wide Web browser, version 2.6
diff --git a/www/Mosaic/pkg-descr b/www/Mosaic/pkg-descr
new file mode 100644
index 000000000000..e00f0ad9ebf8
--- /dev/null
+++ b/www/Mosaic/pkg-descr
@@ -0,0 +1 @@
+Mosaic - a World Wide Web browser, version 2.6
diff --git a/www/Mosaic/pkg-plist b/www/Mosaic/pkg-plist
new file mode 100644
index 000000000000..61fb386502f1
--- /dev/null
+++ b/www/Mosaic/pkg-plist
@@ -0,0 +1 @@
+bin/Mosaic