1 | # $Id: Portfile,v 1.15 2005/09/25 09:21:59 cjr Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name docbook-dsssl |
---|
6 | version 1.79 |
---|
7 | categories textproc |
---|
8 | description the docbook dsssl stylesheets |
---|
9 | platforms darwin |
---|
10 | maintainers michaelm@opendarwin.org |
---|
11 | master_sites sourceforge:docbook |
---|
12 | homepage http://docbook.sf.net/ |
---|
13 | checksums md5 6f2478faea86bd55abb36ddb57291347 |
---|
14 | use_configure no |
---|
15 | build {} |
---|
16 | |
---|
17 | set dirs_to_install "common contrib dtds frames html images lib olink print" |
---|
18 | set instdir "share/dsssl/${name}" |
---|
19 | |
---|
20 | destroot { |
---|
21 | # Docs |
---|
22 | xinstall -m 755 -d ${destroot}/${prefix}/${instdir} \ |
---|
23 | ${destroot}/${prefix}/share/doc/${name} \ |
---|
24 | ${destroot}/${prefix}/share/${name} |
---|
25 | |
---|
26 | # bin |
---|
27 | xinstall -m 644 -W ${worksrcpath} bin/collateindex.pl \ |
---|
28 | ${destroot}/${prefix}/bin |
---|
29 | # man |
---|
30 | xinstall -m 644 -W ${worksrcpath} bin/collateindex.pl.1 \ |
---|
31 | ${destroot}/${prefix}/man/man1 |
---|
32 | |
---|
33 | # everything else |
---|
34 | xinstall -m 644 -W ${worksrcpath} BUGS ChangeLog README \ |
---|
35 | RELEASE-NOTES.html RELEASE-NOTES.xml RELEASE-NOTES.txt VERSION WhatsNew \ |
---|
36 | ${destroot}/${prefix}/share/doc/${name} |
---|
37 | foreach dirname $dirs_to_install { |
---|
38 | file copy ${worksrcpath}/${dirname} ${destroot}/${prefix}/${instdir} |
---|
39 | } |
---|
40 | } |
---|
41 | |
---|