summaryrefslogtreecommitdiff
path: root/www/linux-firefox
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2002-10-11 22:14:00 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2002-10-11 22:14:00 +0000
commitd5d0232436db532e3e6b2cf9ce5f50b9c0c8f70c (patch)
treef8c45bb9230dc5514e3067cc6aac7b4739921558 /www/linux-firefox
parentUpdate to 0.59.4. (diff)
new Linux/i386 binary port of the Phoenix browser
Aaron Voisine submitted a port of this, but I like my version better because it has a script to scavenge plugins, and because it saves space by generating its packing list. I've given the maintainership to Mr. Voisine. PR: 43936 and 43937
Notes
Notes: svn path=/head/; revision=67825
Diffstat (limited to 'www/linux-firefox')
-rw-r--r--www/linux-firefox/Makefile77
-rw-r--r--www/linux-firefox/distinfo1
-rw-r--r--www/linux-firefox/pkg-comment1
-rw-r--r--www/linux-firefox/pkg-descr8
4 files changed, 87 insertions, 0 deletions
diff --git a/www/linux-firefox/Makefile b/www/linux-firefox/Makefile
new file mode 100644
index 000000000000..85aa40e8afc9
--- /dev/null
+++ b/www/linux-firefox/Makefile
@@ -0,0 +1,77 @@
+# New ports collection makefile for: linux-phoenix
+# Date created: 2002-10-10
+# Whom: trevor
+#
+# $FreeBSD$
+#
+
+PORTNAME= phoenix
+PORTVERSION= 0.2
+CATEGORIES= www linux
+MASTER_SITES= ${MASTER_SITE_MOZILLA}
+MASTER_SITE_SUBDIR= phoenix/releases/${PORTVERSION}
+PKGNAMEPREFIX= linux-
+DISTNAME= phoenix-${PORTVERSION}-i686-pc-linux-gnu
+
+MAINTAINER= voisine@bytemobile.com
+
+RUN_DEPENDS= \
+ ${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-toolkits/linux-gtk
+
+NO_BUILD= yes
+NO_FILTER_SHLIBS=yes
+ONLY_FOR_ARCHS= i386
+PKGMESSAGE= ${WRKDIR}/pkg-message
+PLIST= ${WRKDIR}/pkg-plist
+USE_LINUX= yes
+USE_XLIB= yes
+USE_X_PREFIX= yes
+WRKSRC= ${WRKDIR}/phoenix
+
+do-patch:
+ ${ECHO_CMD} "#!/bin/sh" > ${WRKDIR}/linkfarm
+ ${ECHO_CMD} \
+ "# Run this after installing Beonex, Mozilla or Netscape plugins." \
+ >>${WRKDIR}/linkfarm
+ ${ECHO_CMD} "cd ${PREFIX}/lib/linux-phoenix/plugins" \
+ >>${WRKDIR}/linkfarm
+.for ii in linux-beonex/plugins netscape-linux/plugins flash \
+ linux-mozilla/plugins linux-netscape*/plugins
+ ${ECHO_CMD} -n "${FIND} ${LOCALBASE}/lib/${ii}/*" \
+ >>${WRKDIR}/linkfarm
+ ${ECHO_CMD} " -maxdepth 1 -exec ${LN} -s {} \; 2>/dev/null" \
+ >>${WRKDIR}/linkfarm
+.endfor
+
+pre-install:
+ ${ECHO_CMD} bin/linux-phoenix > ${PLIST}
+ ${ECHO_CMD} "@unexec ${FIND} ${PREFIX}/lib/linux-phoenix/plugins \
+ -type l -exec ${RM} {} \;" >> ${PLIST}
+ cd ${WRKSRC} && ${FIND} -s * -type f -o -type l | \
+ ${SED} -e 's:^:lib/linux-phoenix/:' >> ${PLIST} \
+ && ${FIND} -d * -type d | \
+ ${SED} -e 's:^:@dirrm lib/linux-phoenix/:' >> ${PLIST}
+ ${ECHO_CMD} lib/linux-phoenix/linkfarm >> ${PLIST}
+ ${ECHO_CMD} @dirrm lib/linux-phoenix >> ${PLIST}
+ ${ECHO_CMD} "@exec ${PREFIX}/lib/linux-phoenix/linkfarm" >> ${PLIST}
+
+do-install:
+ ${MKDIR} ${PREFIX}/lib/linux-phoenix
+ ${CHMOD} 755 ${PREFIX}/lib/linux-phoenix
+ cd ${WRKSRC} && ${FIND} * | \
+ cpio -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/linux-phoenix
+ ${LN} -s ${PREFIX}/lib/linux-phoenix/phoenix \
+ ${PREFIX}/bin/linux-phoenix
+ ${INSTALL_SCRIPT} ${WRKDIR}/linkfarm ${PREFIX}/lib/linux-phoenix
+
+post-install:
+ @${ECHO_CMD} \*\* After adding plugins to \(Linux\) Beonex,
+ @${ECHO_CMD} \*\* Mozilla or Netscape, run\
+ > ${PKGMESSAGE}
+ @${ECHO_CMD} \*\* ${PREFIX}/lib/linux-beonex/linkfarm >> ${PKGMESSAGE}
+ @${ECHO_CMD} \*\* as root to make them available to linux-phoenix. \
+ >> ${PKGMESSAGE}
+ @- ${SH} ${PREFIX}/lib/linux-phoenix/linkfarm || true
+ @ ${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/www/linux-firefox/distinfo b/www/linux-firefox/distinfo
new file mode 100644
index 000000000000..2c4f45cd7bed
--- /dev/null
+++ b/www/linux-firefox/distinfo
@@ -0,0 +1 @@
+MD5 (phoenix-0.2-i686-pc-linux-gnu.tar.gz) = 6cb318f4a690da1081a8b6189ce422e7
diff --git a/www/linux-firefox/pkg-comment b/www/linux-firefox/pkg-comment
new file mode 100644
index 000000000000..be2a3ddf19df
--- /dev/null
+++ b/www/linux-firefox/pkg-comment
@@ -0,0 +1 @@
+Web browser branched from Mozilla
diff --git a/www/linux-firefox/pkg-descr b/www/linux-firefox/pkg-descr
new file mode 100644
index 000000000000..8b0faa4d0fa2
--- /dev/null
+++ b/www/linux-firefox/pkg-descr
@@ -0,0 +1,8 @@
+Phoenix is a Web, FTP and gopher browser branched from Mozilla. It does not
+include an HTML editor, e-mail user agent, IRC client, or news reader.
+
+This is a pre-compiled Linux/i386 version, able to run plugins from that
+platform. This port is compatible with the Flash plugins from the
+www/linuxflashplugin and www/netscape7 ports.
+
+WWW: http://mozilla.org/projects/phoenix/