diff options
author | Trevor Johnson <trevor@FreeBSD.org> | 2002-01-16 02:35:41 +0000 |
---|---|---|
committer | Trevor Johnson <trevor@FreeBSD.org> | 2002-01-16 02:35:41 +0000 |
commit | 27b68d2cb2c11465c8206273205b8347a25042f2 (patch) | |
tree | b192493443fdbf3397e0c524442ca46f04d4452b /www/linux-mozilla | |
parent | Use onsgmls instead of nsgmls when $WITH_OPENJADE is defined. (diff) |
new port of Mozilla pre-compiled for Linux, for use with
plugins which are only available as Linux binaries
PR: 33072
Notes
Notes:
svn path=/head/; revision=53142
Diffstat (limited to 'www/linux-mozilla')
-rw-r--r-- | www/linux-mozilla/Makefile | 83 | ||||
-rw-r--r-- | www/linux-mozilla/distinfo | 11 | ||||
-rw-r--r-- | www/linux-mozilla/pkg-comment | 1 | ||||
-rw-r--r-- | www/linux-mozilla/pkg-descr | 9 | ||||
-rw-r--r-- | www/linux-mozilla/pkg-message | 8 |
5 files changed, 112 insertions, 0 deletions
diff --git a/www/linux-mozilla/Makefile b/www/linux-mozilla/Makefile new file mode 100644 index 000000000000..b3caf0c302d5 --- /dev/null +++ b/www/linux-mozilla/Makefile @@ -0,0 +1,83 @@ +# New ports collection makefile for: linux-mozilla +# Date created: 2001-11-24 +# Whom: trevor +# based on ports/www/linux-netscape6 +# +# $FreeBSD$ +# + +PORTNAME= mozilla +PORTVERSION= 0.9.7 +CATEGORIES= www linux +MASTER_SITES= ${MASTER_SITE_MOZILLA} +MASTER_SITE_SUBDIR= mozilla/releases/mozilla${PORTVERSION}/linux-xpi/ +PKGNAMEPREFIX= linux- +DISTFILES= browser.xpi \ + chatzilla.xpi \ + deflenus.xpi \ + langenus.xpi \ + mail.xpi \ + psm.xpi \ + regus.xpi \ + talkback.xpi \ + venkman.xpi \ + xpcom.xpi +DIST_SUBDIR= linux-mozilla/${PORTVERSION} + +PATCH_SITES= ${MASTER_SITE_LOCAL} +PATCH_SITE_SUBDIR= trevor +PATCHFILES= linux-mozilla-${PORTVERSION}-generated-files.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= /compat/linux +NO_BUILD= yes +NO_FILTER_SHLIBS= yes +ONLY_FOR_ARCHS= i386 +USE_XLIB= yes +WRKSRC= ${WRKDIR}/xpi +INSTALL_DIR= ${PREFIX}/lib/linux-mozilla +PLIST= ${WRKDIR}/pkg-plist +STARTUP_CMD= linux-mozilla + +do-extract: + ${MKDIR} ${WRKSRC} +.for i in ${DISTFILES} + unzip -qo ${DISTDIR}/${DIST_SUBDIR}/${i} -d ${WRKSRC} +.endfor + +do-patch: + ${TAR} -C ${WRKSRC}/bin -xzf ${DISTDIR}/${DIST_SUBDIR}/${PATCHFILES} + +do-configure: +# - kldload linux +# ${SETENV} $DISPLAY="NONE" ${WRKSRC}/bin/mozilla file:///dev/null + ${ECHO} "#!/bin/sh" >${WRKDIR}/${STARTUP_CMD} + ${ECHO} -n "cd " >>${WRKDIR}/${STARTUP_CMD} + ${ECHO} ${INSTALL_DIR} >>${WRKDIR}/${STARTUP_CMD} + ${ECHO} "exec ./mozilla" >>${WRKDIR}/${STARTUP_CMD} + +pre-install: + ${ECHO} bin/${STARTUP_CMD} > ${PLIST} + cd ${WRKSRC}/bin; for i in `find * \! -type d | sort`; do \ + ${ECHO} lib/linux-mozilla/$${i} >> ${PLIST}; \ + done + cd ${WRKSRC}/bin; \ + for i in `find -d * -type d`; do \ + ${ECHO} @dirrm lib/linux-mozilla/$${i} >> ${PLIST}; \ + done + ${ECHO} @dirrm lib/linux-mozilla >> ${PLIST} + +do-install: + ${MKDIR} ${INSTALL_DIR} + ${CP} -Rp ${WRKSRC}/bin/* ${INSTALL_DIR} + ${INSTALL_SCRIPT} ${WRKDIR}/${STARTUP_CMD} ${PREFIX}/bin + +post-install: + ${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/www/linux-mozilla/distinfo b/www/linux-mozilla/distinfo new file mode 100644 index 000000000000..9c047d672cfe --- /dev/null +++ b/www/linux-mozilla/distinfo @@ -0,0 +1,11 @@ +MD5 (linux-mozilla/0.9.7/browser.xpi) = be50ed210bbcb1a92623dca95d5c9f5d +MD5 (linux-mozilla/0.9.7/chatzilla.xpi) = ca86a6d6c8f2f144cdb587f0c426751c +MD5 (linux-mozilla/0.9.7/deflenus.xpi) = 7eef19d0f279731d5a2d4cf01ee26f5c +MD5 (linux-mozilla/0.9.7/langenus.xpi) = 7196c80891c61091d54c67225da210f0 +MD5 (linux-mozilla/0.9.7/mail.xpi) = 6a01d54bb24e604e7c2a45c3ad399c40 +MD5 (linux-mozilla/0.9.7/psm.xpi) = 20c403be675100a5e6e2b679c7bcea95 +MD5 (linux-mozilla/0.9.7/regus.xpi) = 05f93eab8af215380a043f0a56a97eab +MD5 (linux-mozilla/0.9.7/talkback.xpi) = 80adda1744a64cf9ed8a467cf566c024 +MD5 (linux-mozilla/0.9.7/venkman.xpi) = b25d11c1873ce02f4f759ff99dd18142 +MD5 (linux-mozilla/0.9.7/xpcom.xpi) = e30d4c319ea6149c6d96c6b353445cab +MD5 (linux-mozilla/0.9.7/linux-mozilla-0.9.7-generated-files.tar.gz) = e32436cfc17dcc03704844d01026c1de diff --git a/www/linux-mozilla/pkg-comment b/www/linux-mozilla/pkg-comment new file mode 100644 index 000000000000..9544b6dae424 --- /dev/null +++ b/www/linux-mozilla/pkg-comment @@ -0,0 +1 @@ +Web browser, HTML editor and IRC client for use with Linux plugins diff --git a/www/linux-mozilla/pkg-descr b/www/linux-mozilla/pkg-descr new file mode 100644 index 000000000000..b84d76598dfe --- /dev/null +++ b/www/linux-mozilla/pkg-descr @@ -0,0 +1,9 @@ +This is a the Mozilla suite (Web browser, HTML editor, mail user +agent, news reader, address book, and IRC client) pre-compiled for +Linux. The Linux version is necessary for running plugins which +are only available as Linux binaries. + +In this port, text cannot be typed into the dialogs for saving +files or for searching within a document. + +WWW: http://mozilla.org/ diff --git a/www/linux-mozilla/pkg-message b/www/linux-mozilla/pkg-message new file mode 100644 index 000000000000..2a630a8303c5 --- /dev/null +++ b/www/linux-mozilla/pkg-message @@ -0,0 +1,8 @@ +*********************************************** +This is a beta version. It would be a good +idea to back up any important bookmark files. + +Settings in users' ~/.mozilla/ from an older +Mozilla may not work. In that case, remove the +old files and make fresh ones. +*********************************************** |