aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSADA Kenji <sada@FreeBSD.org>2000-07-13 15:05:59 +0000
committerSADA Kenji <sada@FreeBSD.org>2000-07-13 15:05:59 +0000
commit279ab8c91268fe226cc3b85924824efd072a6194 (patch)
tree9a1f89fd711fde46e108c37ff57306aca4d03af1
parentff0218176263d0481dadae3da970217a6385639a (diff)
downloadports-279ab8c91268fe226cc3b85924824efd072a6194.tar.gz
ports-279ab8c91268fe226cc3b85924824efd072a6194.zip
Notes
-rw-r--r--japanese/netscape3.language/Makefile46
-rw-r--r--japanese/netscape3.language/pkg-descr4
-rw-r--r--japanese/netscape3.language/pkg-plist5
3 files changed, 23 insertions, 32 deletions
diff --git a/japanese/netscape3.language/Makefile b/japanese/netscape3.language/Makefile
index b43070cbf48f..19bdf08f6182 100644
--- a/japanese/netscape3.language/Makefile
+++ b/japanese/netscape3.language/Makefile
@@ -27,6 +27,7 @@ NO_BUILD= YES
LIBDIR= ${PREFIX}/lib/netscape
BINDIR= ${PREFIX}/bin
+DOCDIR= ${PREFIX}/share/doc/ja/${DISTNAME}
NLSDIR= ${LIBDIR}/nls
RESSUB= ja_JP.EUC
RESDIR= ${LIBDIR}/${RESSUB}
@@ -34,43 +35,34 @@ RESDIR= ${LIBDIR}/${RESSUB}
STARTFILE= netscape.sh
STARTFILE_SRC= ${FILESDIR}/netscape.sh
-# no distfile to fetch
-#do-fetch:
-
do-extract:
- @${MKDIR} ${WRKDIR}
- @${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DIST_SUBDIR}/NLS.tar.gz ${EXTRACT_AFTER_ARGS} -C ${WRKDIR}
- @${CP} ${DISTDIR}/${DIST_SUBDIR}/Netscape-JPfont ${WRKDIR}
- @${CAT} ${DISTDIR}/${DIST_SUBDIR}/Netscape-v301-ja_euc.ad.gz \
+ ${MKDIR} ${WRKDIR}
+ ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DIST_SUBDIR}/NLS.tar.gz ${EXTRACT_AFTER_ARGS} -C ${WRKDIR}
+ ${CP} ${DISTDIR}/${DIST_SUBDIR}/Netscape-JPfont ${WRKDIR}
+ ${CAT} ${DISTDIR}/${DIST_SUBDIR}/Netscape-v301-ja_euc.ad.gz \
| ${GUNZIP_CMD} > ${WRKDIR}/Netscape.jp.ad
do-configure:
- @${SED} -e "s;@X11BASE@;${X11BASE};g" -e "s;@PREFIX@;${PREFIX};g" \
+ ${SED} -e "s;@X11BASE@;${X11BASE};g" -e "s;@PREFIX@;${PREFIX};g" \
${STARTFILE_SRC} >${WRKDIR}/${STARTFILE}
-NO_BUILD= yes
-
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}
+ -${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}
.if defined(ENGLISH)
- @${INSTALL_DATA} ${WRKSRC}/Netscape.ad ${RESDIR}/Netscape
- @${CAT} ${WRKSRC}/Netscape-JPfont >> ${RESDIR}/Netscape
+ ${INSTALL_DATA} ${WRKSRC}/Netscape.ad ${RESDIR}/Netscape
+ ${CAT} ${WRKSRC}/Netscape-JPfont >> ${RESDIR}/Netscape
.else
- @${INSTALL_DATA} ${WRKSRC}/Netscape.jp.ad ${RESDIR}/Netscape
+ ${INSTALL_DATA} ${WRKSRC}/Netscape.jp.ad ${RESDIR}/Netscape
.endif
-DOCDIR= ${PREFIX}/share/doc/${DISTNAME}
-
post-install:
- @${MKDIR} ${PREFIX}/share/doc/${PKGNAME}
- @${INSTALL_DATA} ${FILESDIR}/setup.doc ${PREFIX}/share/doc/${PKGNAME}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCDIR}
${INSTALL_DATA} ${FILESDIR}/setup.doc ${DOCDIR}
@@ -79,9 +71,5 @@ post-install:
.include <bsd.port.mk>
-.SILENT:
-
-# cf. <http://www.bpel.tutics.tut.ac.jp/~take/>
-
# This port is based on 'russian/netscape3.language(ru-netscape-3.01)'
# by asami@FreeBSD.org
diff --git a/japanese/netscape3.language/pkg-descr b/japanese/netscape3.language/pkg-descr
index 502a0e92b918..9ddb93fe4adb 100644
--- a/japanese/netscape3.language/pkg-descr
+++ b/japanese/netscape3.language/pkg-descr
@@ -11,5 +11,7 @@ If you love the English messages, install as
Please read ``/usr/local/share/doc/ja-netscape-3.04/setup.doc''
to setup your browser.
+WWW: http://www.bpel.tutics.tut.ac.jp/~take/
+
- SADA Kenji
-sada@e-mail.ne.jp
+sada@FreeBSD.org
diff --git a/japanese/netscape3.language/pkg-plist b/japanese/netscape3.language/pkg-plist
index 36437322fe6a..4ae21e3ce890 100644
--- a/japanese/netscape3.language/pkg-plist
+++ b/japanese/netscape3.language/pkg-plist
@@ -21,5 +21,6 @@ lib/netscape/nls/wr_WR.ct
lib/netscape/nls/zh_CN.ugb
lib/netscape/nls/zh_TW.big5
@dirrm lib/netscape/nls
-share/doc/ja-netscape-3.04/setup.doc
-@dirrm share/doc/ja-netscape-3.04
+share/doc/ja/netscape-3.04/setup.doc
+@dirrm share/doc/ja/netscape-3.04
+@unexec rmdir %B 2>/dev/null || true