aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorsada <sada@FreeBSD.org>2000-07-13 23:05:59 +0800
committersada <sada@FreeBSD.org>2000-07-13 23:05:59 +0800
commit2b9c05a0eed7f1cec26db93694096dc071325b93 (patch)
treefebfb8934406c8f6c6d7d620db0bf68e059582a5 /japanese
parent1f798105f3cd5e001c06edf9b6f84d54c959f537 (diff)
downloadfreebsd-ports-graphics-2b9c05a0eed7f1cec26db93694096dc071325b93.tar.gz
freebsd-ports-graphics-2b9c05a0eed7f1cec26db93694096dc071325b93.tar.zst
freebsd-ports-graphics-2b9c05a0eed7f1cec26db93694096dc071325b93.zip
* Wipe out extra files and directories.
* Change maintainer's mail. * Some cosmetic changes. Submitted by: bento
Diffstat (limited to 'japanese')
-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 b43070cbf48..19bdf08f618 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 502a0e92b91..9ddb93fe4ad 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 36437322fe6..4ae21e3ce89 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