diff options
author | trevor <trevor@FreeBSD.org> | 2000-12-26 18:19:56 +0800 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2000-12-26 18:19:56 +0800 |
commit | 0934a45078396a366ef2b9f59e7ce8c90f087374 (patch) | |
tree | 1708627bae706c78199142d3a6ffcdaf85611bc0 /www/netscape7/Makefile | |
parent | d196712c22cb49af86d9a91a64866568e2fecde9 (diff) | |
download | freebsd-ports-graphics-0934a45078396a366ef2b9f59e7ce8c90f087374.tar.gz freebsd-ports-graphics-0934a45078396a366ef2b9f59e7ce8c90f087374.tar.zst freebsd-ports-graphics-0934a45078396a366ef2b9f59e7ce8c90f087374.zip |
Update to version 6.0. Take maintainership.
Diffstat (limited to 'www/netscape7/Makefile')
-rw-r--r-- | www/netscape7/Makefile | 49 |
1 files changed, 40 insertions, 9 deletions
diff --git a/www/netscape7/Makefile b/www/netscape7/Makefile index f94b6daf1af..4e708223cb0 100644 --- a/www/netscape7/Makefile +++ b/www/netscape7/Makefile @@ -6,12 +6,12 @@ # PORTNAME= linux-netscape -PORTVERSION= 6 +PORTVERSION= 6.0 CATEGORIES= www linux -MASTER_SITES= ftp://ftp.netscape.com/pub/netscape6/english/6_PR1/unix/linux22/ -DISTFILES= netscape-v600pr1.x86-unknown-linux2.2.tar.gz +MASTER_SITES= ftp://ftp.netscape.com/pub/netscape6/english/6.0/unix/linux22/sea/ +DISTNAME= netscape-i686-pc-linux-gnu-sea -MAINTAINER= ports@FreeBSD.org +MAINTAINER= trevor@FreeBSD.org 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 \ @@ -21,21 +21,52 @@ LINUX_BASE= /compat/linux NO_BUILD= yes NO_FILTER_SHLIBS= yes ONLY_FOR_ARCHS= i386 -PLIST_SUB= STARTUP_CMD=${STARTUP_CMD} -STRIP= USE_XLIB= yes -WRKSRC= ${WRKDIR}/package +WRKSRC= ${WRKDIR}/netscape-installer/xpi INSTALL_DIR= ${PREFIX}/lib/linux-netscape6 +PLIST= ${WRKDIR}/pkg-plist STARTUP_CMD= netscape6 -post-configure: +do-extract: + ${MKDIR} ${WRKSRC} + @${TAR} xzf ${DISTDIR}/${DISTFILES} -C ${WRKDIR} +.for i in browser deflenus jre langenus mail psm spellchecker xpcom + unzip -qo ${WRKSRC}/${i}.xpi -d ${WRKSRC} +.endfor + ${MV} ${WRKSRC}/psm ${WRKSRC}/bin + ${MV} ${WRKSRC}/jre-image-i386 ${WRKSRC}/bin/plugins/java2 + cd ${WRKSRC}/bin/plugins && ${LN} -s java2/plugin/i386/ns600/libjavaplugin_oji.so; + ${MV} ${WRKSRC}/../license.txt ${WRKSRC} +.if !defined(NOPORTDOCS) + ${MV} ${WRKSRC}/../README ${WRKSRC} +.endif + +do-patch: + ${TOUCH} ${TOUCH_FLAGS} ${WRKSRC}/bin/chrome/user-skins.rdf ${WRKSRC}/bin/chrome/user-locales.rdf + ${CP} -p ${FILESDIR}/*rdf ${WRKSRC}/bin/chrome + +do-configure: + ${SETENV} $DISPLAY="NONE" ${WRKSRC}/bin/netscape file:///dev/null ${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}; \ + ${ECHO} $${i}; \ + 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}/* ${INSTALL_DIR} + ${CP} -Rp ${WRKSRC}/bin/* ${INSTALL_DIR} ${INSTALL_SCRIPT} ${WRKDIR}/${STARTUP_CMD} ${PREFIX}/bin + ${CAT} ${WRKSRC}/license.txt .include <bsd.port.mk> |