1998-12-13 22:00:41 +00:00
|
|
|
# New ports collection makefile for: Netscape browser with Korean resources
|
1999-02-12 14:44:56 +00:00
|
|
|
# Version required: 4.08
|
1998-12-13 22:00:41 +00:00
|
|
|
# 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
|
|
|
#
|
1999-04-02 03:45:49 +00:00
|
|
|
# $Id: Makefile,v 1.10 1999/02/12 14:44:30 kuriyama Exp $
|
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/
|
1999-02-12 14:44:56 +00:00
|
|
|
DISTFILES= ${KOREAN_KIT}.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=
|
1999-02-12 14:44:56 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${KOREAN_KIT}
|
1998-12-13 22:00:41 +00:00
|
|
|
|
|
|
|
BROWSER= ${BROWSER_NAME}-${BROWSER_VER}
|
|
|
|
BROWSER_NAME?= communicator
|
1999-02-12 14:44:56 +00:00
|
|
|
BROWSER_VER= 4.08
|
1998-12-13 22:00:41 +00:00
|
|
|
LANG= ko_KR.EUC
|
1999-04-02 03:45:49 +00:00
|
|
|
KOREAN_KIT= netscape-v408.generic-generic-generic-19981229
|
1998-12-13 22:00:41 +00:00
|
|
|
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>
|