Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#5818 closed defect (fixed)

NEW: textproc/html-4.01

Reported by: murray@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: mww@…
Port:

Description

This port contains the SGML DTDs of HTML 2.0 through HTML 4.01 from the W3C website. These DTDs are used by SGML normalizers such as those included with textproc/openjade and textproc/opensp to generate HTML files from SGML templates. This is used heavily by the FreeBSD website and many other commercial and individual users.

This portfile follows the template of the textproc/linuxdoc port as it is of the same class of port (a collection of DTDs for use by SGML tools such as openjade).

The portfile is available at the URL above and is included here: # $Id$

PortSystem 1.0 name html version 4.01 categories textproc maintainers mstokely@… 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 ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/

checksums md5 57a45bf82f0a3694d59d889b0d0ad71c \

sha1 621c8b602f4190bc33007d32b91b8db977ab3641 \ rmd160 24f90ce8caec8137b03e31faef54a482e1a5f0cb

depends_run bin:mkcatalog:mkcatalog

configure {} build {}

set instdir share/sgml/html

destroot { system "install -o root -m 755 -d \

${destroot}${prefix}/${instdir}"

system "install -o root -m 644 ${workpath}/catalog \

${destroot}${prefix}/${instdir}"

system "install -o root -m 755 -d \

${destroot}${prefix}/${instdir}/2.0"

system "install -o root -m 755 -d \

${destroot}${prefix}/${instdir}/3.2"

system "install -o root -m 755 -d \

${destroot}${prefix}/${instdir}/4.0"

system "install -o root -m 755 -d \

${destroot}${prefix}/${instdir}/4.01"

system "install -o root -m 644 ${workpath}/2.0/*.* \

${destroot}${prefix}/${instdir}/2.0"

system "install -o root -m 644 ${workpath}/3.2/*.* \

${destroot}${prefix}/${instdir}/3.2"

system "install -o root -m 644 ${workpath}/4.0/*.* \

${destroot}${prefix}/${instdir}/4.0"

system "install -o root -m 644 ${workpath}/4.01/*.* \

${destroot}${prefix}/${instdir}/4.01" }

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

Attachments (1)

Portfile (1.5 KB) - added by murray@… 18 years ago.
Updated Portfile addressing mww@'s comments.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 18 years ago by mww@…

Cc: mww@… added

some (mostly minor) enhancements: -use xinstall instead of system "install -don't require the user to be root if unnecessary (leave -o root out) -don't inline Portfiles, its rather cumbersome to extract them again (especially regarding the whitespaces)

else looks very good; if you perhaps fix these 3 points, I'll commit it.

Changed 18 years ago by murray@…

Attachment: Portfile added

Updated Portfile addressing mww@'s comments.

comment:2 Changed 18 years ago by murray@…

blocked: 5832

comment:3 Changed 18 years ago by matt@…

Resolution: fixed
Status: newclosed

Committed. Thanks Murray!

Note: See TracTickets for help on using tickets.