head	1.16;
access;
symbols
	HRS_XML_CLEANUP:1.15
	HRS_XML_CLEANUP_PRE:1.14
	EMILYBOYD_REDESIGN:1.12
	PRE_REDESIGN:1.12
	XML_XSL_XP:1.9.0.2
	XML_XSL_XP_BP:1.9
	jesusr:1.1.1.1
	ES_WWW:1.1.1;
locks; strict;
comment	@# @;


1.16
date	2008.01.28.23.06.10;	author gabor;	state dead;
branches;
next	1.15;

1.15
date	2006.08.19.21.22.34;	author hrs;	state Exp;
branches;
next	1.14;

1.14
date	2006.07.16.11.22.04;	author simon;	state Exp;
branches;
next	1.13;

1.13
date	2005.12.04.11.50.51;	author pav;	state Exp;
branches;
next	1.12;

1.12
date	2004.11.13.12.23.19;	author ceri;	state Exp;
branches;
next	1.11;

1.11
date	2001.12.12.11.57.37;	author phantom;	state Exp;
branches;
next	1.10;

1.10
date	2001.12.06.12.28.23;	author phantom;	state Exp;
branches;
next	1.9;

1.9
date	2001.01.02.01.49.05;	author kuriyama;	state Exp;
branches;
next	1.8;

1.8
date	2000.11.29.23.56.58;	author kuriyama;	state Exp;
branches;
next	1.7;

1.7
date	99.11.15.20.37.56;	author jesusr;	state Exp;
branches;
next	1.6;

1.6
date	99.09.06.07.03.04;	author peter;	state Exp;
branches;
next	1.5;

1.5
date	99.05.27.09.04.12;	author wosch;	state Exp;
branches;
next	1.4;

1.4
date	99.04.24.16.37.00;	author jesusr;	state Exp;
branches;
next	1.3;

1.3
date	99.04.21.11.44.43;	author asami;	state Exp;
branches;
next	1.2;

1.2
date	99.03.18.13.55.09;	author jesusr;	state Exp;
branches;
next	1.1;

1.1
date	99.02.08.19.26.11;	author wosch;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.02.08.19.26.11;	author wosch;	state Exp;
branches;
next	;


desc
@@


1.16
log
@- Remove another bunch of old, untranslated stuff

Discussed with:	carvay
@
text
@# $FreeBSD: www/es/ports/Makefile,v 1.15 2006/08/19 21:22:34 hrs Exp $

.if exists(../Makefile.conf)
.include "../Makefile.conf"
.endif
.if exists(../Makefile.inc)
.include "../Makefile.inc"
.endif
.if exists(Makefile.inc)
.include "Makefile.inc"
.endif

FETCH_OPT?=	-am

.if defined(PINDEX_OVERRIDE)
${INDEX}: ${PINDEX_OVERRIDE}
	${CP} ${PINDEX_OVERRIDE} ${INDEX}
.elif defined(NOPORTSNET)
${INDEX}: $${PORTSBASE}/${PINDEX}
	cp ${PORTSBASE}/${PINDEX} ${INDEX}
.else
${INDEX}:
	${FETCH} ${FETCH_OPT} -o ${INDEX}.bz2 ${INDEXURI}.bz2
	${BUNZIP2} ${INDEX}.bz2
.endif

# build the list of available packages only on the 
# main FreeBSD machines
hostname!= hostname

packages.exists:
.if ${hostname} == "hub.freebsd.org" || ${hostname} == "freefall.freebsd.org"
.if  exists(${.CURDIR}/../../en/ports/packages.exists)
	cp ${.CURDIR}/../../en/ports/${.TARGET} .
.else
	sh ${.CURDIR}/packages > ${.TARGET}
.endif
.else
	touch ${.TARGET}
.endif

Makefile.gen: index.sgml .NOTMAIN
	(	${ECHO_CMD} TIDY=${PERL};\
		${ECHO_CMD} TIDYOPTS="-i'' -npe 's,\"-//FreeBSD//DTD HTML 4.01 Transitional-Based Extension//EN\",\"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\",'";\
		${ECHO_CMD} DOCS= *.sgml;\
	) > Makefile.gen
.if defined(NO_TIDY)
	${ECHO_CMD} NO_TIDY=${NO_TIDY} >> Makefile.gen
.endif

index.sgml: ${INDEX} packages.exists portindex ports.inc .NOTMAIN
	rm -f *.sgml
	${PORTINDEX} ${INDEX} ${.CURDIR}

install: all

all install clean:
	(cd ${.CURDIR} && ${MAKE}  ${MAKEFLAGS} -f ${.CURDIR}/Makefile.inc0 ${.TARGET})

.include "${WEB_PREFIX}/share/mk/web.site.mk"
@


1.15
log
@www cleanup mega commit:

 - Move includes.nav*.sgml to share/sgml/navibar.ent and
   <lang>/share/sgml/navibar.l10n.ent.

 - Move includes.sgml and includes.xsl to
   share/sgml/common.ent, share/sgml/header.ent, <lang>/share/sgml/l10n.ent,
   and <lang>?share/sgml/header.l10n.ent.

 - Move most of XSLT libraries to share/sgml/*.xsl and
   <lang>/share/sgml/*.xsl.

 - Move news.xml and other *.xml files for the similar purpose
   to share/sgml/*.xml and <lang>/share/sgml/*.xml.

 - Switch to use a custom DTD for HTML document.  Now we use
   "-//FreeBSD//DTD HTML 4.01 Transitional-Based Extension", which is
   HTML 4.01 + some entities previously pulled via
   "<!ENTITY % includes SYSTEM "includes.sgml"> %includes;" line.
   The location of entity file will be resolved by using catalog file.

 - Add DOCTYPE declearation to XML documents.  This makes the followings
   possible:

   * Use of &foo; entities for SGML in an XML file instead of defining
     {$foo} as the same content.

   * &symbolic; entities for Latin characters.

 - Duplicated information between SGML and XML, or English and
   translated doc, has been removed as much as possible.
@
text
@d1 1
a1 1
# $FreeBSD: www/es/ports/Makefile,v 1.14 2006/07/16 11:22:04 simon Exp $
@


1.14
log
@MFen 1.37+1.38:

- Make it possible to override the complete path to the INDEX file
  used for the ports/ part of the website, by setting the
  PINDEX_OVERRIDE variable. (Already merged in www/ja/ports/Makefile.)

- Force NO_TIDY for the ports web pages, since it takes a long time to
  run tidy on these huge HTML files, and the files are valid HTML when
  generated by portindex, even without tidy.

  Running without tidy caused the build time to go from ~8 minutes to
  ~1 minute on my test machine.  An additional bonus is that the
  generated HTML files are now significantly smaller.
@
text
@d1 1
a1 1
# $FreeBSD: www/es/ports/Makefile,v 1.13 2005/12/04 11:50:51 pav Exp $
a14 7
#
# Force NO_TIDY for the ports web pages, since it takes a long time to
# run tidy on these huge HTML files, and the files are valid HTML when
# generated by portindex, even without tidy.
#
NO_TIDY=	YES

d43 4
a46 1
	echo DOCS= *.sgml > Makefile.gen
@


1.13
log
@- Merge from www/en/ports:

  Makefile 1.44
  Makefile.inc 1.8

  Fetch bzip2 compressed copy of INDEX instead of plain one
@
text
@d1 1
a1 1
# $FreeBSD: www/es/ports/Makefile,v 1.12 2004/11/13 12:23:19 ceri Exp $
d15 11
a25 1
.if defined(NOPORTSCVS)
d51 3
@


1.12
log
@Bandaid for the removal of ports/INDEX; better solutions are welcomed.
@
text
@d1 1
a1 1
# $FreeBSD: www/es/ports/Makefile,v 1.11 2001/12/12 11:57:37 phantom Exp $
d20 2
a21 1
	${FETCH} ${FETCH_OPT} ${INDEXURI}
@


1.11
log
@Force tidy(1) to use '-raw' and newly added '-preserve' options
to process generated HTML. This not cause any side effects except
leaving some character entities in their numeric form instead
converting them into alphabetical notation (&#60; instead of &lt;),
but since all browsers understand such cases it is not a problem.

This commit should make all translations tidy clean, since
tidy should not arise entities conversion problem as it did
for long time before. Therefore all occurences of manual settings
of TIDYFLAGS and NO_TIDY declarations for translations are removed.

Also clean *OPTS/*FLAGS variables declaration like it was done in doc/ tree
some time ago. Currently all local additions to commands parameters that used
in make process should be passed thru *FLAGS variables. All variables
with OPTS suffix are reserved for internal use of web.site.mk now.
Cleanup part is based on work done by Cyrille Lefevre <clefevre-lists@@noos.fr>

No objections from: -doc
Requested by: Russian and Japanese translation teams
@
text
@d1 1
a1 1
# $FreeBSD: www/es/ports/Makefile,v 1.10 2001/12/06 12:28:23 phantom Exp $
d13 2
d20 1
a20 1
	cvs -QR co -p ${PINDEX} > ${INDEX}
@


1.10
log
@Apply fix similar to rev 1.33 of www/en/ports/Makefile. This allows
to www build process complete even if $CVSROOT is not set, or set to
non-FreeBSD repository.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/ports/Makefile,v 1.33 2001/06/14 03:09:56 dd Exp $
d46 1
a46 1
	(cd ${.CURDIR} &&${MAKE}  ${MAKEFLAGS} -f ${.CURDIR}/Makefile.inc0 ${.TARGET})
@


1.9
log
@Remove more around ports/YEAR2000 in Spanish translation.
@
text
@d1 1
a1 1
# $FreeBSD: www/es/ports/Makefile,v 1.8 2000/11/29 23:56:58 kuriyama Exp $
d17 1
a17 1
${INDEX}: ${cvsindex}
a24 1
.if defined(NOPORTSCVS)
a25 3
.else
packages.exists: ${cvsindex}
.endif
@


1.8
log
@Switch web.mk to share/mk/web.site.mk in Spanish version.
(with "obj" fixes)

Submitted by:	nbm
@
text
@d1 1
a1 1
# $FreeBSD: www/es/ports/Makefile,v 1.7 1999/11/15 20:37:56 jesusr Exp $
a15 4

${Y2K}: $${PORTSBASE}/${PY2K}
	cp ${PORTSBASE}/${PY2K} ${Y2K}

a18 4

${Y2K}: ${cvsy2k}
	cvs -QR co -p ${PY2K} > ${Y2K}

d28 1
a28 1
packages.exists: ${cvsindex} ${cvsy2k}
d43 1
a43 1
index.sgml: ${INDEX} ${Y2K} packages.exists portindex ports.inc .NOTMAIN
d45 1
a45 1
	${PORTINDEX} ${INDEX} ${Y2K} ${.CURDIR}
@


1.7
log
@Fix a problem on building ports section with Makefile.gen

Pointed by: wosch
@
text
@d1 1
a1 1
# $FreeBSD: www/es/ports/Makefile,v 1.6 1999/09/06 07:03:04 peter Exp $
d6 3
d53 1
a53 1
	${PORTINDEX} ${INDEX} ${Y2K}
d58 1
a58 1
	${MAKE}  ${MAKEFLAGS} -f Makefile.inc0 ${.TARGET}
d60 1
a60 1
.include "../web.mk"
@


1.6
log
@$Id$,$Date$ -> $FreeBSD$
The jury is out on $Date$, but it's presently not being expanded..
@
text
@d1 1
a1 1
# $FreeBSD$
d6 3
a8 17

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} ${Y2K} packages.exists

cvsindex= $${CVSROOT}/${PINDEX},v
cvsy2k= $${CVSROOT}/${PY2K},v
_ALLINSTALL= packages.exists ${INDEX} ${Y2K}
a46 1
	${MAKE} ${MAKEFLAGS} ${.IMPSRC}
d51 5
@


1.5
log
@Read www/en/ports/packages.exists if available - don't ask
ftp.freebsd.org again for the package list.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.4 1999/04/24 16:37:00 jesusr Exp $
@


1.4
log
@Support for building ports pages without local cvs. Use NOPORTSCVS
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.22 1999/04/21 11:44:37 asami Exp $
d50 3
d54 1
@


1.3
log
@Get www site info from INDEX instead of WWW_SITE.  Note that I only
fixed the en and es versions; the ja version did not have the www
stuff in the first place so the translators can merge in the recent
changes at their leisure. :)

Reviewed (in principle) by:	wosch, scrappy
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.2 1999/03/18 13:55:09 jesusr Exp $
d24 8
d38 2
d44 3
d48 1
@


1.2
log
@Update to revisions:

Makefile: 1.20
portindex: 1.24
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.20 1999/03/12 10:13:06 wosch Exp $
a11 2
WWW=		WWW_SITE
PWWW=		ports/${WWW}
d18 1
a18 1
CLEANFILES+=	${DOCS} Makefile.gen ${INDEX} ${Y2K} ${WWW} packages.exists
d22 1
a22 2
cvswww= $${CVSROOT}/${PWWW},v
_ALLINSTALL= packages.exists ${INDEX} ${Y2K} ${WWW}
a29 3
${WWW}: ${cvswww}
	cvs -QR co -p ${PWWW} > ${WWW}

d34 1
a34 1
packages.exists: ${cvsindex} ${cvsy2k} ${cvswww}
d45 1
a45 1
index.sgml: ${INDEX} ${Y2K} ${WWW} packages.exists portindex ports.inc .NOTMAIN
d47 1
a47 1
	${PORTINDEX} ${INDEX} ${Y2K} ${WWW}
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.1.1.1 1999/01/21 14:21:52 jesusr Exp $
d7 1
a7 1
PORTINDEX=	perl ${.CURDIR}/portindex
d10 4
d20 1
a20 1
CLEANFILES+=	${DOCS} Makefile.gen ${INDEX} packages.exists
d23 3
a25 1
_ALLINSTALL= packages.exists ${INDEX}
d30 6
d40 1
a40 1
packages.exists: ${cvsindex}
d51 1
a51 1
index.sgml: ${INDEX} packages.exists portindex ports.inc .NOTMAIN
d53 1
a53 1
	${PORTINDEX} ${INDEX}
@


1.1.1.1
log
@Imported the Spanish Web pages, except the

	english sub directories: cgi, commercial, gallery, gifs
	which are redundant and will never be translated

and the

	spanish sub directories: doc-es, docs-es

Submitted by: "Jesus Rodriguez" <jesusr@@ncsa.es>

Fix Makefiles errors. `Make all install' runs fine.

Currently, many the links to the sub directories cgi, commercial,
gallery, gifs are broken. The links should point to the English
orginal files.
@
text
@@
