Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#28166 closed submission (fixed)

New port: xhtml1

Reported by: jclift@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: xhtml1

Description

This port provides the XHTML1 DTDs required for validation of XHTML documents.

It's pretty simple: Downloads the DTDs from the w3 website, untars them and moves into place, then updates the XML catalog file to point to them.

Correctly removes the added XML catalog entries at uninstall time as well. (copied and docbook xml approach and modified accordingly)

Attachments (1)

Portfile (5.0 KB) - added by jclift@… 14 years ago.
Updated version of the portfile, with dest_subdir, supported_arches noarch, and xinstall -W.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Port: xhtml1 added

You should probably use "dist_subdir ${name}/${version}" since the distfile name does not contain the version number.

You should use "supported_archs noarch" since this doesn't look like it installs any architecture-specific files.

You can simplify the destroot by making use of xinstall's -W switch.

Changed 14 years ago by jclift@…

Attachment: Portfile added

Updated version of the portfile, with dest_subdir, supported_arches noarch, and xinstall -W.

comment:2 Changed 14 years ago by jclift@…

Thanks Ryan, those suggested changes all make good sense.

Just updated the Portfile in this ticket, now incorporating them.

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Added in r75668 with some changes, mostly using spaces instead of tabs for whitespace and reformatting a bit.

comment:4 Changed 14 years ago by jclift@…

Thanks Ryan. I'll use spaces for things in future and make sure the formatting matches properly too.

Note: See TracTickets for help on using tickets.