1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

# New ports collection makefile for: netscape-linux-6

# Date created:			8 April 2000
# Whom:				sada@FreeBSD.org
#
# $FreeBSD: ports/www/linux-netscape6/Makefile,v 1.37 2001/11/13 21:52:15 trevor Exp $
#

PORTNAME=	linux-netscape
PORTVERSION=	6.2
PORTREVISION=	1
CATEGORIES=	www linux
MASTER_SITES=	ftp://ftp.netscape.com/pub/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.bu.edu/pub/mirrors/ftp.netscape.com/pub/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.cica.es/pub6/netscape/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.ciril.fr/pub2/netscape/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.cs.tu-berlin.de/pub/net/www/netscape/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.cuhk.edu.hk/.3/netscape/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.darenet.dk/mirrors/ftp2.netscape.com/pub/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.dei.uc.pt/.raid0/netscape/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.fh-brandenburg.de/pub/Infosystems/Netscape/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.fu-berlin.de/unix/network/www/netscape/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.hu-berlin.de/pub/www/netscape/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.informatik.uni-hamburg.de/pub/soft/infosystems/www/clients/netscape/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.jaist.ac.jp/net/Netscape/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.kmitl.ac.th/pub/netscape/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.loxinfo.co.th/netscape/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.nsysu.edu.tw/Netscape/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.ruhr-uni-bochum.de/mirrors/ftp.netscape.com/pub/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.spin.ad.jp/pub/WWW/netscape/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.sunet.se/pub/www/Netscape/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.uit.no/pub/www/Netscape/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.uni-bielefeld.de/pub/netscape/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.uni-c.dk/mirrors/ftp2.netscape.com/pub/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.uni-magdeburg.de/pub/mirror/ftp.netscape.com/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.uni-tuebingen.de/pub/mirrors/ftp.netscape.com/pub/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.uniovi.es/pub/netscape/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.unipi.it/pub/mirror/netscape/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.uniroma2.it/%7bC/Netscape/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.upc.es/mirror/Netscape/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.upc.es/pub/Netscape/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.ut.ee/pub/WWW/netscape/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://sunsite.cnlab-switch.ch/mirror/netscape/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://sunsite.sut.ac.jp/pub/archives/WWW/netscape/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.mirror.ac.uk/sites/ftp.netscape.com/pub/netscape6/english/${PORTVERSION}/unix/linux22/xpi/ \
		ftp://ftp.ntua.gr/pub/www/Netscape/netscape6/english/${PORTVERSION}/unix/linux22/xpi/
DISTFILES=	browser.xpi \
		deflenus.xpi \
		langenus.xpi \
		flash.xpi \
		jre.xpi \
		langenus.xpi \
		mail.xpi \
		psm.xpi \
		regca.xpi \
		reges.xpi \
		reggb.xpi \
		regus.xpi \
		spellchecker.xpi \
		talkback.xpi \
		xpcom.xpi
DIST_SUBDIR=	netscape6/english/${PORTVERSION}

PATCH_SITES=	${MASTER_SITE_LOCAL}
PATCH_SITE_SUBDIR=	trevor
PATCHFILES=	linux-netscape6-${PORTVERSION}-generated-files-v2.tar.gz

MAINTAINER=	trevor@FreeBSD.org

BUILD_DEPENDS=	unzip:${PORTSDIR}/archivers/unzip
RUN_DEPENDS=	${LINUX_BASE}/lib/ld.so:${PORTSDIR}/emulators/linux_base \
		${LINUX_BASE}/usr/lib/libgtk-1.2.so.0.5.0:${PORTSDIR}/x11-toolkits/linux-gtk \
		${LINUX_BASE}/usr/lib/libjpeg.so.62.0.0:${PORTSDIR}/graphics/linux-jpeg

LATEST_LINK=	linux-netscape6
LINUX_BASE=	/compat/linux
NO_BUILD=	yes
NO_FILTER_SHLIBS=	yes
ONLY_FOR_ARCHS=	i386
RESTRICTED=	"license for Java plugin allows `internal use only'"
NO_PACKAGE=	${RESTRICTED}
NO_CDROM=	${RESTRICTED}
USE_XLIB=	yes
WRKSRC=	${WRKDIR}/netscape-installer/xpi
INSTALL_DIR=	${PREFIX}/lib/linux-netscape6
PLIST=		${WRKDIR}/pkg-plist
STARTUP_CMD=	netscape6

do-extract:
	${MKDIR} ${WRKSRC}
.for i in ${DISTFILES}
	unzip -qo ${DISTDIR}/${DIST_SUBDIR}/${i} -d ${WRKSRC}
.endfor
	${MV} ${WRKSRC}/jre-image-i386 ${WRKSRC}/bin/plugins/java2
	cd ${WRKSRC}/bin/plugins && ${LN} -s java2/plugin/i386/ns600/libjavaplugin_oji.so;

do-patch:
	${TOUCH} ${TOUCH_FLAGS} ${WRKSRC}/bin/chrome/user-skins.rdf ${WRKSRC}/bin/chrome/user-locales.rdf
	${CP} -p ${FILESDIR}/*rdf ${WRKSRC}/bin/chrome
	${TAR} -C ${WRKSRC}/bin -xzf ${DISTDIR}/${DIST_SUBDIR}/${PATCHFILES}

do-configure:
#	- kldload linux
#	${SETENV} $DISPLAY="NONE" ${WRKSRC}/bin/netscape file:///dev/null
#	@${ECHO} \"Factory not found\" and \"cannot open display\" errors here are normal.
	${SED} -e "s;%%INSTALL_DIR%%;${INSTALL_DIR};g" \
	${FILESDIR}/start.sh >${WRKDIR}/${STARTUP_CMD}

pre-install:
	${ECHO} bin/${STARTUP_CMD} > ${PLIST}
	cd ${WRKSRC}/bin; for i in `find * \! -type d | sort`; do \
		${ECHO} lib/linux-netscape6/$${i} >> ${PLIST}; \
	done
	cd ${WRKSRC}/plugins; for i in `find * \! -type d | sort`; do \
		${ECHO} lib/linux-netscape6/plugins/$${i} >> ${PLIST}; \
	done
	cd ${WRKSRC}/bin; \
	for i in `find -d * -type d`; do \
		${ECHO} @dirrm lib/linux-netscape6/$${i} >> ${PLIST}; \
	done
	${ECHO} @dirrm lib/linux-netscape6 >> ${PLIST}

do-install:
	${MKDIR} ${INSTALL_DIR}
	${CP} -Rp ${WRKSRC}/bin/* ${WRKSRC}/plugins ${INSTALL_DIR}
	${INSTALL_SCRIPT} ${WRKDIR}/${STARTUP_CMD} ${PREFIX}/bin

post-install:
	${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
This commit is contained in:
Trevor Johnson 2001-11-14 06:22:43 +00:00
parent f48d5c00e7
commit e03c561503
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=50002
4 changed files with 34 additions and 14 deletions

View File

@ -1,8 +1,16 @@
MD5 (netscape6/english/6.2/browser.xpi) = 01596e3c26fd8c2efd2025f7db99e453
MD5 (netscape6/english/6.2/deflenus.xpi) = 306e3d143b45980bb9036aea9c35f27e
MD5 (netscape6/english/6.2/langenus.xpi) = 419ce3befd7240b0a486468e05b297ea
MD5 (netscape6/english/6.2/flash.xpi) = 76269cdaf76a16a99d02f7efb1d2f0fa
MD5 (netscape6/english/6.2/jre.xpi) = d5ee03d0f09344d45e9769746a8f03dd
MD5 (netscape6/english/6.2/langenus.xpi) = 419ce3befd7240b0a486468e05b297ea
MD5 (netscape6/english/6.2/mail.xpi) = 425015188a88ac54c2d9bb67f977d3d2
MD5 (netscape6/english/6.2/psm.xpi) = aeae20472294840ffe7b36b06c96cb97
MD5 (netscape6/english/6.2/regca.xpi) = e3afb3cd62bb3196683d773f1818f9ad
MD5 (netscape6/english/6.2/reges.xpi) = fc737fb9dfcf31fbca4be41de099a073
MD5 (netscape6/english/6.2/reggb.xpi) = ca7bea283f2a8bc0a03412f342de24d6
MD5 (netscape6/english/6.2/regus.xpi) = ca23e0aea6711414bd29be0e494279c1
MD5 (netscape6/english/6.2/spellchecker.xpi) = 94e69786ac803b8562abf9c624732edc
MD5 (netscape6/english/6.2/talkback.xpi) = 59d523c6e65f7c4d4c45977d1f2ca8a1
MD5 (netscape6/english/6.2/xpcom.xpi) = 99c37db4daa2e08cefbcdd9d1b598313
MD5 (netscape6/english/6.2/linux-netscape6-6.2-generated-files.tar.gz) = 82709c258320be38ff69c5ef966394ff
MD5 (netscape6/english/6.2/linux-netscape6-6.2-generated-files-v2.tar.gz) = 5e04a8e204911c8cf7afeb1f99d72cf5

View File

@ -1,13 +1,15 @@
This is a Linux version of the Netscape suite (Web browser, HTML
editor, mail user agent and news reader). Using the Linux version
on FreeBSD is necessary if you want to use Linux versions of plugins.
Many plugins are distributed only as Linux binaries.
Many plugins are distributed only as Linux binaries. The Sun Java
and Macromedia Flash plugins are included. AOL Instant Messenger
is omitted (see ports/net/aim). The Canadian, Latin American and
British region packs, spell-checker, and talkback are enabled.
In this port/package, the Java virtual machine is omitted because
it does not work. AOL Instant Messenger is also omitted (see
ports/net/aim). Only the U.S. English locale is installed. Plugins
do not work. Messenger can be started by going to a mailto: or
news: URL.
Messenger can be started by going to a mailto: or news: URL (for
example, by typing into the location window). The dialogs for
saving files and for searching within a document do not work, nor
does the Privacy & Security menu, nor does about:plugins.
WWW: http://browsers.netscape.com/browsers/6/

View File

@ -1,8 +1,16 @@
MD5 (netscape6/english/6.2/browser.xpi) = 01596e3c26fd8c2efd2025f7db99e453
MD5 (netscape6/english/6.2/deflenus.xpi) = 306e3d143b45980bb9036aea9c35f27e
MD5 (netscape6/english/6.2/langenus.xpi) = 419ce3befd7240b0a486468e05b297ea
MD5 (netscape6/english/6.2/flash.xpi) = 76269cdaf76a16a99d02f7efb1d2f0fa
MD5 (netscape6/english/6.2/jre.xpi) = d5ee03d0f09344d45e9769746a8f03dd
MD5 (netscape6/english/6.2/langenus.xpi) = 419ce3befd7240b0a486468e05b297ea
MD5 (netscape6/english/6.2/mail.xpi) = 425015188a88ac54c2d9bb67f977d3d2
MD5 (netscape6/english/6.2/psm.xpi) = aeae20472294840ffe7b36b06c96cb97
MD5 (netscape6/english/6.2/regca.xpi) = e3afb3cd62bb3196683d773f1818f9ad
MD5 (netscape6/english/6.2/reges.xpi) = fc737fb9dfcf31fbca4be41de099a073
MD5 (netscape6/english/6.2/reggb.xpi) = ca7bea283f2a8bc0a03412f342de24d6
MD5 (netscape6/english/6.2/regus.xpi) = ca23e0aea6711414bd29be0e494279c1
MD5 (netscape6/english/6.2/spellchecker.xpi) = 94e69786ac803b8562abf9c624732edc
MD5 (netscape6/english/6.2/talkback.xpi) = 59d523c6e65f7c4d4c45977d1f2ca8a1
MD5 (netscape6/english/6.2/xpcom.xpi) = 99c37db4daa2e08cefbcdd9d1b598313
MD5 (netscape6/english/6.2/linux-netscape6-6.2-generated-files.tar.gz) = 82709c258320be38ff69c5ef966394ff
MD5 (netscape6/english/6.2/linux-netscape6-6.2-generated-files-v2.tar.gz) = 5e04a8e204911c8cf7afeb1f99d72cf5

View File

@ -1,13 +1,15 @@
This is a Linux version of the Netscape suite (Web browser, HTML
editor, mail user agent and news reader). Using the Linux version
on FreeBSD is necessary if you want to use Linux versions of plugins.
Many plugins are distributed only as Linux binaries.
Many plugins are distributed only as Linux binaries. The Sun Java
and Macromedia Flash plugins are included. AOL Instant Messenger
is omitted (see ports/net/aim). The Canadian, Latin American and
British region packs, spell-checker, and talkback are enabled.
In this port/package, the Java virtual machine is omitted because
it does not work. AOL Instant Messenger is also omitted (see
ports/net/aim). Only the U.S. English locale is installed. Plugins
do not work. Messenger can be started by going to a mailto: or
news: URL.
Messenger can be started by going to a mailto: or news: URL (for
example, by typing into the location window). The dialogs for
saving files and for searching within a document do not work, nor
does the Privacy & Security menu, nor does about:plugins.
WWW: http://browsers.netscape.com/browsers/6/