diff options
author | sada <sada@FreeBSD.org> | 1998-12-30 05:53:22 +0800 |
---|---|---|
committer | sada <sada@FreeBSD.org> | 1998-12-30 05:53:22 +0800 |
commit | 2f63be0f3724efbb7416386299518a3227372647 (patch) | |
tree | 157978ac1c4910d8db0343afbcbef2045e3fec8b /japanese/netscape4-communicator | |
parent | ddbe82c7bb36003f613456798f6f734ce50f9a69 (diff) | |
download | freebsd-ports-gnome-2f63be0f3724efbb7416386299518a3227372647.tar.gz freebsd-ports-gnome-2f63be0f3724efbb7416386299518a3227372647.tar.zst freebsd-ports-gnome-2f63be0f3724efbb7416386299518a3227372647.zip |
Update resources.
Environment Var. `JA_NETSCAPE_INSTALL_CFG' to force install `netscape.cfg'
file.
Update manpage `ja-netscape.1'.
Diffstat (limited to 'japanese/netscape4-communicator')
-rw-r--r-- | japanese/netscape4-communicator/Makefile | 17 | ||||
-rw-r--r-- | japanese/netscape4-communicator/distinfo | 2 | ||||
-rw-r--r-- | japanese/netscape4-communicator/files/INSTALL | 9 |
3 files changed, 22 insertions, 6 deletions
diff --git a/japanese/netscape4-communicator/Makefile b/japanese/netscape4-communicator/Makefile index 6fb48c975344..82ffa674497f 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 80926ca22740..8e347f541694 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 000000000000..a1343b4ff7f4 --- /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 |