head	1.18;
access;
symbols
	HRS_XML_CLEANUP:1.18
	HRS_XML_CLEANUP_PRE:1.17
	EMILYBOYD_REDESIGN:1.17
	PRE_REDESIGN:1.17
	XML_XSL_XP:1.14.0.2
	XML_XSL_XP_BP:1.14;
locks; strict;
comment	@# @;


1.18
date	2006.08.19.21.20.31;	author hrs;	state Exp;
branches;
next	1.17;

1.17
date	2005.09.18.04.33.45;	author hrs;	state Exp;
branches;
next	1.16;

1.16
date	2004.05.05.07.56.31;	author josef;	state Exp;
branches;
next	1.15;

1.15
date	2004.05.02.21.53.07;	author josef;	state Exp;
branches;
next	1.14;

1.14
date	2000.11.07.04.05.10;	author kuriyama;	state Exp;
branches;
next	1.13;

1.13
date	2000.09.30.00.21.38;	author nbm;	state Exp;
branches;
next	1.12;

1.12
date	2000.04.04.09.21.21;	author kuriyama;	state Exp;
branches;
next	1.11;

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

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

1.9
date	99.09.06.07.02.41;	author peter;	state Exp;
branches;
next	1.8;

1.8
date	99.03.20.23.50.10;	author wosch;	state Exp;
branches;
next	1.7;

1.7
date	99.01.22.11.23.44;	author mbarkah;	state Exp;
branches;
next	1.6;

1.6
date	99.01.21.10.48.54;	author mbarkah;	state Exp;
branches;
next	1.5;

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

1.4
date	98.08.11.01.18.35;	author wosch;	state Exp;
branches;
next	1.3;

1.3
date	98.08.07.16.57.08;	author wosch;	state Exp;
branches;
next	1.2;

1.2
date	98.08.03.09.47.51;	author wosch;	state Exp;
branches;
next	1.1;

1.1
date	97.01.23.09.24.09;	author mbarkah;	state Exp;
branches;
next	;


desc
@@


1.18
log
@www cleanup mega commit:

 - Move includes.nav*.sgml to share/sgml/navibar.ent and
   <lang>/share/sgml/nabibar.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
@# $FreeBSD: www/en/commercial/Makefile,v 1.17 2005/09/18 04:33:45 hrs Exp $

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

DOCS=		commercial.sgml
INDEXLINK=	commercial.html

XSLT.DEFAULT=		${XSL_ENTRIES}
DEPENDSET.DEFAULT=	commercial

XMLDOCS=	consult::${XML_COMMERCIAL_CONSULT}:
PARAMS.consult=	--param pagename "'Consulting Services'" \
		--param basename "'consult.html'"

XMLDOCS+=	consult_bycat::${XML_COMMERCIAL_CONSULT}:
PARAMS.consult_bycat=\
		--param pagename "'Consulting Services'" \
		--param basename "'consult.html'" \
		--param sort "'bycat'"

XMLDOCS+=	hardware::${XML_COMMERCIAL_HARDWARE}:
PARAMS.hardware= --param pagename "'Hardware Vendors'"

XMLDOCS+=	isp::${XML_COMMERCIAL_ISP}:
PARAMS.isp=	--param pagename "'Internet Service Providers'"

XMLDOCS+=	misc::${XML_COMMERCIAL_MISC}:
PARAMS.misc=	--param pagename "'Miscellaneous Vendors'"

XMLDOCS+=	software::${XML_COMMERCIAL_SOFTWARE}:
PARAMS.software=--param pagename "'Software Vendors'"

XMLDOCS+=	software_bycat::${XML_COMMERCIAL_SOFTWARE}:
PARAMS.software_bycat=\
		--param pagename "'Software Vendors'" \
		--param basename "'software.html'" \
		--param sort "'bycat'"

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


1.17
log
@Introduce doc.xml.mk and XMLDOC variable to simplify build
of XML docs.  Note that XML catalog support is still incomplete.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/commercial/Makefile,v 1.16 2004/05/05 07:56:31 josef Exp $
d10 1
a10 2
DOCS=	commercial.sgml

d13 2
a14 5
SRCS.DEFAULT=	../includes.xsl
XSLT.DEFAULT=	entries.xsl

XMLDOCS=	consult
PARAMS.consult=	--param pagename "'Consulting Services'"
d16 9
a24 1
XMLDOCS+=	consult_bycat::consult.xml:
d26 1
a26 1
XMLDOCS+=	hardware
d29 1
a29 1
XMLDOCS+=	isp
d32 1
a32 1
XMLDOCS+=	misc
d35 1
a35 1
XMLDOCS+=	software
d38 5
a42 8
XMLDOCS+=	software_bycat:soft_bycat.xsl:software.xml:

lint:
	${XMLLINT} ${XMLLINTOPTS} --valid -o /dev/null ${.CURDIR}/consult.xml
	${XMLLINT} ${XMLLINTOPTS} --valid -o /dev/null ${.CURDIR}/hardware.xml
	${XMLLINT} ${XMLLINTOPTS} --valid -o /dev/null ${.CURDIR}/isp.xml
	${XMLLINT} ${XMLLINTOPTS} --valid -o /dev/null ${.CURDIR}/misc.xml
	${XMLLINT} ${XMLLINTOPTS} --valid -o /dev/null ${.CURDIR}/software.xml
@


1.16
log
@Add new category for internet services providers and add
IP Global.net as first entry.

Requested by:  "Jarrod Baumann" <jarrod@@ipglobal.net>
@
text
@d1 1
a1 1
# $FreeBSD: www/en/commercial/Makefile,v 1.15 2004/05/02 21:53:07 josef Exp $
d10 1
a10 1
DOCS=   commercial.sgml
d12 7
a18 28
DATA=	consult.html
DATA+=	consult_bycat.html
DATA+=  hardware.html
DATA+=  isp.html
DATA+=  misc.html
DATA+=  software.html
DATA+=  software_bycat.html

CLEANFILES=  commercial.html
CLEANFILES+= consult.html
CLEANFILES+= consult_bycat.html
CLEANFILES+= hardware.html
CLEANFILES+= isp.html
CLEANFILES+= misc.html
CLEANFILES+= software.html
CLEANFILES+= software_bycat.html

INDEXLINK= commercial.html

XMLLINT?= /usr/local/bin/xmllint # Part of textproc/libxml2.

consult.html: entries.xsl consult.xml ../includes.xsl
	${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
		--param pagename "'Consulting Services'" \
		${.CURDIR}/entries.xsl ${.CURDIR}/consult.xml
.if !defined(NO_TIDY)
	-${TIDY} ${TIDYOPTS} ${.TARGET}
.endif
d20 1
a20 6
consult_bycat.html: consult_bycat.xsl consult.xml ../includes.xsl
	${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
		${.CURDIR}/consult_bycat.xsl ${.CURDIR}/consult.xml
.if !defined(NO_TIDY)
	-${TIDY} ${TIDYOPTS} ${.TARGET}
.endif
d22 2
a23 7
hardware.html: entries.xsl hardware.xml ../includes.xsl
	${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
		--param pagename "'Hardware Vendors'" \
		${.CURDIR}/entries.xsl ${.CURDIR}/hardware.xml
.if !defined(NO_TIDY)
	-${TIDY} ${TIDYOPTS} ${.TARGET}
.endif
d25 2
a26 7
isp.html: entries.xsl isp.xml ../includes.xsl
	${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
		--param pagename "'Internet Service Providers'" \
		${.CURDIR}/entries.xsl ${.CURDIR}/isp.xml
.if !defined(NO_TIDY)
	-${TIDY} ${TIDYOPTS} ${.TARGET}
.endif
d28 2
a29 7
misc.html: entries.xsl misc.xml ../includes.xsl
	${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
		--param pagename "'Miscellaneous Vendors'" \
		${.CURDIR}/entries.xsl ${.CURDIR}/misc.xml
.if !defined(NO_TIDY)
	-${TIDY} ${TIDYOPTS} ${.TARGET}
.endif
d31 2
a32 7
software.html: entries.xsl software.xml ../includes.xsl
	${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
		--param pagename "'Software Vendors'" \
		${.CURDIR}/entries.xsl ${.CURDIR}/software.xml
.if !defined(NO_TIDY)
	-${TIDY} ${TIDYOPTS} ${.TARGET}
.endif
d34 1
a34 6
software_bycat.html: soft_bycat.xsl software.xml ../includes.xsl
	${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
		${.CURDIR}/soft_bycat.xsl ${.CURDIR}/software.xml
.if !defined(NO_TIDY)
	-${TIDY} ${TIDYOPTS} ${.TARGET}
.endif
d37 5
a41 5
	${XMLLINT} --valid -o /dev/null ${.CURDIR}/consult.xml
	${XMLLINT} --valid -o /dev/null ${.CURDIR}/hardware.xml
	${XMLLINT} --valid -o /dev/null ${.CURDIR}/isp.xml
	${XMLLINT} --valid -o /dev/null ${.CURDIR}/misc.xml
	${XMLLINT} --valid -o /dev/null ${.CURDIR}/software.xml
@


1.15
log
@Convert commercial gallery into XML/XSLT powered version.

Thanks to Marc Silver and Gerhard Gonter for .raw -> .xml support.

Approved by:	simon(mentor)
@
text
@d1 1
a1 1
# $FreeBSD$
d15 1
d24 1
d56 8
d90 1
@


1.14
log
@Switch web.mk to share/mk/web.site.mk in English version.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/commercial/Makefile,v 1.13 2000/09/30 00:21:38 nbm Exp $
d10 1
a10 1
PERL=	perl5
d12 26
a37 7
DOCS =  commercial.sgml
DOCS+=  consulting.sgml
DOCS+=  consulting_bycat.sgml
DOCS+=  hardware.sgml
DOCS+=  misc.sgml
DOCS+=  software.sgml
DOCS+=  software_bycat.sgml
d39 6
a44 3
INDEXLINK=commercial.html
CLEANFILES+= consulting.inc consulting_bycat.inc hardware.inc
CLEANFILES+= misc.inc software.inc software_bycat.inc
d46 7
a52 1
consulting.html: consulting.sgml consulting.inc
d54 7
a60 1
consulting_bycat.html: consulting_bycat.sgml consulting_bycat.inc
d62 7
a68 1
hardware.html: hardware.sgml hardware.inc
d70 6
a75 20
misc.html: misc.sgml misc.inc

software.html: software.sgml software.inc

software_bycat.html: software_bycat.sgml software_bycat.inc

consulting.inc: gencommercial.pl commercial.desc consulting.raw
	${PERL} ${.CURDIR}/gencommercial.pl -s ${.CURDIR} consulting

consulting_bycat.inc: gencommercial.pl commercial.desc consulting.raw
	${PERL} ${.CURDIR}/gencommercial.pl -s ${.CURDIR} -c consulting

hardware.inc: gencommercial.pl commercial.desc hardware.raw
	${PERL} ${.CURDIR}/gencommercial.pl -s ${.CURDIR} hardware

misc.inc: gencommercial.pl commercial.desc misc.raw
	${PERL} ${.CURDIR}/gencommercial.pl -s ${.CURDIR} misc

software.inc: gencommercial.pl commercial.desc software.raw
	${PERL} ${.CURDIR}/gencommercial.pl -s ${.CURDIR} software
d77 5
a81 2
software_bycat.inc: gencommercial.pl commercial.desc software.raw
	${PERL} ${.CURDIR}/gencommercial.pl -s ${.CURDIR} -c software
@


1.13
log
@First (and very minor) changes on the way to make the www build
obj-clean.

This basically entails putting ${.CURDIR} in front of the occasional
source file, script, or directory.

Also adds '.include <bsd.obj.mk>' to web.mk so 'make obj' works.

Change gencommercial script to take a '-s' flag pointing to the source
directory, and the portindex script to take an optional additional
parameter indicating the source directory.

Add -D ${.CURDIR} to sgmlformat to follow includes properly.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/commercial/Makefile,v 1.12 2000/04/04 09:21:21 kuriyama Exp $
d6 3
d54 1
a54 1
.include <../web.mk>
@


1.12
log
@Remove unneeded tab.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/commercial/Makefile,v 1.11 2000/03/12 21:41:52 phantom Exp $
d34 1
a34 1
	${PERL} ./gencommercial.pl consulting
d37 1
a37 1
	${PERL} ./gencommercial.pl -c consulting
d40 1
a40 1
	${PERL} ./gencommercial.pl hardware
d43 1
a43 1
	${PERL} ./gencommercial.pl misc
d46 1
a46 1
	${PERL} ./gencommercial.pl software
d49 1
a49 1
	${PERL} ./gencommercial.pl -c software
@


1.11
log
@Correct dependencies list
@
text
@d1 1
a1 1
# $FreeBSD: www/en/commercial/Makefile,v 1.10 2000/02/28 12:45:00 phantom Exp $
d41 1
a41 1
	
@


1.10
log
@Fix dependencies list. All .inc files are depending on commercial.desc file
@
text
@d1 1
a1 1
# $FreeBSD: www/en/commercial/Makefile,v 1.9 1999/09/06 07:02:41 peter Exp $
d33 1
a33 1
consulting.inc: commercial.desc consulting.raw
d36 1
a36 1
consulting_bycat.inc: commercial.desc consulting.raw
d39 1
a39 1
hardware.inc: commercial.desc hardware.raw
d42 1
a42 1
misc.inc: commercial.desc misc.raw
d45 1
a45 1
software.inc: commercial.desc software.raw
d48 1
a48 1
software_bycat.inc: commercial.desc software.raw
@


1.9
log
@$Id$,$Date$ -> $FreeBSD$
The jury is out on $Date$, but it's presently not being expanded..
@
text
@d1 1
a1 1
# $FreeBSD$
d33 1
a33 1
consulting.inc: consulting.raw
d36 1
a36 1
consulting_bycat.inc: consulting.raw
d39 1
a39 1
hardware.inc: hardware.raw
d42 1
a42 1
misc.inc: misc.raw
d45 1
a45 1
software.inc: software.raw
d48 1
a48 1
software_bycat.inc: software.raw
@


1.8
log
@Explicitly use perl to execute perl scripts, so we don't have to rely
on the permissions of the file in the CVS tree or if perl5 is
installed in /usr/bin/perl or /usr/local/bin/perl.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.7 1999/01/22 11:23:44 mbarkah Exp $
@


1.7
log
@1. This is a follow-up to yesterday's commits. The commercial gallery
   files are now maintained in a way similar to the user gallery.
   The ./gencommercial.pl script generates SGML include files from
   a set of "raw" files where the entries are actually kept. There
   is one ".raw" file per commercial category. The ".desc" file
   contains descriptions for the categories and their sub-categories.

2. (Fixes:) Greg Lehey migrated down under. Julian Stacey sneaked to
   Europe. Various subcategory changes in Software Vendors.

3. Added Metro Link entry. Updated Sleepycat Software entry.

Submitted by: Morgan Von Essen (morgan@@metrolink.com) Metro Link entry
              Michael A. Olson (maolson@@mindspring.com) Sleepycat update
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.4 1999/01/22 09:41:08 mbarkah Exp $
d7 2
d34 1
a34 1
	./gencommercial.pl consulting
d37 1
a37 1
	./gencommercial.pl -c consulting
d40 1
a40 1
	./gencommercial.pl hardware
d43 1
a43 1
	./gencommercial.pl misc
d46 1
a46 1
	./gencommercial.pl software
d49 1
a49 1
	./gencommercial.pl -c software
@


1.6
log
@After delays on my part, the Commercial Gallery now supports
sub-categories.

1. All the changing .sgml files are now machine-generated.

2. software.sgml, consulting.sgml, misc.sgml, hardware.sgml now
   have an "alphabetical nav bar" on top. I.e., click on "T"
   and the browser locates the first entry beginning with "T".

3. The Software and Consulting entries now have sub-categories.
   The software_bycat.sgml and consulting_bycat.sgml are the
   new files. They index to software.sgml and consulting.sgml,
   respectively.

4. The index.sgml Software and Consulting links have been updated
   to use the new files.

In addition,

5. Most of the entries have been rewritten one way or another,
   mainly to standardize them and fix typos, etc. Inconsistent
   use of <STRONG> tags fixed. Phone number format standardized
   (e.g., +1.800.555.1212.) Removed or updated stale version
   information (e.g., FBSD 2.1.6 is no longer current.)

The sub-categories most likely will need to be adjusted, and I've
probably "mis-categorized" some entries. All suggestions welcomed.

Suggested by: wosch
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.3 1999/01/21 09:56:06 mbarkah Exp $
d16 32
@


1.5
log
@Remove the quotes from exists("filename"). Make(1) considered the
quotes as part of the filename.

Submitted by: volf@@oasis.IAEhv.nl
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.4 1998/08/11 01:18:35 wosch Exp $
d7 3
a9 2
DOCS = 	commercial.sgml
DOCS+=	consulting.sgml
d13 1
@


1.4
log
@Include ../Makefile.conf if exists
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.3 1998/08/07 16:57:08 wosch Exp $
d3 1
a3 1
.if exists("../Makefile.conf")
@


1.3
log
@Define default index page.
@
text
@d1 5
a5 1
# $Id: Makefile,v 1.2 1998/08/03 09:47:51 wosch Exp $
@


1.2
log
@Various changes after repository copy.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.1 1997/01/23 09:24:09 mbarkah Exp $
d8 2
@


1.1
log
@Partition commercial.sgml into multiple sections.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.1 1997/01/23 09:02:46 mbarkah Exp $
d3 5
a7 1
DOCS = consulting.sgml hardware.sgml misc.sgml software.sgml
@
