aboutsummaryrefslogtreecommitdiff
path: root/korean/netscape47-navigator
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-11-21 20:11:02 +0000
committerSteve Price <steve@FreeBSD.org>1998-11-21 20:11:02 +0000
commitfd6d9aea13a6322efd57d6505e8842471ed0da8c (patch)
treea1658807dfdab9ae9d3f1970fd734ea8d39a5084 /korean/netscape47-navigator
parent6bffea543319de8efb96dbaaa31a107c42c7dae8 (diff)
downloadports-fd6d9aea13a6322efd57d6505e8842471ed0da8c.tar.gz
ports-fd6d9aea13a6322efd57d6505e8842471ed0da8c.zip
Notes
Diffstat (limited to 'korean/netscape47-navigator')
-rw-r--r--korean/netscape47-navigator/Makefile57
1 files changed, 47 insertions, 10 deletions
diff --git a/korean/netscape47-navigator/Makefile b/korean/netscape47-navigator/Makefile
index 9384ebdb9eaf..21a9358fecd5 100644
--- a/korean/netscape47-navigator/Makefile
+++ b/korean/netscape47-navigator/Makefile
@@ -1,24 +1,61 @@
-# New ports collection makefile for: netscape-intl-ko
-# Version required: 3.01intl/ko
+# New ports collection makefile for: netscape3-intl-ko
+# Version required: 3.04/ko
# Date created: 6 Apr 1995
-# Whom: Choi Jun Ho <junker@jazz.snu.ac.kr>
+# Whom: CHOI Junho <junker@jazz.snu.ac.kr>
#
# $Id: Makefile,v 1.4 1997/10/12 15:36:45 max Exp $
#
-DISTNAME= netscape-3.01
-PKGNAME= ko-netscape-3.01intl
+DISTNAME= netscape-3.04
+PKGNAME= ko-netscape-3.04
CATEGORIES= korean www
-MASTER_SITES= ftp://archive:oldies@archive.netscape.com/archive/navigator/3.01/unix/ \
- ftp://archive:oldies@archive.netscape.com/archive/navigator/intl/3.01/unix/ko/
-DISTFILES= netscape-v301-export.x86-unknown-bsd.tar.gz netscape-ko-v301.alpha-dec-osf2.0.tar.gz
+MASTER_SITES= ftp://archive:oldies@archive.netscape.com/archive/navigator/intl/3.01/unix/ko/ \
+ http://www.bpel.tutics.tut.ac.jp/~take/Netscape/etc/
+DISTFILES= netscape-ko-v301.alpha-dec-osf2.0.tar.gz NLS.tar.gz
MAINTAINER= junker@jazz.snu.ac.kr
-RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/misc/hgm12.pcf.gz:$(PORTSDIR)/korean/hanyangfonts
+RUN_DEPENDS+= ${PREFIX}/bin/netscape:${PORTSDIR}/www/netscape3 \
+ ${X11BASE}/lib/X11/fonts/misc/hgm12.pcf.gz:${PORTSDIR}/korean/hanyangfonts
-RESTRICTED= "Commercial software"
+RESTRICTED= "Commercial Software"
NO_WRKSUBDIR= yes
+NO_BUILD= yes
+
+# This directory is hard-coded into the netscape binary
+LIBDIR= /usr/local/lib/netscape
+BINDIR= ${PREFIX}/bin
+NLSDIR= ${LIBDIR}/nls
+RESSUB= ko_KR.EUC
+RESDIR= ${LIBDIR}/${RESSUB}
+
+NLSSRC= ${WRKDIR}/netscape-ko
+MISCFILES= README about splash license mail.msg
+
+STARTFILE= netscape.sh
+STARTFILE_SRC= ${FILESDIR}/netscape.sh
+
+do-configure:
+ @${SED} -e "s;@X11BASE@;${X11BASE};g" -e "s;@PREFIX@;${PREFIX};g" \
+ ${STARTFILE_SRC} >${WRKDIR}/${STARTFILE}
+
+do-install:
+ -@${MV} ${BINDIR}/netscape ${BINDIR}/netscape.orig
+ @${INSTALL_SCRIPT} ${WRKDIR}/${STARTFILE} ${BINDIR}/netscape
+ @${MKDIR} ${NLSDIR}/local_im_tbl
+ @${INSTALL_DATA} ${WRKDIR}/nls/*.* ${LIBDIR}/nls
+ @${INSTALL_DATA} ${WRKDIR}/nls/C ${LIBDIR}/nls
+ @${RM} -f ${LIBDIR}/nls/*.orig
+ @${INSTALL_DATA} ${WRKDIR}/nls/local_im_tbl/* ${LIBDIR}/nls/local_im_tbl
+ @${MKDIR} ${RESDIR}
+ @${INSTALL_DATA} ${NLSSRC}/Netscape.ad-ko ${RESDIR}/Netscape
+ @for i in ${MISCFILES}; do \
+ ${INSTALL_DATA} ${NLSSRC}/$$i ${RESDIR}; \
+ done
+ ${INSTALL_DATA} ${NLSSRC}/icons/*.xpm ${RESDIR}
+
+# This port is based on 'japanese/netscape3.language(ja-netscape-3.04)'
+# by sada@e-mail.ne.jp
post-install:
@${CAT} ${PKGDIR}/DESCR