Portfile

# $Id: Portfile 20476 2006-11-03 15:31:18Z blair@macports.org $

PortSystem 1.0
name html
version 4.01
categories textproc www
maintainers mstokely@google.com
description All W3C published SGML DTDs for HTML
homepage http://www.w3.org/
platforms darwin

long_description SGML DTDs for HTML level 0, 1, 2, 3.2, and 4.0 as \
defined by the World Wide Web Consortium (W3C). \
These DTDs are useful for validating or processing \
world wide web pages with SGML tools such as those in \
the opensp and openjade ports.

master_sites freebsd

checksums md5 57a45bf82f0a3694d59d889b0d0ad71c \
sha1 621c8b602f4190bc33007d32b91b8db977ab3641 \
rmd160 24f90ce8caec8137b03e31faef54a482e1a5f0cb

depends_run bin:mkcatalog:mkcatalog

configure {}
build {}

set instdir share/sgml/html

destroot {
xinstall -m 755 -d ${destroot}${prefix}/${instdir}
xinstall -m 644 ${workpath}/catalog ${destroot}${prefix}/${instdir}
xinstall -m 755 -d ${destroot}${prefix}/${instdir}/2.0
xinstall -m 755 -d ${destroot}${prefix}/${instdir}/3.2
xinstall -m 755 -d ${destroot}${prefix}/${instdir}/4.0
xinstall -m 755 -d ${destroot}${prefix}/${instdir}/4.01
eval xinstall -m 644 [glob ${workpath}/2.0/*.*] ${destroot}${prefix}/${instdir}/2.0
eval xinstall -m 644 [glob ${workpath}/3.2/*.*] ${destroot}${prefix}/${instdir}/3.2
eval xinstall -m 644 [glob ${workpath}/4.0/*.*] ${destroot}${prefix}/${instdir}/4.0
eval xinstall -m 644 [glob ${workpath}/4.01/*.*] ${destroot}${prefix}/${instdir}/4.01
}

destroot.args prefix=${destroot}${prefix}