Remove more around ports/YEAR2000 in Spanish translation.

This commit is contained in:
Jun Kuriyama 2001-01-02 01:49:05 +00:00
parent 4484d758cd
commit 0bd795f3f8
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=8620
3 changed files with 5 additions and 36 deletions

View file

@ -1,4 +1,4 @@
# $FreeBSD: www/es/ports/Makefile,v 1.7 1999/11/15 20:37:56 jesusr Exp $
# $FreeBSD: www/es/ports/Makefile,v 1.8 2000/11/29 23:56:58 kuriyama Exp $
.if exists(../Makefile.conf)
.include "../Makefile.conf"
@ -13,17 +13,9 @@
.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
@ -33,7 +25,7 @@ hostname!= hostname
.if defined(NOPORTSCVS)
packages.exists:
.else
packages.exists: ${cvsindex} ${cvsy2k}
packages.exists: ${cvsindex}
.endif
.if ${hostname} == "hub.freebsd.org" || ${hostname} == "freefall.freebsd.org"
.if exists(${.CURDIR}/../../en/ports/packages.exists)
@ -48,9 +40,9 @@ packages.exists: ${cvsindex} ${cvsy2k}
Makefile.gen: index.sgml .NOTMAIN
echo DOCS= *.sgml > Makefile.gen
index.sgml: ${INDEX} ${Y2K} packages.exists portindex ports.inc .NOTMAIN
index.sgml: ${INDEX} packages.exists portindex ports.inc .NOTMAIN
rm -f *.sgml
${PORTINDEX} ${INDEX} ${Y2K} ${.CURDIR}
${PORTINDEX} ${INDEX} ${.CURDIR}
install: all

View file

@ -2,19 +2,15 @@
PORTINDEX= perl5 ${.CURDIR}/portindex
INDEX= INDEX
PINDEX= ports/${INDEX}
Y2K= YEAR2000
PY2K= ports/${Y2K}
COOKIE= ${INDEX} Makefile.gen
CLEANFILES+= ${INDEX}
CLEANFILES+= ${Y2K}
CLEANFILES+= packages.exists.temp packages.exists
CLEANFILES+= ${DOCS}
CLEANFILES+= Makefile.gen
cvsindex= $${CVSROOT}/${PINDEX},v
cvsy2k= $${CVSROOT}/${PY2K},v
_ALLINSTALL= packages.exists ${INDEX} ${Y2K}
_ALLINSTALL= packages.exists ${INDEX}

View file

@ -41,23 +41,8 @@ $today = &getdate;
&packages_exist('packages.exists', *packages);
&category_description(($ARGV[2] || '.') . '/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");
@ -170,10 +155,6 @@ sub main {
$data{$i} .= qq{ | <A HREF="$pds?$sourcepath">Sources</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>};
}