summaryrefslogtreecommitdiff
path: root/www/netscape7/Makefile
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2002-09-19 22:33:48 +0000
committerjschauma <jschauma@pkgsrc.org>2002-09-19 22:33:48 +0000
commit0224de848e3acdd7d24110c972c8b45f862a82c8 (patch)
treeb94c53019a55e8f6555e2c236a616009a8bf5f64 /www/netscape7/Makefile
parent8a3663c88b8b9b6d445101828cca0e9a18f54c46 (diff)
downloadpkgsrc-0224de848e3acdd7d24110c972c8b45f862a82c8.tar.gz
Initial import of www/netscape7 -- this is Netscape's famous Browser/Mail- and
Newclient suite version 7.0, now including AIM and ICQ clients etc. It is run under Linux emulation on NetBSD. At the moment, this package is only for NetBSD-*-i386 and Linux-*-i[3-6]86.
Diffstat (limited to 'www/netscape7/Makefile')
-rw-r--r--www/netscape7/Makefile54
1 files changed, 54 insertions, 0 deletions
diff --git a/www/netscape7/Makefile b/www/netscape7/Makefile
new file mode 100644
index 00000000000..a8ae6ba14d1
--- /dev/null
+++ b/www/netscape7/Makefile
@@ -0,0 +1,54 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/09/19 22:33:49 jschauma Exp $
+#
+
+DISTNAME= netscape-i686-pc-linux-gnu-installer
+PKGNAME= netscape${VERS_MAJ}-${VERS_MIN}
+CATEGORIES= www
+MASTER_SITES= ftp://ftp.netscape.com/pub/netscape7/${SUB}/ \
+ ftp://sunsite.utk.edu/pub/netscape/netscape7/${SUB}/ \
+ ftp://ftp.netscape.org/pub/netscape7/${SUB}/ \
+ ftp://ftp-uk.netscape.com/pub/netscape7/${SUB}/ \
+ ftp://ftp.informatik.rwth-aachen.de/pub/mirror/ftp.netscape.com/pub/netscape7/${SUB}/
+
+MAINTAINER= jschauma@netbsd.org
+HOMEPAGE= http://channels.netscape.com/ns/browsers/default.jsp
+COMMENT= Netscape's Browser/Mail- and Newsreader suite version 7
+
+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}
+
+INTERACTIVE_STAGE= build
+
+VERS_MAJ= 7
+VERS_MIN= 0
+SUB= english/${VERS_MAJ}.${VERS_MIN}/unix/${DIST_DIR_NAME}
+DIST_SUBDIR= netscape7
+WRKSRC= ${WRKDIR}/netscape-installer
+
+pre-build:
+ ${SED} -e "s|@PREFIX@|${PREFIX}|g" ${FILESDIR}/netscape.sh > \
+ ${FILESDIR}/netscape7
+ @delay=10; \
+ ${SED} -e "s|@WRKSRC@|${WRKSRC}|g" -e "s|@delay@|$${delay}|g" \
+ ${FILESDIR}/extract_instructions; \
+ sleep $${delay}; \
+ ${MKDIR} ${WRKSRC}/dest
+
+do-build:
+ cd ${WRKSRC} && ${SH} netscape-installer
+
+do-install:
+ ${INSTALL_PROGRAM_DIR} ${PREFIX}/lib/netscape/netscape7
+ cd ${WRKSRC}/dest && ${PAX} -rw . ${PREFIX}/lib/netscape/netscape7
+ ${INSTALL_SCRIPT} ${FILESDIR}/netscape7 ${PREFIX}/bin
+ ${CHMOD} 755 ${PREFIX}/bin/netscape7
+
+.include "../../mk/bsd.prefs.mk"
+
+# everything specific to your OS/Arch goes into it's own Makefile
+# group together i386, i486, i586 and i686 (for Linux)
+ARCH=${MACHINE_ARCH:C/i[3-6]86/i386/g}
+.include "Makefile.${OPSYS}.${ARCH}"