1998-03-21 04:45:39 +00:00
|
|
|
# New ports collection makefile for: Netscape browser with Japanese resources
|
1998-10-09 04:22:20 +00:00
|
|
|
# Version required: 4.06
|
1998-03-21 04:45:39 +00:00
|
|
|
# Date created: 13 Mar 1998
|
|
|
|
# Whom: sada
|
|
|
|
#
|
1998-10-09 04:22:20 +00:00
|
|
|
# $Id: Makefile,v 1.4 1998/04/01 01:49:24 asami Exp $
|
1998-03-21 04:45:39 +00:00
|
|
|
#
|
|
|
|
|
1998-10-09 04:22:20 +00:00
|
|
|
DISTNAME= ja-netscape-${BROWSER}
|
1998-03-21 04:45:39 +00:00
|
|
|
CATEGORIES= japanese www
|
1998-10-09 04:22:20 +00:00
|
|
|
MASTER_SITES= http://www.bres.tsukuba.ac.jp/~yohta/netscape/
|
|
|
|
DISTFILES= communicator-ja-euc-v406-export.generic-generic-generic.tar.gz
|
1998-03-21 04:45:39 +00:00
|
|
|
|
1998-10-09 04:22:20 +00:00
|
|
|
MAINTAINER?= sada@e-mail.ne.jp
|
1998-03-21 04:45:39 +00:00
|
|
|
|
1998-10-09 04:22:20 +00:00
|
|
|
RUN_DEPENDS= \
|
|
|
|
${PREFIX}/bin/${BROWSER}:${PORTSDIR}/www/netscape4-${BROWSER_NAME} \
|
|
|
|
${PKG_DBDIR}/ja-netscape-fonts-1.0:${PORTSDIR}/japanese/netscape-fonts
|
1998-04-01 01:49:24 +00:00
|
|
|
|
1998-10-09 04:22:20 +00:00
|
|
|
MAN1= ja-${BROWSER_NAME}.1
|
|
|
|
MANLANG= ja
|
|
|
|
NO_BUILD= yes
|
1998-03-21 04:45:39 +00:00
|
|
|
STRIP=
|
1998-10-09 04:22:20 +00:00
|
|
|
WRKSRC= ${WRKDIR}/netscape-ja_euc
|
1998-03-21 04:45:39 +00:00
|
|
|
|
1998-10-09 04:22:20 +00:00
|
|
|
BROWSER= ${BROWSER_NAME}-${BROWSER_VER}
|
|
|
|
BROWSER_NAME?= communicator
|
|
|
|
BROWSER_VER= 4.06
|
|
|
|
LANG= ja_JP.EUC
|
|
|
|
NDIR= ${PREFIX}/lib/netscape
|
1998-03-21 04:45:39 +00:00
|
|
|
MAKESCRIPT= ${SED} -e "s;@X11BASE@;${X11BASE};g" \
|
|
|
|
-e "s;@PREFIX@;${PREFIX};g" \
|
1998-10-09 04:22:20 +00:00
|
|
|
-e "s;@NDIR@;${NDIR};g" \
|
|
|
|
-e "s;@RDIR@;${NDIR};g" \
|
|
|
|
-e "s;@BROWSER@;${BROWSER};g" \
|
|
|
|
-e "s;@LANG@;${LANG};g"
|
|
|
|
MANDIR= ${MANPREFIX}/man/${MANLANG}
|
|
|
|
MANFILE?= ${FILESDIR}/${MAN1}
|
1998-03-21 04:45:39 +00:00
|
|
|
|
1998-10-09 04:22:20 +00:00
|
|
|
.SILENT:
|
1998-03-21 04:45:39 +00:00
|
|
|
|
1998-10-09 04:22:20 +00:00
|
|
|
do-configure:
|
|
|
|
${MAKESCRIPT} ${FILESDIR}/start.sh.in >${WRKDIR}/start.sh
|
|
|
|
.if defined(USE_14DOT_FONT)
|
|
|
|
${MAKESCRIPT} ${WRKSRC}/Netscape.ad-ja_euc \
|
|
|
|
|${FILESDIR}/14dot.sed >${WRKSRC}/Netscape
|
|
|
|
.else
|
|
|
|
${MAKESCRIPT} ${WRKSRC}/Netscape.ad-ja_euc >${WRKSRC}/Netscape
|
1998-03-21 04:45:39 +00:00
|
|
|
.endif
|
|
|
|
|
1998-10-09 04:22:20 +00:00
|
|
|
do-install:
|
|
|
|
${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 nethelp-v406.nif netscape.cfg plugins splash
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$f ${NDIR}/${LANG}/
|
|
|
|
.endfor
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/start.sh ${PREFIX}/bin/ja-${BROWSER}
|
|
|
|
${LN} -sf ja-${BROWSER} ${PREFIX}/bin/netscape
|
|
|
|
${MKDIR} ${MANDIR}/man1
|
|
|
|
${INSTALL_MAN} ${MANFILE} ${MANDIR}/man1
|
1998-03-21 04:45:39 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|