Merge from English version.
ports/Makefile : 1.16 -> 1.22
ports/portindex : 1.23 -> 1.25
ports/ports.inc : 1.33 -> 1.35
Submitted by: Yasuhiro Fukuma <yasuf@big.or.jp>
Motoyuki Konno <motoyuki@freebsd.org>
This commit is contained in:
parent
da9f86b02d
commit
77f99ce3fc
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=4825
3 changed files with 65 additions and 16 deletions
|
|
@ -1,33 +1,53 @@
|
|||
# $Id: Makefile,v 1.13 1999-03-09 15:13:47 motoyuki Exp $
|
||||
# $Id: Makefile,v 1.14 1999-05-06 15:15:19 motoyuki Exp $
|
||||
# The FreeBSD Japanese Documentation Project
|
||||
# Original revision: 1.16
|
||||
# Original revision: 1.22
|
||||
|
||||
.if exists(../Makefile.conf)
|
||||
.include "../Makefile.conf"
|
||||
.endif
|
||||
|
||||
PORTINDEX= perl ${.CURDIR}/portindex
|
||||
PORTINDEX= perl5 ${.CURDIR}/portindex
|
||||
INDEX= INDEX
|
||||
PINDEX= ports/${INDEX}
|
||||
Y2K= YEAR2000
|
||||
PY2K= ports/${Y2K}
|
||||
|
||||
COOKIE= ${INDEX} Makefile.gen
|
||||
|
||||
.if exists(Makefile.gen)
|
||||
.include "Makefile.gen"
|
||||
.endif
|
||||
CLEANFILES+= ${DOCS} Makefile.gen ${INDEX} packages.exists
|
||||
CLEANFILES+= ${DOCS} Makefile.gen ${INDEX} ${Y2K} packages.exists
|
||||
|
||||
cvsindex= $${CVSROOT}/${PINDEX},v
|
||||
_ALLINSTALL= packages.exists ${INDEX}
|
||||
cvsy2k= $${CVSROOT}/${PY2K},v
|
||||
_ALLINSTALL= packages.exists ${INDEX} ${Y2K}
|
||||
|
||||
|
||||
.if defined(NOPORTSCVS)
|
||||
${INDEX}: $${PORTSBASE}/${PINDEX}
|
||||
cp ${PORTSBASE}/${PINDEX} ${INDEX}
|
||||
|
||||
${Y2K}: $${PORTSBASE}/${PY2K}
|
||||
cp ${PORTSBASE}/${PY2K} ${Y2K}
|
||||
|
||||
.else
|
||||
${INDEX}: ${cvsindex}
|
||||
cvs -QR co -p ${PINDEX} > ${INDEX}
|
||||
|
||||
${Y2K}: ${cvsy2k}
|
||||
cvs -QR co -p ${PY2K} > ${Y2K}
|
||||
.endif
|
||||
|
||||
# build the list of available packages only on the
|
||||
# main FreeBSD machines
|
||||
hostname!= hostname
|
||||
|
||||
packages.exists: ${cvsindex}
|
||||
.if defined(NOPORTSCVS)
|
||||
packages.exists:
|
||||
.else
|
||||
packages.exists: ${cvsindex} ${cvsy2k}
|
||||
.endif
|
||||
.if ${hostname} == "hub.freebsd.org" || ${hostname} == "freefall.freebsd.org"
|
||||
sh ${.CURDIR}/../../en/ports/packages > ${.TARGET}
|
||||
.else
|
||||
|
|
@ -38,8 +58,8 @@ Makefile.gen: index.sgml .NOTMAIN
|
|||
echo DOCS= *.sgml > Makefile.gen
|
||||
${MAKE} ${MAKEFLAGS} ${.IMPSRC}
|
||||
|
||||
index.sgml: ${INDEX} packages.exists portindex ports.inc .NOTMAIN
|
||||
index.sgml: ${INDEX} ${Y2K} packages.exists portindex ports.inc .NOTMAIN
|
||||
rm -f *.sgml
|
||||
${PORTINDEX} ${INDEX}
|
||||
${PORTINDEX} ${INDEX} ${Y2K}
|
||||
|
||||
.include "../../web.mk"
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
#
|
||||
# by John Fieber <jfieber@freebsd.org>
|
||||
# Mon May 13 10:31:58 EST 1996
|
||||
# $Id: portindex,v 1.13 1999-03-09 15:13:47 motoyuki Exp $
|
||||
# $Id: portindex,v 1.14 1999-05-06 15:15:20 motoyuki Exp $
|
||||
# The FreeBSD Japanese Documentation Project
|
||||
# Original revision: 1.23
|
||||
# Original revision: 1.25
|
||||
|
||||
############################################################
|
||||
|
||||
|
|
@ -43,8 +43,23 @@ $today = &getdate;
|
|||
|
||||
&packages_exist('packages.exists', *packages);
|
||||
&category_description('categories', *category_description);
|
||||
&y2k_statements;
|
||||
&main;
|
||||
|
||||
sub y2k_statements {
|
||||
|
||||
open(Y2K, $ARGV[1]);
|
||||
while(<Y2K>) {
|
||||
chop();
|
||||
( $dir, $url ) = split(/\s+/);
|
||||
$dir = $base . "/" . $dir;
|
||||
$y2k{$dir} = $url;
|
||||
|
||||
}
|
||||
close(Y2K);
|
||||
|
||||
}
|
||||
|
||||
sub getdate {
|
||||
# @months = ("January", "February", "March", "April", "May","June",
|
||||
# "July", "August", "September", "October", "November", "December");
|
||||
|
|
@ -131,7 +146,8 @@ sub main {
|
|||
}
|
||||
}
|
||||
|
||||
while (<>) {
|
||||
open(INDEX, $ARGV[0]);
|
||||
while (<INDEX>) {
|
||||
chop;
|
||||
s/&/&/g;
|
||||
s/</</g;
|
||||
|
|
@ -139,7 +155,7 @@ sub main {
|
|||
|
||||
# Read a record
|
||||
($name, $loc, $prefix, $desc, $ldesc, $owner, $cats,
|
||||
$bdep, $rdep) = split('\|');
|
||||
$bdep, $rdep, $www) = split('\|');
|
||||
|
||||
# Check for double hyphens in the name (--).
|
||||
$name =~ s/--/-/g;
|
||||
|
|
@ -175,6 +191,14 @@ sub main {
|
|||
|
||||
$data{$i} .= qq{ | <A HREF="$pds?$sourcepath">¥½¡¼¥¹</A>};
|
||||
|
||||
if ($y2k{"$loc"}) {
|
||||
$data{$i} .= qq{ | <a href="$y2k{$loc}">Y2K</a>};
|
||||
}
|
||||
|
||||
if ($www ne "") {
|
||||
$data{$i} .= qq{ | <a href="$www">Main Web Site</a>};
|
||||
}
|
||||
|
||||
$ownerurl = $owner;
|
||||
$ownerurl =~ s/</</g;
|
||||
$owenrurl =~ s/>/>/g;
|
||||
|
|
@ -276,4 +300,5 @@ sub main {
|
|||
&footer(MINDEX, "<HR><A HREF=\"index.html\">Port ¤ÎʬÎà</A><HR>");
|
||||
close(MINDEX);
|
||||
|
||||
close(INDEX);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,16 +1,20 @@
|
|||
<!-- $Id: ports.inc,v 1.8 1999-03-10 18:38:51 motoyuki Exp $ -->
|
||||
<!-- $Id: ports.inc,v 1.9 1999-05-06 15:15:22 motoyuki Exp $ -->
|
||||
<!-- The FreeBSD Japanese Documentation Project -->
|
||||
<!-- Original revision: 1.33 -->
|
||||
<!-- Original revision: 1.35 -->
|
||||
<p>FreeBSD の Ports と Packages のコレクションは,
|
||||
ユーザや管理者が簡単にアプリケーショ
|
||||
ンのインストールを簡単に行う方法を提供します.
|
||||
ここに並べられている各 ``port'' には, FreeBSD でオリジナルのアプリケー
|
||||
ports コレクションは<a
|
||||
href="http://www.freebsd.org/%7Easami/papers/growth.gif">驚異的な速度で
|
||||
その数を増してきました</a>.
|
||||
|
||||
<p>ここに並べられている各 ``port'' には, FreeBSD でオリジナルのアプリケー
|
||||
ションのソースコードをコンパイルし実行するために必要なパッチが全て含ま
|
||||
れています.
|
||||
アプリケーションのインストールは簡単で, port をダウンロードし, それを
|
||||
展開し, port ディレクトリで <tt>make</tt> と打つだけです.
|
||||
より便利にするためには, インストール時に
|
||||
<a href="ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports.tar.gz">
|
||||
<a href="ftp://ftp.freebsd.org/pub/FreeBSD/branches/-current/ports.tar.gz">
|
||||
ports 階層全体</a> をインストール (あるいは
|
||||
<a href="../handbook/cvsup.html">CVSup</a> を使ってこれらを最新のものに
|
||||
更新) すれば, 何千ものアプリケーションがすぐに使えるようになります.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue