summaryrefslogtreecommitdiffstats
path: root/japanese/netscape48-communicator
diff options
context:
space:
mode:
authorsada <sada@FreeBSD.org>2000-03-26 19:59:48 +0000
committersada <sada@FreeBSD.org>2000-03-26 19:59:48 +0000
commitbeb9fbef2e239129a4b96a15214ae2e6848a8641 (patch)
treeaf3a7298ec28f51cc7f8f052eff9734239132590 /japanese/netscape48-communicator
parenta93dd2e64409febdf3e721663185e6fa4d245998 (diff)
downloadFreeBSD-ports-beb9fbef2e239129a4b96a15214ae2e6848a8641.zip
FreeBSD-ports-beb9fbef2e239129a4b96a15214ae2e6848a8641.tar.gz
Cope with ja-linux-netscape ports, and some cosmetic refines.
Diffstat (limited to 'japanese/netscape48-communicator')
-rw-r--r--japanese/netscape48-communicator/Makefile21
-rw-r--r--japanese/netscape48-communicator/distinfo1
-rw-r--r--japanese/netscape48-communicator/files/start.sh.in2
-rw-r--r--japanese/netscape48-communicator/pkg-plist2
4 files changed, 14 insertions, 12 deletions
diff --git a/japanese/netscape48-communicator/Makefile b/japanese/netscape48-communicator/Makefile
index ea8a645..e798669 100644
--- a/japanese/netscape48-communicator/Makefile
+++ b/japanese/netscape48-communicator/Makefile
@@ -6,48 +6,49 @@
# $FreeBSD$
#
-DISTNAME= ja-netscape-${BROWSER}-${BROWSER_VERSION}
+DISTNAME?= communicator-ja-euc-v407-export.generic-generic-generic
+PKGNAME= ja-netscape-${BROWSER_ARC}-${BROWSER_VERSION}
CATEGORIES= japanese www
MASTER_SITES= ${MASTER_SITE_PORTS_JP} \
http://www.bres.tsukuba.ac.jp/~yohta/netscape/
-DISTFILES= ${JAPANIZE_KIT}
MAINTAINER= sada@FreeBSD.org
# ?= for ports that include this Makefile
-RUN_DEPENDS?= ${PREFIX}/bin/${BROWSER}-${BROWSER_VERSION}:${PORTSDIR}/www/netscape4-${BROWSER}
+RUN_DEPENDS?= ${PREFIX}/bin/${BROWSER_ARC}-${BROWSER_VERSION}:${PORTSDIR}/www/netscape${BROWSER_VER}-${BROWSER}
RUN_DEPENDS+= ${PKG_DBDIR}/ja-netscape-fonts-1.0:${PORTSDIR}/japanese/netscape-fonts
MAN1= ja-netscape.1
MANLANG= ja
NO_BUILD= yes
PKGINSTALL= ${WRKDIR}/INSTALL
-PLIST= ${.CURDIR}/pkg/PLIST
-PLIST_SUB= NSUBDIR=${NSUBDIR} LANG=${LANG}
+PLIST_SUB= BROWSER=${BROWSER_ARC} NSUBDIR=${NSUBDIR} LANG=${LANG} VER=${BROWSER_VER}
WRKSRC= ${WRKDIR}/netscape-ja_euc
BROWSER?= communicator
-BROWSER_BIN?= ${BROWSER}-${BROWSER_VERSION}.bin
-BROWSER_CMD?= ja-${BROWSER}-4
+BROWSER_ARC?= ${BROWSER}
+BROWSER_BIN?= ${BROWSER_ARC}-${BROWSER_VERSION}.bin
+BROWSER_CMD?= ja-${BROWSER_ARC}-${BROWSER_VER}
+BROWSER_VER?= 4
BROWSER_VERSION?= 4.08
-JAPANIZE_KIT?= communicator-ja-euc-v407-export.generic-generic-generic.tar.gz
LANG= ja_JP.EUC
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}-${BROWSER_VERSION};g" \
+ -e "s;@BROWSER@;${BROWSER_ARC}-${BROWSER_VERSION};g" \
-e "s;@BROWSER_BIN@;${BROWSER_BIN};g" \
-e "s;@LANG@;${LANG};g"
MANDIR= ${MANPREFIX}/man/${MANLANG}
NDIR= ${PREFIX}/${NSUBDIR}
NSUBDIR?= lib/netscape
NETHELP?= nethelp-v406
+START_SCRIPT?= ${MASTERDIR}/files/start.sh.in
.SILENT:
do-configure:
- ${MAKESCRIPT} ${MASTERDIR}/files/start.sh.in >${WRKDIR}/start.sh
+ ${MAKESCRIPT} ${START_SCRIPT} >${WRKDIR}/start.sh
${MAKESCRIPT} ${WRKSRC}/Netscape.ad-ja_euc \
| ${SED} "s/-dt-interface system-medium-\*-\*-S\*-\*-\*-\*-\*-\*-\*-\*-\*:/-misc-fixed-medium-r-normal--14-\*-\*-\*-\*-\*-iso8859-1; -misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0208.1983-0; -misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0201.1976-0:/;" \
>${WRKDIR}/Netscape
diff --git a/japanese/netscape48-communicator/distinfo b/japanese/netscape48-communicator/distinfo
index 3e4e216..128ea78 100644
--- a/japanese/netscape48-communicator/distinfo
+++ b/japanese/netscape48-communicator/distinfo
@@ -1 +1,2 @@
MD5 (communicator-ja-euc-v407-export.generic-generic-generic.tar.gz) = b9ea038c83741e70aec74cc0e782646d
+MD5 (communicator-ja-euc-v472-export.generic-generic-generic.tar.gz) = ada5444f8678039d1f4daeaa3cc6b90a
diff --git a/japanese/netscape48-communicator/files/start.sh.in b/japanese/netscape48-communicator/files/start.sh.in
index 5eac0e7..ad9e9b3 100644
--- a/japanese/netscape48-communicator/files/start.sh.in
+++ b/japanese/netscape48-communicator/files/start.sh.in
@@ -4,7 +4,7 @@ if [ ! -d $HOME/.netscape ]; then
cp @RDIR@/preferences.js $HOME/.netscape
chmod 644 $HOME/.netscape/preferences.js
fi
-export LANG=ja_JP.EUC
+export LANG=@LANG@
export LC_ALL=${LANG}
export LC_CTYPE=${LANG}
export MOZILLA_HOME=@NDIR@
diff --git a/japanese/netscape48-communicator/pkg-plist b/japanese/netscape48-communicator/pkg-plist
index 1be97b5..6ee24c5 100644
--- a/japanese/netscape48-communicator/pkg-plist
+++ b/japanese/netscape48-communicator/pkg-plist
@@ -1,4 +1,4 @@
-bin/ja-communicator-4
+bin/ja-%%BROWSER%%-%%VER%%
@exec ln -sf %f %B/netscape
%%NSUBDIR%%/netscape.cfg
%%NSUBDIR%%/%%LANG%%/Netscape
OpenPOWER on IntegriCloud