diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2003-05-16 03:43:58 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2003-05-16 03:43:58 +0000 |
commit | ac10bcd06274474938405445c34d9c00d13ba360 (patch) | |
tree | f775eba28b79e50d084e86d48db967c53823462b | |
parent | Bring back the last commerical Netscape for DEC Alpha. (diff) |
Bring back the last commerical Netscape for DEC Alpha.
Reviewed by: freebsd-alpha
Approved by: kris
Notes
Notes:
svn path=/head/; revision=81075
Diffstat (limited to '')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/netscape47-communicator/Makefile | 81 | ||||
-rw-r--r-- | www/netscape47-communicator/distinfo | 2 | ||||
-rw-r--r-- | www/netscape47-communicator/files/mailcap | 69 | ||||
-rw-r--r-- | www/netscape47-communicator/files/netscape.sh | 7 | ||||
-rw-r--r-- | www/netscape47-communicator/pkg-descr | 8 | ||||
-rw-r--r-- | www/netscape47-communicator/pkg-plist | 9 | ||||
-rw-r--r-- | www/netscape47-navigator/Makefile | 14 | ||||
-rw-r--r-- | www/netscape47-navigator/pkg-plist | 158 |
9 files changed, 349 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 3bb2744db622..e2cb3aa24928 100644 --- a/www/Makefile +++ b/www/Makefile @@ -250,6 +250,7 @@ SUBDIR += netscape-remote SUBDIR += netscape-wrapper SUBDIR += netscape47-communicator + SUBDIR += netscape47-navigator SUBDIR += netscape48-communicator SUBDIR += netscape48-navigator SUBDIR += netscape7 diff --git a/www/netscape47-communicator/Makefile b/www/netscape47-communicator/Makefile new file mode 100644 index 000000000000..0d0914951dc8 --- /dev/null +++ b/www/netscape47-communicator/Makefile @@ -0,0 +1,81 @@ +# ex:ts=8 +# New ports collection makefile for: netscape (full communicator version) +# Date created: 24 Feb 1997 +# Whom: ache +# +# $FreeBSD$ +# + +PORTNAME?= netscape-${BROWSER_NAME} +PORTVERSION= 4.78 +CATEGORIES= www +MASTER_SITES= ${MASTER_SITE_NETSCAPE} +DISTFILES= ${BROWSER_NAME}-v${PORTVERSION:S/.//g}-us.${NETSCAPE_DIST_TAG}.tar.gz + +MAINTAINER= freebsd-alpha@FreeBSD.org +COMMENT?= Netscape version 4 communicator web-surfboard for DEC Alpha + +RUN_DEPENDS+= /compat/osf1/usr/shlib/libc.so:${PORTSDIR}/emulators/osf1_base +RUN_DEPENDS+= netscape:${PORTSDIR}/www/netscape-wrapper + +WRKSRC= ${WRKDIR}/${BROWSER_NAME}-v${PORTVERSION:S/.//g}.${NETSCAPE_DIST_TAG} +ONLY_FOR_ARCHS= alpha +USE_XLIB= yes +NO_BUILD= yes +NO_FILTER_SHLIBS= yes +STRIP= # null +#PKGDIR= ${.CURDIR} +PLIST_SUB= BROWSER=${BROWSER_ARC} BROWSER_VER=${PORTVERSION} +MASTER_SITE_SUBDIR= communicator/english/${PORTVERSION}/unix/supported/dec_unix40/${NETSCAPE_DIST_GRADE} + +BROWSER_NAME?= communicator +BROWSER_ARC= ${BROWSER_NAME}-osf1 +.if defined(BROWSER_NAME) && ${BROWSER_NAME} == "navigator" +NETSCAPE_DIST_GRADE= navigator_standalone +.endif +NETSCAPE_DIST_GRADE?= complete_install +NETSCAPE_DIST_TAG= alpha-dec-osf4.0 +NDIR= ${PREFIX}/${NSUBDIR} +NSUBDIR= lib/netscape +BINDIR= ${PREFIX}/bin +INFILE_HEAD?= 'Communicator,4.78.0.20010625' +WRAPPER_TEMPLATE= ${MASTERDIR}/files/netscape.sh +MAILCAP= ${MASTERDIR}/files/mailcap + +post-configure: + @${SED} -e "s;@PREFIX@;${PREFIX};g" -e "s;@NSUBDIR@;${NSUBDIR};g" \ + -e "s;@BROWSER@;${BROWSER_ARC};g" \ + -e "s;@BROWSER_VER@;${PORTVERSION};g" \ + ${WRAPPER_TEMPLATE} >${WRKSRC}/netscape + @${CHMOD} +x ${WRKSRC}/netscape + @${ECHO_CMD} -n ${INFILE_HEAD},${NDIR} >${WRKSRC}/infile + +do-install: + ${MKDIR} ${NDIR}/java/classes + for i in ${WRKSRC}/*.nif; do \ + ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} $${i} ${EXTRACT_AFTER_ARGS} -C ${NDIR}; \ + done + ${INSTALL_DATA} ${WRKSRC}/*.jar ${NDIR}/java/classes + ${INSTALL_PROGRAM} ${WRKSRC}/vreg ${NDIR} + ${WRKSRC}/vreg ${NDIR}/registry ${WRKSRC}/infile + ${MV} -f ${NDIR}/netscape ${NDIR}/${BROWSER_ARC}-${PORTVERSION}.bin + ${INSTALL_SCRIPT} ${WRKSRC}/netscape ${BINDIR}/${BROWSER_ARC}-${PORTVERSION} + ${LN} -sf ${BROWSER_ARC}-${PORTVERSION} ${BINDIR}/${BROWSER_ARC}-4 + ${LN} -sf ${BROWSER_ARC}-4 ${BINDIR}/netscape.run + if [ ! -f ${NDIR}/mailcap ] ; then \ + ${INSTALL_DATA} ${MAILCAP} ${NDIR}; \ + fi + ${RM} -rf ${NDIR}/movemail-src + ${CHOWN} -R root:wheel ${NDIR} + +post-install: + cd ${PREFIX} ;\ + ${FIND} ${NSUBDIR} -type f -o -type l \ + >${WRKDIR}/PLIST.ns-lib + cd ${PREFIX} ;\ + ${FIND} ${NSUBDIR} -type d \ + | sort -r | ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.ns-lib + ${ECHO_CMD} "@unexec rmdir %D/${NSUBDIR} 2>&1 || true" >> ${WRKDIR}/PLIST.ns-lib + ${CAT} ${DESCR} + +.include <bsd.port.mk> diff --git a/www/netscape47-communicator/distinfo b/www/netscape47-communicator/distinfo new file mode 100644 index 000000000000..4c682438d72b --- /dev/null +++ b/www/netscape47-communicator/distinfo @@ -0,0 +1,2 @@ +MD5 (communicator-v478-us.alpha-dec-osf4.0.tar.gz) = 7f1f12f4a2c1abb6b4f50739f6cdf6bd +MD5 (navigator-v478-us.alpha-dec-osf4.0.tar.gz) = 5c4283489e79f7c2e9de6b50b97f681f diff --git a/www/netscape47-communicator/files/mailcap b/www/netscape47-communicator/files/mailcap new file mode 100644 index 000000000000..61daeb5db716 --- /dev/null +++ b/www/netscape47-communicator/files/mailcap @@ -0,0 +1,69 @@ +# Example .mailcap file for FreeBSD machines +# +# First a note about syntax: +# The first token in a configuration line represents a mime type. +# A mime type is of the form "SubGroup/Item" and either token +# can be replaced by the wildcard character "*" +# +# the second token is the command that you would run +# when the specified mime type is encountered. An example +# would be "xv %s" where %s will be replaced by a filename +# +# remaining tokens represent name value pairs. +# +# the "test=<SOME TEST COMMAND>" pair invokes the test command +# specified and checks the UNIX shell return code to see if the +# test passed. If the test passes the mime mapping is made, otherwise +# the mapping is not made. +# +# the "stream-buffer-size=<NUMBER>" pair tells the application +# to use a popen command to invoke the program specified and to +# pipe all data into the command. Only programs that can handle +# piped input can use this method. When this method is used +# a "%s" should not be included in the command. You should +# make sure that the program you wish to use can accept piped +# data by trying something like this before using it: +# cat "YOUR_DATA_FILE_HERE" | COMMAND_TO_TEST +# +# You may continue lines by using the backslash character "\" + +# FreeBSD doesn't seem to support `sfplay' yet, but if a port comes +# along then the following should be enabled. +# +# plays AIFF files +#audio/x-aiff; sfplay %s + +# plays AIFC files +#audio/x-aifc; sfplay %s + +# FreeBSD has no wavplay utility either, but if someone +# would care to port one then this can also be used. +# plays WAV files +#audio/x-wav; wavplay %s > /dev/null 2>&1 + +# FreeBSD /dev/audio is sun compliant +audio/basic; cat %s > /dev/audio + +# use this to play MPEG audio if you have maplay installed +audio/x-mpeg; maplay -; stream-buffer-size=2000 + +# use this to play MPEG video files if you have mpeg_play installed +video/mpeg; mpeg_play -quiet %s + +# All other anims go well with xanim (if installed) +video/*; xanim %s > /dev/null 2>&1 + +# use this to display postscript files +application/postscript; ghostview %s + +# use this to display pdf files +application/pdf; xpdf %s 2>/dev/null + +# this is the default for non GIF or JPEG images +image/*; xv %s + +# if you would prefer an external viewer for GIF and JPEG images +# uncomment the following lines for XV to act as your external viewer. +#image/gif; xv %s +#image/jpg; xv %s +#image/jpeg; xv %s diff --git a/www/netscape47-communicator/files/netscape.sh b/www/netscape47-communicator/files/netscape.sh new file mode 100644 index 000000000000..f5b5ba66eed1 --- /dev/null +++ b/www/netscape47-communicator/files/netscape.sh @@ -0,0 +1,7 @@ +#!/bin/sh +export MOZILLA_HOME; MOZILLA_HOME=${MOZILLA_HOME:=@PREFIX@/@NSUBDIR@} +export NPX_PLUGIN_PATH; NPX_PLUGIN_PATH=${MOZILLA_HOME}/plugins +export CLASSPATH ; CLASSPATH=.:$MOZILLA_HOME +export XCMSDB; XCMSDB=/dev/null +ulimit -c 0 +exec $MOZILLA_HOME/@BROWSER@-@BROWSER_VER@.bin "$@" diff --git a/www/netscape47-communicator/pkg-descr b/www/netscape47-communicator/pkg-descr new file mode 100644 index 000000000000..e0a83b68e9ae --- /dev/null +++ b/www/netscape47-communicator/pkg-descr @@ -0,0 +1,8 @@ +This is the netscape web-surfboard. Please read the file +"/usr/local/lib/netscape/LICENSE" for the licensing terms. + +Note: If Java applets fail to display. Type this as root: + cd /usr/X11R6/lib/X11/fonts/misc + /usr/X11R6/bin/mkfontdir + chmod 444 fonts.dir + And then exit and restart your X server. diff --git a/www/netscape47-communicator/pkg-plist b/www/netscape47-communicator/pkg-plist new file mode 100644 index 000000000000..b05219d17019 --- /dev/null +++ b/www/netscape47-communicator/pkg-plist @@ -0,0 +1,9 @@ +bin/%%BROWSER%%-%%BROWSER_VER%% +@exec ln -sf %f %B/%%BROWSER%%-4 +@exec ln -sf %%BROWSER%%-4 %B/netscape.run +@unexec rm -f %B/netscape.run +@unexec rm -f %B/%%BROWSER%%-4 +@comment Insert PLIST.gcc-lib here +@comment -=[ begin PLIST.ns-lib ]=- +@comment -=[ end PLIST.ns-lib ]=- +@unexec rmdir %D/%%NSUBDIR%% 2>/dev/null || true diff --git a/www/netscape47-navigator/Makefile b/www/netscape47-navigator/Makefile new file mode 100644 index 000000000000..90ae0b7e4350 --- /dev/null +++ b/www/netscape47-navigator/Makefile @@ -0,0 +1,14 @@ +# ex:ts=8 +# New ports collection makefile for: linux-netscape48-navigator +# Date created: 26 Aug 2002 +# Whom: sada +# +# $FreeBSD$ +# + +MASTERDIR= ${.CURDIR}/../netscape4-communicator +COMMENT?= DEC Alpha Netscape version 4 navigator web-surfboard + +BROWSER_NAME= navigator + +.include "${MASTERDIR}/Makefile" diff --git a/www/netscape47-navigator/pkg-plist b/www/netscape47-navigator/pkg-plist new file mode 100644 index 000000000000..b8b6fe8c4f03 --- /dev/null +++ b/www/netscape47-navigator/pkg-plist @@ -0,0 +1,158 @@ +bin/%%BROWSER%%-%%BROWSER_VER%% +@exec ln -sf %f %B/%%BROWSER%%-4 +@exec ln -sf %%BROWSER%%-4 %B/netscape.run +@unexec rm -f %B/netscape.run +@unexec rm -f %B/%%BROWSER%%-4 +%%NSUBDIR%%/%%BROWSER%%-%%BROWSER_VER%%.bin +%%NSUBDIR%%/LICENSE +%%NSUBDIR%%/Netscape.ad +%%NSUBDIR%%/README +%%NSUBDIR%%/XKeysymDB +%%NSUBDIR%%/bookmark.htm +%%NSUBDIR%%/java/classes/aix/font.properties +%%NSUBDIR%%/java/classes/aix/font.properties.cs +%%NSUBDIR%%/java/classes/aix/font.properties.hu +%%NSUBDIR%%/java/classes/aix/font.properties.ja +%%NSUBDIR%%/java/classes/aix/font.properties.ko +%%NSUBDIR%%/java/classes/aix/font.properties.pl +%%NSUBDIR%%/java/classes/aix/font.properties.ru +%%NSUBDIR%%/java/classes/aix/font.properties.zh +%%NSUBDIR%%/java/classes/aix/font.properties.zh_TW +%%NSUBDIR%%/java/classes/awt.properties +%%NSUBDIR%%/java/classes/font.properties +%%NSUBDIR%%/java/classes/font.properties.cs +%%NSUBDIR%%/java/classes/font.properties.el +%%NSUBDIR%%/java/classes/font.properties.hu +%%NSUBDIR%%/java/classes/font.properties.ja +%%NSUBDIR%%/java/classes/font.properties.ko +%%NSUBDIR%%/java/classes/font.properties.lt +%%NSUBDIR%%/java/classes/font.properties.lv +%%NSUBDIR%%/java/classes/font.properties.pl +%%NSUBDIR%%/java/classes/font.properties.ru +%%NSUBDIR%%/java/classes/font.properties.tr +%%NSUBDIR%%/java/classes/font.properties.zh +%%NSUBDIR%%/java/classes/font.properties.zh_GB2312 +%%NSUBDIR%%/java/classes/font.properties.zh_TW +%%NSUBDIR%%/java/classes/font.properties.zh_TW_Big5 +%%NSUBDIR%%/java/classes/font.properties.zh_TW_CNS11643 +%%NSUBDIR%%/java/classes/hpux/font.properties +%%NSUBDIR%%/java/classes/hpux/font.properties.bg +%%NSUBDIR%%/java/classes/hpux/font.properties.cs +%%NSUBDIR%%/java/classes/hpux/font.properties.el +%%NSUBDIR%%/java/classes/hpux/font.properties.hr +%%NSUBDIR%%/java/classes/hpux/font.properties.hu +%%NSUBDIR%%/java/classes/hpux/font.properties.ja +%%NSUBDIR%%/java/classes/hpux/font.properties.ko +%%NSUBDIR%%/java/classes/hpux/font.properties.pl +%%NSUBDIR%%/java/classes/hpux/font.properties.ro +%%NSUBDIR%%/java/classes/hpux/font.properties.ru +%%NSUBDIR%%/java/classes/hpux/font.properties.sk +%%NSUBDIR%%/java/classes/hpux/font.properties.sl +%%NSUBDIR%%/java/classes/hpux/font.properties.tr +%%NSUBDIR%%/java/classes/hpux/font.properties.zh_GB2312 +%%NSUBDIR%%/java/classes/hpux/font.properties.zh_TW_Big5 +%%NSUBDIR%%/java/classes/hpux/font.properties.zh_TW_CNS11643 +%%NSUBDIR%%/java/classes/ifc11.jar +%%NSUBDIR%%/java/classes/iiop10.jar +%%NSUBDIR%%/java/classes/irix/font.properties +%%NSUBDIR%%/java/classes/irix/font.properties.cs +%%NSUBDIR%%/java/classes/irix/font.properties.el +%%NSUBDIR%%/java/classes/irix/font.properties.hu +%%NSUBDIR%%/java/classes/irix/font.properties.ja +%%NSUBDIR%%/java/classes/irix/font.properties.ko +%%NSUBDIR%%/java/classes/irix/font.properties.zh_GB2312 +%%NSUBDIR%%/java/classes/irix/font.properties.zh_TW_Big5 +%%NSUBDIR%%/java/classes/irix/font.properties.zh_TW_CNS11643 +%%NSUBDIR%%/java/classes/jae40.jar +%%NSUBDIR%%/java/classes/java40.jar +%%NSUBDIR%%/java/classes/jio40.jar +%%NSUBDIR%%/java/classes/joptio40.jar +%%NSUBDIR%%/java/classes/jsd10.jar +%%NSUBDIR%%/java/classes/ldap40.jar +%%NSUBDIR%%/java/classes/resource.jar +%%NSUBDIR%%/java/classes/scd10.jar +%%NSUBDIR%%/libnullplugin-dynMotif.so +%%NSUBDIR%%/mailcap +%%NSUBDIR%%/nethelp/Back_dep.gif +%%NSUBDIR%%/nethelp/Back_dis.gif +%%NSUBDIR%%/nethelp/Back_sel.gif +%%NSUBDIR%%/nethelp/Back_up.gif +%%NSUBDIR%%/nethelp/Blank.htm +%%NSUBDIR%%/nethelp/Button.js +%%NSUBDIR%%/nethelp/CntData.js +%%NSUBDIR%%/nethelp/CntTool.htm +%%NSUBDIR%%/nethelp/CntTool.js +%%NSUBDIR%%/nethelp/Exit_dep.gif +%%NSUBDIR%%/nethelp/Exit_sel.gif +%%NSUBDIR%%/nethelp/Exit_up.gif +%%NSUBDIR%%/nethelp/Forw_dep.gif +%%NSUBDIR%%/nethelp/Forw_dis.gif +%%NSUBDIR%%/nethelp/Forw_sel.gif +%%NSUBDIR%%/nethelp/Forw_up.gif +%%NSUBDIR%%/nethelp/Header.js +%%NSUBDIR%%/nethelp/IdxData.js +%%NSUBDIR%%/nethelp/IdxFill.htm +%%NSUBDIR%%/nethelp/IdxKey.htm +%%NSUBDIR%%/nethelp/IdxTool.htm +%%NSUBDIR%%/nethelp/IdxTopic.htm +%%NSUBDIR%%/nethelp/Local-1.js +%%NSUBDIR%%/nethelp/NSHIfrm.htm +%%NSUBDIR%%/nethelp/NavUI.htm +%%NSUBDIR%%/nethelp/NoJSerr.htm +%%NSUBDIR%%/nethelp/Prnt_dep.gif +%%NSUBDIR%%/nethelp/Prnt_sel.gif +%%NSUBDIR%%/nethelp/Prnt_up.gif +%%NSUBDIR%%/nethelp/Stack.js +%%NSUBDIR%%/nethelp/Status.htm +%%NSUBDIR%%/nethelp/System.htm +%%NSUBDIR%%/nethelp/System.js +%%NSUBDIR%%/nethelp/ToolUI.htm +%%NSUBDIR%%/nethelp/Tool_dep.gif +%%NSUBDIR%%/nethelp/Tool_sel.gif +%%NSUBDIR%%/nethelp/Tool_up.gif +%%NSUBDIR%%/nethelp/Topic.js +%%NSUBDIR%%/nethelp/Utility.js +%%NSUBDIR%%/nethelp/Wait.gif +%%NSUBDIR%%/nethelp/netscape/home/help.hpf +%%NSUBDIR%%/nethelp/netscape/home/home.gif +%%NSUBDIR%%/nethelp/netscape/home/home.htm +%%NSUBDIR%%/nethelp/netscape/home/homeHdr.htm +%%NSUBDIR%%/nethelp/netscape/navigatr/help.hpf +%%NSUBDIR%%/nethelp/netscape/navigatr/nav.htm +%%NSUBDIR%%/nethelp/netscape/navigatr/navHdr.htm +%%NSUBDIR%%/nethelp/netscape/navigatr/navigatr.gif +%%NSUBDIR%%/nethelp/netscape/shared/NetHelpm.css +%%NSUBDIR%%/nethelp/netscape/shared/NetHelpu.css +%%NSUBDIR%%/nethelp/netscape/shared/NetHelpw.css +%%NSUBDIR%%/nethelp/netscape/shared/admnIcon.gif +%%NSUBDIR%%/nethelp/netscape/shared/calIcon.gif +%%NSUBDIR%%/nethelp/netscape/shared/collIcon.gif +%%NSUBDIR%%/nethelp/netscape/shared/commIcon.gif +%%NSUBDIR%%/nethelp/netscape/shared/compIcon.gif +%%NSUBDIR%%/nethelp/netscape/shared/confIcon.gif +%%NSUBDIR%%/nethelp/netscape/shared/ibmIcon.gif +%%NSUBDIR%%/nethelp/netscape/shared/messIcon.gif +%%NSUBDIR%%/nethelp/netscape/shared/navIcon.gif +%%NSUBDIR%%/nethelp/netscape/shared/netIcon.gif +%%NSUBDIR%%/nethelp/netwatch.gif +%%NSUBDIR%%/nethelp/picsfail.htm +%%NSUBDIR%%/nethelp/picsfail.jar +%%NSUBDIR%%/netscape-dynMotif +%%NSUBDIR%%/plugins/ShockwaveFlash.class +%%NSUBDIR%%/plugins/cpPack1.jar +%%NSUBDIR%%/plugins/libflashplayer.so +%%NSUBDIR%%/plugins/libnullplugin.so +%%NSUBDIR%%/registry +%%NSUBDIR%%/vreg +@dirrm %%NSUBDIR%%/java/classes/aix +@dirrm %%NSUBDIR%%/java/classes/hpux +@dirrm %%NSUBDIR%%/java/classes/irix +@dirrm %%NSUBDIR%%/java/classes +@dirrm %%NSUBDIR%%/java +@dirrm %%NSUBDIR%%/nethelp/netscape/home +@dirrm %%NSUBDIR%%/nethelp/netscape/navigatr +@dirrm %%NSUBDIR%%/nethelp/netscape/shared +@dirrm %%NSUBDIR%%/nethelp/netscape +@dirrm %%NSUBDIR%%/nethelp +@dirrm %%NSUBDIR%%/plugins +@dirrm %%NSUBDIR%% |