Ticket #5818: Portfile

File Portfile, 1.5 KB (added by murray@…, 19 years ago)

Updated Portfile addressing mww@'s comments.

Line 
1# $Id$
2
3PortSystem 1.0
4name            html
5version         4.01
6categories      textproc www
7maintainers     mstokely@google.com
8description     All W3C published SGML DTDs for HTML
9homepage        http://www.w3.org/
10platforms       darwin
11
12long_description SGML DTDs for HTML level 0, 1, 2, 3.2, and 4.0 as \
13                defined by the World Wide Web Consortium (W3C). \
14                These DTDs are useful for validating or processing \
15                world wide web pages with SGML tools such as those in \
16                the opensp and openjade ports.
17
18master_sites    ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/
19
20checksums       md5 57a45bf82f0a3694d59d889b0d0ad71c \
21                sha1 621c8b602f4190bc33007d32b91b8db977ab3641 \
22                rmd160 24f90ce8caec8137b03e31faef54a482e1a5f0cb
23
24depends_run     bin:mkcatalog:mkcatalog
25
26configure       {}
27build           {}
28
29set instdir     share/sgml/html
30
31destroot        {
32        xinstall -m 755 -d ${destroot}${prefix}/${instdir}
33        xinstall -m 644 ${workpath}/catalog ${destroot}${prefix}/${instdir}
34        xinstall -m 755 -d ${destroot}${prefix}/${instdir}/2.0
35        xinstall -m 755 -d ${destroot}${prefix}/${instdir}/3.2
36        xinstall -m 755 -d ${destroot}${prefix}/${instdir}/4.0
37        xinstall -m 755 -d ${destroot}${prefix}/${instdir}/4.01
38        eval xinstall -m 644 [glob ${workpath}/2.0/*.*] ${destroot}${prefix}/${instdir}/2.0
39        eval xinstall -m 644 [glob ${workpath}/3.2/*.*] ${destroot}${prefix}/${instdir}/3.2
40        eval xinstall -m 644 [glob ${workpath}/4.0/*.*] ${destroot}${prefix}/${instdir}/4.0
41        eval xinstall -m 644 [glob ${workpath}/4.01/*.*] ${destroot}${prefix}/${instdir}/4.01
42}
43
44destroot.args   prefix=${destroot}${prefix}