source: trunk/dports/textproc/docbook-xml/Portfile @ 6057

Last change on this file since 6057 was 4561, checked in by jkh, 16 years ago

Version reform for gtk1/gtk2 and glib1/glib2, also cleaning up a number of
references to same by folks who appeared a little confused about how to
properly format their depends_* lines. :-)

  • Property svn:eol-style set to native
File size: 808 bytes
Line 
1# $Id: Portfile,v 1.14 2004/01/10 10:45:10 jkh Exp $
2
3PortSystem 1.0
4
5name            docbook-xml
6version         4.2
7description     the docbook xml dtds
8categories      textproc
9platforms       darwin
10maintainers     michaelm@opendarwin.org
11depends_build   bin:unzip:unzip
12
13master_sites    http://www.oasis-open.org/docbook/xml/4.2/
14checksums       md5 73fe50dfe74ca631c1602f558ed8961f
15
16use_zip         yes
17extract.suffix  .zip
18extract.cmd     unzip
19
20configure       {}
21build           {}
22
23destroot        { file mkdir ${destroot}/${prefix}/share/xml/${name}/${version}
24                  file mkdir ${destroot}/${prefix}/share/xml/${name}/${version}/ent
25                  system "for file in \
26                  `unzip -l ${distpath}/${distname} | awk '/:\[0-9\].*\[^\\/\]\$/\{print \$4\}'`; do \
27                        install -cv ${workpath}/\$file ${destroot}/${prefix}/share/xml/${name}/${version}/\$file; \
28                  done" }
Note: See TracBrowser for help on using the repository browser.