aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/netscape48-communicator
diff options
context:
space:
mode:
authoritojun <itojun@FreeBSD.org>1998-03-21 12:45:39 +0800
committeritojun <itojun@FreeBSD.org>1998-03-21 12:45:39 +0800
commit515624e5a1b94b03774983d5c7fdf692b8330b37 (patch)
treef76f072ce399b9b161b60f223247357abc900b0f /japanese/netscape48-communicator
parent7a242e4625a03f45e9ab927a56ae14d955f9680a (diff)
downloadfreebsd-ports-gnome-515624e5a1b94b03774983d5c7fdf692b8330b37.tar.gz
freebsd-ports-gnome-515624e5a1b94b03774983d5c7fdf692b8330b37.tar.zst
freebsd-ports-gnome-515624e5a1b94b03774983d5c7fdf692b8330b37.zip
ports/japanese/netscape4, a famous web browser.
netscape ver 4 web-surfboard with Japanese resources NOTE: PR is not closed because it has small glitche I need to confirm with the contributor. PR: 6045
Diffstat (limited to 'japanese/netscape48-communicator')
-rw-r--r--japanese/netscape48-communicator/Makefile141
-rw-r--r--japanese/netscape48-communicator/pkg-comment1
-rw-r--r--japanese/netscape48-communicator/pkg-descr16
3 files changed, 158 insertions, 0 deletions
diff --git a/japanese/netscape48-communicator/Makefile b/japanese/netscape48-communicator/Makefile
new file mode 100644
index 000000000000..916ecce7c312
--- /dev/null
+++ b/japanese/netscape48-communicator/Makefile
@@ -0,0 +1,141 @@
+# New ports collection makefile for: Netscape browser with Japanese resources
+# Version required: 4.04
+# Date created: 13 Mar 1998
+# Whom: sada
+#
+# $Id$
+#
+
+DISTNAME= ja-netscape4
+CATEGORIES= japanese www
+
+.if !defined(NAVIGATOR)
+MASTER_SITES= ftp://ftp.netscape.com/pub/communicator/4.04/development/english/unix/freebsd/professional_edition/
+DISTFILE= communicator-v404-export.x86-unknown-freebsd.tar.gz
+BROWSER= communicator
+.else
+MASTER_SITES= ftp://ftp.netscape.com/pub/communicator/4.04/development/english/unix/freebsd/navigator_standalone/
+DISTFILE= navigator-v404-export.x86-unknown-freebsd.tar.gz
+BROWSER= navigator
+.endif
+.if !defined(ENGLISH)
+RESOURCE_BASE= Netscape-jp-v404
+MSG_LANG=
+.else
+RESOURCE_BASE= Netscape-us-v404
+MSG_LANG= -us
+.endif
+RUN_DEPENDS= ${X11BASE}/lib/X11/k12:${PORTSDIR}/japanese/k12 \
+ ${X11BASE}/lib/X11/fonts/misc/5x10B.pcf.Z:${PORTSDIR}/japanese/k10
+
+DISTFILES= ${DISTFILE}
+EXTRACT_ONLY= ${DISTFILE}
+MASTER_SITES+= http://www.bpel.tutics.tut.ac.jp/~take/Netscape/etc/ \
+ ftp://ftp.bres.tsukuba.ac.jp/pub/misc/netscape/
+RESOURCE_POSTFIX= 19971218.ad
+RESOURCE_NAME= ${RESOURCE_BASE}.${RESOURCE_POSTFIX}
+DISTFILES+= NLS.tar.gz ${RESOURCE_NAME}.gz
+PKGNAME= ja-${BROWSER}${MSG_LANG}-4.04
+PLIST= ${PKGDIR}/PLIST.${PKGNAME}
+MD5_FILE= ${FILESDIR}/md5.${PKGNAME}
+EXSRC= ${WRKSRC}/examples/${PKGNAME}
+EXDIST= ${PREFIX}/share/examples/${PKGNAME}
+EXFILES= patch.XLC_LOCALE
+DOCDIST= ${PREFIX}/share/doc/${PKGNAME}
+DOCFILES= setup.doc
+
+MAINTAINER= sada@E-mail.NE.JP
+
+NO_WRKSUBDIR= Yes
+NO_BUILD= Yes
+STRIP=
+
+NDIR= ${PREFIX}/lib/${PKGNAME}
+BINDIR= ${PREFIX}/bin
+NLSDIR= ${NDIR}/nls
+RESSUB= ja_JP.EUC
+RESDIR= ${NDIR}/${RESSUB}
+LOCDIR= ${NDIR}/locale
+
+.SILENT:
+
+pre-fetch:
+.if !defined(NAVIGATOR)
+ @${ECHO_MSG} "NOTE: You can install navigator (not communicator) by \"make NAVIGATOR=yes install\"."
+.endif
+.if !defined(ENGLISH)
+ @${ECHO_MSG} "NOTE: You can install English-menu version by \"make ENGLISH=yes install\"."
+.endif
+
+post-extract:
+ ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/NLS.tar.gz -C ${WRKDIR}
+ ${CAT} ${DISTDIR}/${RESOURCE_NAME}.gz \
+ | ${GUNZIP_CMD} > ${WRKDIR}/${RESOURCE_BASE}.ad
+
+MAKESCRIPT= ${SED} -e "s;@X11BASE@;${X11BASE};g" \
+ -e "s;@PREFIX@;${PREFIX};g" \
+ -e "s;@NDIR@;${NDIR};g"
+
+do-configure:
+# ${MAKESCRIPT} ${FILESDIR}/netscape.sh > ${WRKSRC}/netscape.sh
+ ${MAKESCRIPT} ${FILESDIR}/ja-netscape.sh > ${WRKSRC}/ja-netscape.sh
+ ${ECHO} -n 'Communicator,4.04.0.97330,' > ${WRKSRC}/infile
+ ${ECHO} ${NDIR} >> ${WRKSRC}/infile
+#
+ ${MAKESCRIPT} ${FILESDIR}/setup.pl >${WRKSRC}/setup.pl
+ ${MKDIR} ${EXSRC}
+ for i in ${EXFILES}; do \
+ ${MAKESCRIPT} ${FILESDIR}/$${i} >${EXSRC}/$${i}; \
+ done
+
+do-install:
+ ${MKDIR} ${NDIR}/java/classes
+ ${INSTALL_DATA} ${WRKSRC}/*.jar ${NDIR}/java/classes
+ ${INSTALL_PROGRAM} ${WRKSRC}/vreg ${NDIR}
+ for i in ${WRKSRC}/*.nif; do \
+ ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} $${i} -C ${NDIR}; \
+ done
+ ${INSTALL_DATA} ${FILESDIR}/mailcap ${NDIR}
+ ${RM} -rf ${NDIR}/movemail-src
+ ${WRKSRC}/vreg ${NDIR}/registry ${WRKSRC}/infile
+ /usr/sbin/chown -R bin:bin ${NDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/ja-netscape.sh ${BINDIR}/${PKGNAME}
+ /bin/ln -sf ${PKGNAME} ${BINDIR}/netscape
+#
+ ${MKDIR} ${NLSDIR}/local_im_tbl
+ ${INSTALL_DATA} ${WRKDIR}/nls/*.* ${NLSDIR}
+ ${INSTALL_DATA} ${WRKDIR}/nls/C ${NLSDIR}
+ ${RM} -f ${NLSDIR}/*.orig
+ ${INSTALL_DATA} ${WRKDIR}/nls/local_im_tbl/* ${NLSDIR}/local_im_tbl
+ ${MKDIR} ${RESDIR}
+ ${INSTALL_DATA} ${WRKDIR}/${RESOURCE_BASE}.ad ${RESDIR}/Netscape
+ ${MKDIR} ${LOCDIR}
+ /bin/ln -sf /usr/share/locale/en_US.ISO_8859-1 ${LOCDIR}/ja_JP.EUC
+ ${INSTALL_SCRIPT} ${WRKSRC}/setup.pl ${NDIR}
+ ${NDIR}/setup.pl install
+#
+ ${MKDIR} ${EXDIST}
+ for i in ${EXFILES}; do \
+ ${INSTALL_SCRIPT} ${EXSRC}/$${i} ${EXDIST}; \
+ done
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCDIST}
+ ${INSTALL_DATA} ${FILESDIR}/setup.doc ${DOCDIST}
+.endif
+#
+
+plist:
+ ${ECHO} bin/${PKGNAME} > ${PLIST}
+ ${ECHO} @exec /bin/ln -sf %f %B/netscape >> ${PLIST}
+ ${ECHO} @exec /bin/mkdir -p %D/lib/${PKGNAME}/locale >> ${PLIST}
+ ${ECHO} @exec /bin/ln -sf /usr/share/locale/en_US.ISO_8859-1 %D/lib/${PKGNAME}/locale/ja_JP.EUC >> ${PLIST}
+ ${ECHO} @unexec /bin/rm -f %D/lib/${PKGNAME}/locale/ja_JP.EUC >> ${PLIST}
+ mkplist lib/${PKGNAME} >> ${PLIST}
+ mkplist share/examples/${PKGNAME} >> ${PLIST}
+ mkplist share/doc/${PKGNAME} >> ${PLIST}
+#
+
+post-install:
+ @${CAT} ${PKGDIR}/MESSAGE
+
+.include <bsd.port.mk>
diff --git a/japanese/netscape48-communicator/pkg-comment b/japanese/netscape48-communicator/pkg-comment
new file mode 100644
index 000000000000..89107695f3c1
--- /dev/null
+++ b/japanese/netscape48-communicator/pkg-comment
@@ -0,0 +1 @@
+netscape ver 4 web-surfboard with Japanese resources
diff --git a/japanese/netscape48-communicator/pkg-descr b/japanese/netscape48-communicator/pkg-descr
new file mode 100644
index 000000000000..c1d8aba8bfcd
--- /dev/null
+++ b/japanese/netscape48-communicator/pkg-descr
@@ -0,0 +1,16 @@
+This is the netscape web-surfboard. Please read the file
+"/usr/local/lib/netscape/LICENSE" for the licensing terms.
+
+You could build the port as
+ % make [ NAVIGATOR=yes ] [ ENGLISH=yes ]
+and could install as
+ % make [ NAVIGATOR=yes ] [ ENGLISH=yes ] install
+
+options:
+ NAVIGATOR build the browser ``Navigator-4.04''
+ ENGLISH use English messages and menues
+
+Please read `/usr/local/share/examples/ja-*-4.04/setup.doc'.
+
+- SADA Kenji
+sada@e-mail.ne.jp