diff options
Diffstat (limited to 'www/linux-firefox')
-rw-r--r-- | www/linux-firefox/Makefile | 77 | ||||
-rw-r--r-- | www/linux-firefox/distinfo | 1 | ||||
-rw-r--r-- | www/linux-firefox/pkg-comment | 1 | ||||
-rw-r--r-- | www/linux-firefox/pkg-descr | 8 |
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/ |