1998-12-13 22:00:41 +00:00
|
|
|
# New ports collection makefile for: Netscape browser with Korean resources
|
|
|
|
# Version required: 4.07
|
|
|
|
# Date created: 25 Oct 1998
|
1998-11-21 20:11:02 +00:00
|
|
|
# Whom: CHOI Junho <junker@jazz.snu.ac.kr>
|
1997-06-04 08:53:13 +00:00
|
|
|
#
|
1998-12-13 22:00:41 +00:00
|
|
|
# $Id$
|
1997-06-04 08:53:13 +00:00
|
|
|
#
|
1998-12-13 22:00:41 +00:00
|
|
|
# based on japanese/netscape4-*
|
1997-06-04 08:53:13 +00:00
|
|
|
|
1998-12-13 22:00:41 +00:00
|
|
|
DISTNAME= ko-netscape-${BROWSER}
|
1997-06-04 08:53:13 +00:00
|
|
|
CATEGORIES= korean www
|
1998-12-13 22:00:41 +00:00
|
|
|
MASTER_SITES= ftp://jazz.snu.ac.kr/pub/unix/netscape-ko/
|
|
|
|
DISTFILES= netscape-v407.generic-generic-generic-981014.tar.gz
|
1997-06-04 08:53:13 +00:00
|
|
|
|
1998-12-13 22:00:41 +00:00
|
|
|
MAINTAINER?= junker@jazz.snu.ac.kr
|
1997-06-04 08:53:13 +00:00
|
|
|
|
1998-12-13 22:00:41 +00:00
|
|
|
RUN_DEPENDS= \
|
|
|
|
${PREFIX}/bin/${BROWSER}:${PORTSDIR}/www/netscape4-${BROWSER_NAME} \
|
|
|
|
${X11BASE}/lib/X11/fonts/local/hgm12.pcf.gz:${PORTSDIR}/korean/hanyangfonts \
|
|
|
|
${X11BASE}/lib/X11/fonts/local/mzgt16h1.pcf.gz:${PORTSDIR}/korean/mizifont
|
1997-06-04 08:53:13 +00:00
|
|
|
|
1998-11-21 20:11:02 +00:00
|
|
|
NO_BUILD= yes
|
1998-12-13 22:00:41 +00:00
|
|
|
STRIP=
|
|
|
|
WRKSRC= ${WRKDIR}/netscape-v407.generic-generic-generic
|
|
|
|
|
|
|
|
BROWSER= ${BROWSER_NAME}-${BROWSER_VER}
|
|
|
|
BROWSER_NAME?= communicator
|
|
|
|
BROWSER_VER= 4.07
|
|
|
|
LANG= ko_KR.EUC
|
|
|
|
NDIR= ${PREFIX}/lib/netscape
|
|
|
|
MAKESCRIPT= ${SED} -e "s;@X11BASE@;${X11BASE};g" \
|
|
|
|
-e "s;@PREFIX@;${PREFIX};g" \
|
|
|
|
-e "s;@NDIR@;${NDIR};g" \
|
|
|
|
-e "s;@RDIR@;${NDIR};g" \
|
|
|
|
-e "s;@BROWSER@;${BROWSER};g" \
|
|
|
|
-e "s;@LANG@;${LANG};g"
|
|
|
|
TAR= /usr/bin/tar
|
|
|
|
|
|
|
|
.SILENT:
|
1998-11-21 20:11:02 +00:00
|
|
|
|
|
|
|
do-configure:
|
1998-12-13 22:00:41 +00:00
|
|
|
${MAKESCRIPT} ${FILESDIR}/start.sh.in >${WRKDIR}/start.sh
|
|
|
|
${MAKESCRIPT} ${WRKSRC}/Netscape.ad-ko >${WRKSRC}/Netscape
|
1998-11-21 20:11:02 +00:00
|
|
|
|
|
|
|
do-install:
|
1998-12-13 22:00:41 +00:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/preferences.js ${NDIR}
|
|
|
|
${MKDIR} ${NDIR}/locale
|
|
|
|
${LN} -sf /usr/share/locale/en_US.ISO_8859-1 ${NDIR}/locale/${LANG}
|
|
|
|
${MKDIR} ${NDIR}/${LANG}
|
|
|
|
.for f in Netscape about mail.msg netscape.cfg plugins \
|
|
|
|
splash LICENSE.ko
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$f ${NDIR}/${LANG}/
|
|
|
|
.endfor
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/start.sh ${PREFIX}/bin/ko-${BROWSER}
|
|
|
|
${LN} -sf ko-${BROWSER} ${PREFIX}/bin/netscape
|
|
|
|
${TAR} -C ${NDIR}/${LANG} -x -z -v -f ${WRKSRC}/nethelp-v403.nif
|
1997-06-04 08:53:13 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|