summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--japanese/netscape4-communicator/Makefile17
-rw-r--r--japanese/netscape4-communicator/distinfo2
-rw-r--r--japanese/netscape4-communicator/files/INSTALL9
-rw-r--r--japanese/netscape4-navigator/Makefile6
-rw-r--r--japanese/netscape47-communicator/Makefile7
-rw-r--r--japanese/netscape47-communicator/distinfo2
-rw-r--r--japanese/netscape47-communicator/pkg-plist2
-rw-r--r--japanese/netscape48-communicator/Makefile17
-rw-r--r--japanese/netscape48-communicator/distinfo2
-rw-r--r--japanese/netscape48-communicator/files/INSTALL9
10 files changed, 52 insertions, 21 deletions
diff --git a/japanese/netscape4-communicator/Makefile b/japanese/netscape4-communicator/Makefile
index 6fb48c9..82ffa67 100644
--- a/japanese/netscape4-communicator/Makefile
+++ b/japanese/netscape4-communicator/Makefile
@@ -3,7 +3,7 @@
# Date created: 13 Mar 1998
# Whom: sada@FreeBSD.ORG
#
-# $Id: Makefile,v 1.12 1998/12/27 09:09:48 asami Exp $
+# $Id: Makefile,v 1.13 1998/12/27 19:43:52 sada Exp $
#
DISTNAME= ja-netscape-${BROWSER}-${BROWSER_VERSION}
@@ -21,6 +21,7 @@ RUN_DEPENDS?= ${PREFIX}/bin/${BROWSER}-${BROWSER_VERSION}:${PORTSDIR}/www/netsca
MAN1= ja-netscape.1
MANLANG= ja
NO_BUILD= yes
+PKGINSTALL= ${WRKDIR}/INSTALL
PLIST= ${.CURDIR}/pkg/PLIST
PLIST_SUB= NSUBDIR=${NSUBDIR} LANG=${LANG}
WRKSRC= ${WRKDIR}/netscape-ja_euc
@@ -40,7 +41,7 @@ MAKESCRIPT= ${SED} -e "s;@X11BASE@;${X11BASE};g" \
MANDIR= ${MANPREFIX}/man/${MANLANG}
NDIR= ${PREFIX}/${NSUBDIR}
NSUBDIR?= lib/netscape
-PORTKIT?= ja-netscape4-portkit.1998.1228.tar.gz
+PORTKIT= ja-netscape-portkit.1998.1230.tar.gz
PORTKIT_DIR= ${WRKDIR}/portkit
PORTKIT_SITES= http://WWW.JP.FreeBSD.ORG/~sada/distfiles/ \
http://WWW.FreeBSD.ORG/~sada/distfiles/
@@ -49,9 +50,11 @@ PORTKIT_SITES= http://WWW.JP.FreeBSD.ORG/~sada/distfiles/ \
do-configure:
${MAKESCRIPT} ${PORTKIT_DIR}/start.sh.in >${WRKDIR}/start.sh
- ${CP} ${PORTKIT_DIR}/Netscape.${BROWSER} ${WRKDIR}/Netscape
- ${CP} ${PORTKIT_DIR}/splash.${BROWSER} ${WRKDIR}/splash
- ${CP} ${WRKDIR}/splash ${WRKDIR}/about
+ ${MAKESCRIPT} ${PORTKIT_DIR}/Netscape.${BROWSER}-${BROWSER_VERSION} \
+ >${WRKDIR}/Netscape
+ ${MAKESCRIPT} ${MASTERDIR}/files/INSTALL >${PKGINSTALL}
+ ${CP} ${PORTKIT_DIR}/about.${BROWSER}-${BROWSER_VERSION} ${WRKDIR}/about
+ ${CP} ${WRKDIR}/about ${WRKDIR}/splash
do-install:
${INSTALL_DATA} ${PORTKIT_DIR}/preferences.js ${NDIR}
@@ -71,4 +74,8 @@ do-install:
${MKDIR} ${MANDIR}/man1
${INSTALL_MAN} ${PORTKIT_DIR}/${MAN1} ${MANDIR}/man1
+post-install:
+ ${SETENV} PKG_PREFIX=${PREFIX} \
+ ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+
.include <bsd.port.mk>
diff --git a/japanese/netscape4-communicator/distinfo b/japanese/netscape4-communicator/distinfo
index 80926ca..8e347f5 100644
--- a/japanese/netscape4-communicator/distinfo
+++ b/japanese/netscape4-communicator/distinfo
@@ -1,2 +1,2 @@
MD5 (communicator-ja-euc-v407-export.generic-generic-generic.tar.gz) = b9ea038c83741e70aec74cc0e782646d
-MD5 (ja-netscape4-portkit.1998.1228.tar.gz) = fd18a84b241f631a8ec30a210f893f30
+MD5 (ja-netscape-portkit.1998.1230.tar.gz) = 09162a122cf3f592e34d4b7977b73e54
diff --git a/japanese/netscape4-communicator/files/INSTALL b/japanese/netscape4-communicator/files/INSTALL
new file mode 100644
index 0000000..a1343b4
--- /dev/null
+++ b/japanese/netscape4-communicator/files/INSTALL
@@ -0,0 +1,9 @@
+#!/bin/sh
+[ "x$1" = "x" ] && exit 1
+if [ "x$2" = "xPOST-INSTALL" -a -n "$JA_NETSCAPE_INSTALL_CFG" ]; then
+ CFGLOC=/usr/lib/X11/@LANG@/app-defaults
+ if [ ! -e $CFGLOC/netscape.cfg ]; then
+ mkdir -p $CFGLOC
+ cp @NDIR@/@LANG@/netscape.cfg $CFGLOC
+ fi
+fi
diff --git a/japanese/netscape4-navigator/Makefile b/japanese/netscape4-navigator/Makefile
index 2e05be9..5282820 100644
--- a/japanese/netscape4-navigator/Makefile
+++ b/japanese/netscape4-navigator/Makefile
@@ -3,13 +3,13 @@
# Date created: 13 Mar 1998
# Whom: sada@FreeBSD.ORG
#
-# $Id: Makefile,v 1.8 1998/12/20 22:18:12 sada Exp $
+# $Id: Makefile,v 1.9 1998/12/26 21:52:55 sada Exp $
#
-MAINTAINER= sada@FreeBSD.ORG
-
MASTERDIR= ${.CURDIR}/../netscape4-communicator
+MAINTAINER= sada@FreeBSD.ORG
+
BROWSER= navigator
.include "${MASTERDIR}/Makefile"
diff --git a/japanese/netscape47-communicator/Makefile b/japanese/netscape47-communicator/Makefile
index c8e3bcd..76d3a45 100644
--- a/japanese/netscape47-communicator/Makefile
+++ b/japanese/netscape47-communicator/Makefile
@@ -3,7 +3,7 @@
# Date created: 13 Mar 1998
# Whom: sada
#
-# $Id: Makefile,v 1.2 1998/12/27 09:09:50 asami Exp $
+# $Id: Makefile,v 1.3 1998/12/28 16:14:46 sada Exp $
#
MASTERDIR= ${.CURDIR}/../netscape4-communicator
@@ -13,12 +13,11 @@ MAINTAINER= sada@FreeBSD.ORG
RUN_DEPENDS= ${PREFIX}/bin/${BROWSER}-${BROWSER_VERSION}:${PORTSDIR}/www/netscape45-${BROWSER} \
${FONT_DEPEND}
-FILESDIR= ${.CURDIR}/files
+FILESDIR?= ${.CURDIR}/files
BROWSER_CMD= ja-${BROWSER}-45
BROWSER_VERSION= 4.5
JAPANIZE_KIT= communicator-ja-euc-v45-export.generic-generic-generic.tar.gz
-NSUBDIR= netscape-4.5
-PORTKIT= ja-netscape45-portkit.1998.1228.tar.gz
+NSUBDIR?= netscape-4.5
.include "${MASTERDIR}/Makefile"
diff --git a/japanese/netscape47-communicator/distinfo b/japanese/netscape47-communicator/distinfo
index 710dd6a..18a4e68 100644
--- a/japanese/netscape47-communicator/distinfo
+++ b/japanese/netscape47-communicator/distinfo
@@ -1,2 +1,2 @@
MD5 (communicator-ja-euc-v45-export.generic-generic-generic.tar.gz) = 925fd472be775f1cf174609b44b0adc2
-MD5 (ja-netscape45-portkit.1998.1228.tar.gz) = d7bd39fb5048b20241faacca130b49e5
+MD5 (ja-netscape-portkit.1998.1230.tar.gz) = 09162a122cf3f592e34d4b7977b73e54
diff --git a/japanese/netscape47-communicator/pkg-plist b/japanese/netscape47-communicator/pkg-plist
index a43c09e..b593039 100644
--- a/japanese/netscape47-communicator/pkg-plist
+++ b/japanese/netscape47-communicator/pkg-plist
@@ -1,4 +1,4 @@
-bin/ja-%%BROWSER%%
+bin/ja-communicator-45
@exec ln -sf %f %B/netscape
%%NSUBDIR%%/%%LANG%%/Netscape
%%NSUBDIR%%/%%LANG%%/about
diff --git a/japanese/netscape48-communicator/Makefile b/japanese/netscape48-communicator/Makefile
index 6fb48c9..82ffa67 100644
--- a/japanese/netscape48-communicator/Makefile
+++ b/japanese/netscape48-communicator/Makefile
@@ -3,7 +3,7 @@
# Date created: 13 Mar 1998
# Whom: sada@FreeBSD.ORG
#
-# $Id: Makefile,v 1.12 1998/12/27 09:09:48 asami Exp $
+# $Id: Makefile,v 1.13 1998/12/27 19:43:52 sada Exp $
#
DISTNAME= ja-netscape-${BROWSER}-${BROWSER_VERSION}
@@ -21,6 +21,7 @@ RUN_DEPENDS?= ${PREFIX}/bin/${BROWSER}-${BROWSER_VERSION}:${PORTSDIR}/www/netsca
MAN1= ja-netscape.1
MANLANG= ja
NO_BUILD= yes
+PKGINSTALL= ${WRKDIR}/INSTALL
PLIST= ${.CURDIR}/pkg/PLIST
PLIST_SUB= NSUBDIR=${NSUBDIR} LANG=${LANG}
WRKSRC= ${WRKDIR}/netscape-ja_euc
@@ -40,7 +41,7 @@ MAKESCRIPT= ${SED} -e "s;@X11BASE@;${X11BASE};g" \
MANDIR= ${MANPREFIX}/man/${MANLANG}
NDIR= ${PREFIX}/${NSUBDIR}
NSUBDIR?= lib/netscape
-PORTKIT?= ja-netscape4-portkit.1998.1228.tar.gz
+PORTKIT= ja-netscape-portkit.1998.1230.tar.gz
PORTKIT_DIR= ${WRKDIR}/portkit
PORTKIT_SITES= http://WWW.JP.FreeBSD.ORG/~sada/distfiles/ \
http://WWW.FreeBSD.ORG/~sada/distfiles/
@@ -49,9 +50,11 @@ PORTKIT_SITES= http://WWW.JP.FreeBSD.ORG/~sada/distfiles/ \
do-configure:
${MAKESCRIPT} ${PORTKIT_DIR}/start.sh.in >${WRKDIR}/start.sh
- ${CP} ${PORTKIT_DIR}/Netscape.${BROWSER} ${WRKDIR}/Netscape
- ${CP} ${PORTKIT_DIR}/splash.${BROWSER} ${WRKDIR}/splash
- ${CP} ${WRKDIR}/splash ${WRKDIR}/about
+ ${MAKESCRIPT} ${PORTKIT_DIR}/Netscape.${BROWSER}-${BROWSER_VERSION} \
+ >${WRKDIR}/Netscape
+ ${MAKESCRIPT} ${MASTERDIR}/files/INSTALL >${PKGINSTALL}
+ ${CP} ${PORTKIT_DIR}/about.${BROWSER}-${BROWSER_VERSION} ${WRKDIR}/about
+ ${CP} ${WRKDIR}/about ${WRKDIR}/splash
do-install:
${INSTALL_DATA} ${PORTKIT_DIR}/preferences.js ${NDIR}
@@ -71,4 +74,8 @@ do-install:
${MKDIR} ${MANDIR}/man1
${INSTALL_MAN} ${PORTKIT_DIR}/${MAN1} ${MANDIR}/man1
+post-install:
+ ${SETENV} PKG_PREFIX=${PREFIX} \
+ ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+
.include <bsd.port.mk>
diff --git a/japanese/netscape48-communicator/distinfo b/japanese/netscape48-communicator/distinfo
index 80926ca..8e347f5 100644
--- a/japanese/netscape48-communicator/distinfo
+++ b/japanese/netscape48-communicator/distinfo
@@ -1,2 +1,2 @@
MD5 (communicator-ja-euc-v407-export.generic-generic-generic.tar.gz) = b9ea038c83741e70aec74cc0e782646d
-MD5 (ja-netscape4-portkit.1998.1228.tar.gz) = fd18a84b241f631a8ec30a210f893f30
+MD5 (ja-netscape-portkit.1998.1230.tar.gz) = 09162a122cf3f592e34d4b7977b73e54
diff --git a/japanese/netscape48-communicator/files/INSTALL b/japanese/netscape48-communicator/files/INSTALL
new file mode 100644
index 0000000..a1343b4
--- /dev/null
+++ b/japanese/netscape48-communicator/files/INSTALL
@@ -0,0 +1,9 @@
+#!/bin/sh
+[ "x$1" = "x" ] && exit 1
+if [ "x$2" = "xPOST-INSTALL" -a -n "$JA_NETSCAPE_INSTALL_CFG" ]; then
+ CFGLOC=/usr/lib/X11/@LANG@/app-defaults
+ if [ ! -e $CFGLOC/netscape.cfg ]; then
+ mkdir -p $CFGLOC
+ cp @NDIR@/@LANG@/netscape.cfg $CFGLOC
+ fi
+fi
OpenPOWER on IntegriCloud