summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/communicator/files/md53
-rw-r--r--www/communicator/pkg/DESCR.linux-powerpc4
-rw-r--r--www/communicator/pkg/MESSAGE7
-rw-r--r--www/navigator/Makefile.common51
4 files changed, 58 insertions, 7 deletions
diff --git a/www/communicator/files/md5 b/www/communicator/files/md5
index 53441947f0f..d0159247d1b 100644
--- a/www/communicator/files/md5
+++ b/www/communicator/files/md5
@@ -1,7 +1,8 @@
-$NetBSD: md5,v 1.18 2000/10/27 02:20:55 tron Exp $
+$NetBSD: md5,v 1.19 2001/03/10 22:31:58 kei Exp $
MD5 (netscape/communicator-v461-export.sparc-sun-sunos4.1.3_U1.tar.gz) = 26d2944a58d6fa8c73ff5a4a2f3d7258
MD5 (netscape/communicator-v476-us.alpha-dec-osf4.0.tar.gz) = af1e2bcc1f4f6fc8dc50a7547e1e0cd3
MD5 (netscape/communicator-v476-us.sparc-sun-solaris2.5.1.tar.gz) = c186b909971f51f5b52797994d1727d3
MD5 (netscape/communicator-v475-us.x86-bsdi-bsd2.tar.gz) = 30280590f4e75bea070ec6e4f902cff0
MD5 (netscape/communicator-v476-us.x86-unknown-linux2.2.tar.gz) = 720de067072ff74d1e0c4aaa47eeae5c
+MD5 (netscape-4.7-3.ppc.rpm) = 7dda2ce0712b1f55c359b52d3bbf8c8c
diff --git a/www/communicator/pkg/DESCR.linux-powerpc b/www/communicator/pkg/DESCR.linux-powerpc
new file mode 100644
index 00000000000..60f05d2ccdc
--- /dev/null
+++ b/www/communicator/pkg/DESCR.linux-powerpc
@@ -0,0 +1,4 @@
+Communicator is a WWW and ftp browser, mail client, newsgroup reader,
+web page editor and address book organizer. This is the distributed
+version from linuxppc.org, not Netscape. A Newer version of the
+Netscape browser is available in pkgsrc as 'mozilla'.
diff --git a/www/communicator/pkg/MESSAGE b/www/communicator/pkg/MESSAGE
index 1903423b075..bd7cea9f38d 100644
--- a/www/communicator/pkg/MESSAGE
+++ b/www/communicator/pkg/MESSAGE
@@ -1,5 +1,5 @@
==============================================================================
-$NetBSD: MESSAGE,v 1.7 2001/02/05 18:55:59 abs Exp $
+$NetBSD: MESSAGE,v 1.8 2001/03/10 22:31:59 kei Exp $
alpha: The Digital UNIX version of Netscape requires COMPAT_OSF1 in your
kernel, plus /emul/osf1 libraries.
@@ -7,6 +7,11 @@ alpha: The Digital UNIX version of Netscape requires COMPAT_OSF1 in your
i386: The Linux version of Netscape requires your kernel to include
'COMPAT_LINUX' (plus in NetBSD systems before 1.5 'EXEC_ELF32').
+powerpc:
+ The Linux version of Netscape requires your kernel to include
+ 'COMPAT_LINUX' option. The Linux libraries are automatically
+ installed as package dependancy.
+
sparc: The SunOS version of Netscape requires COMPAT_SUNOS in your kernel,
plus /emul/sunos libraries. The default version is DNS, the NIS
version is 'netscape_nis'. Netscape appears to have stopped with 4.61.
diff --git a/www/navigator/Makefile.common b/www/navigator/Makefile.common
index a16f5f42436..b4221e2829e 100644
--- a/www/navigator/Makefile.common
+++ b/www/navigator/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.30 2001/03/06 09:38:30 jlam Exp $
+# $NetBSD: Makefile.common,v 1.31 2001/03/10 22:31:57 kei Exp $
#
# Common include file for communicator and navigator packages
@@ -71,26 +71,65 @@ DIST_DIR_NAME= unsupported/sunos413
WRKNAME= ${DISTUNAME}
VENDOR_NAME= SunOS 4.1.3
MASTER_SITES= ftp://archive.netscape.com/archive/communicator/${SUB}/
+#
+.elif (${MACHINE_ARCH} == "powerpc")
+.if (${BINNAME} == "navigator")
+IGNORE= "There is no navigator-only package for PowerPC"
+IGNORE+= "platform. Please cd to ../communicator and"
+IGNORE+= "install communicator package instead."
+.endif
+DEPENDS+= linuxppc_lib>=2000.q4.2:../../emulators/linuxppc_lib
+NS_VERS= 4.73
+DISTNAME= netscape-4.7-3.ppc
+PKGNAME= ${BINNAME}-${NS_VERS}
+WRKSRC= ${WRKDIR}
+MASTER_SITES= ftp://ftp.linuxppc.org/linuxppc-halloween/software/
+EXTRACT_SUFX= .rpm
+HOMEPAGE= http://linuxppc.org/software/index/linuxppc_stable/software/netscape-4.7-3.ppc.html
+BUILD_DEPENDS= ${RPM2PKG}:../../pkgtools/rpm2pkg
+DESCR_SRC= ${WRKDIR}/DESCR.linux-powerpc
+PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+EMULSUBDIR= emul/linux
+EMULDIR= ${PREFIX}/${EMULSUBDIR}
+SORT= sort
+RPM2PKG= rpm2pkg
+RPM2PKGARGS= -d ${PREFIX} -f ${PLIST_SRC} -p ${EMULSUBDIR}
+RPM2PKGARGS+= ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}
+VENDER_NAME= # empty. what should be here?
.endif
#
NO_BUILD= yes
MAINTAINER= abs@netbsd.org
-HOMEPAGE= http://home.netscape.com/browsers/index.html
+HOMEPAGE?= http://home.netscape.com/browsers/index.html
RESTRICTED= "No re-distribution without agreement from Netscape"
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_SRC_ON_FTP= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
-ONLY_FOR_PLATFORM= *-*-alpha *-*-i386 *-*-sparc
+ONLY_FOR_PLATFORM= *-*-alpha *-*-i386 *-*-powerpc *-*-sparc
CATEGORIES= www
NS_NAME= ${BINNAME}-${NS_VERS}
-PKGNAME= ${BINNAME}-${NS_VERS}nb1
-DISTNAME= ${BINNAME}-v${NS_VERS_SHORT}-${NS_ENCRYPTION}.${DISTUNAME}
+PKGNAME?= ${BINNAME}-${NS_VERS}nb1
+DISTNAME?= ${BINNAME}-v${NS_VERS_SHORT}-${NS_ENCRYPTION}.${DISTUNAME}
.if (${BINNAME} != "netscape")
+.if (${MACHINE_ARCH} == "powerpc")
+
+do-extract:
+ ${MKDIR} ${WRKSRC}
+
+do-install:
+ ${CP} ${PKGDIR}/DESCR.linux-powerpc ${WRKDIR}
+ ${RM} -f ${PLIST_SRC}
+ ${RPM2PKG} -d ${PREFIX} -f ${PLIST_SRC} -p ${EMULSUBDIR} ${RPM2PKGARGS}
+ ${SORT} -r ${PLIST_SRC} > ${PLIST_SRC}.sorted
+ ${MV} ${PLIST_SRC}.sorted ${PLIST_SRC}
+
+.else
+
NS_VERS_SHORT= ${NS_VERS:S/.//}
SUB= english/${NS_VERS}/unix/${DIST_DIR_NAME}/${DIST_SDIR_NAME}
@@ -148,3 +187,5 @@ do-install:
@${RM} -f ${MOZILLA_HOME}/bookmark.htm.orig -f ${MOZILLA_HOME}/bookmark.htm~
.endif
+
+.endif