diff options
Diffstat (limited to 'korean/netscape47-communicator/Makefile')
-rw-r--r-- | korean/netscape47-communicator/Makefile | 93 |
1 files changed, 43 insertions, 50 deletions
diff --git a/korean/netscape47-communicator/Makefile b/korean/netscape47-communicator/Makefile index 858328132d5c..02707b57e4cb 100644 --- a/korean/netscape47-communicator/Makefile +++ b/korean/netscape47-communicator/Makefile @@ -1,65 +1,58 @@ -# New ports collection makefile for: netscape3-intl-ko -# Version required: 3.04/ko -# Date created: 6 Apr 1995 +# New ports collection makefile for: Netscape browser with Korean resources +# Version required: 4.07 +# Date created: 25 Oct 1998 # Whom: CHOI Junho <junker@jazz.snu.ac.kr> # -# $Id: Makefile,v 1.7 1998/11/23 07:49:49 asami Exp $ +# $Id$ # +# based on japanese/netscape4-* -DISTNAME= netscape-3.04 -PKGNAME= ko-netscape-3.04 +DISTNAME= ko-netscape-${BROWSER} CATEGORIES= korean www -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 +MASTER_SITES= ftp://jazz.snu.ac.kr/pub/unix/netscape-ko/ +DISTFILES= netscape-v407.generic-generic-generic-981014.tar.gz -MAINTAINER= junker@jazz.snu.ac.kr +MAINTAINER?= junker@jazz.snu.ac.kr -RUN_DEPENDS= ${PREFIX}/bin/netscape:${PORTSDIR}/www/netscape3 \ - ${X11BASE}/lib/X11/fonts/local/hgm12.pcf.gz:${PORTSDIR}/korean/hanyangfonts +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 -BROKEN= upgrade - -DIST_SUBDIR= netscape3 -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 +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: do-configure: - @${SED} -e "s;@X11BASE@;${X11BASE};g" -e "s;@PREFIX@;${PREFIX};g" \ - ${STARTFILE_SRC} >${WRKDIR}/${STARTFILE} + ${MAKESCRIPT} ${FILESDIR}/start.sh.in >${WRKDIR}/start.sh + ${MAKESCRIPT} ${WRKSRC}/Netscape.ad-ko >${WRKSRC}/Netscape 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 + ${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 .include <bsd.port.mk> |