16 | | homepage http://www.entropytheblog.com/blog/2008/11/webarchiver-create-safari-webarchives-from-the-command-line/ |
17 | | master_sites macports |
18 | | #master_sites http://github.com/paulwilliam/webarchiver/tarball/${version}/ |
19 | | set author paulwilliam |
20 | | set commit_sha1 14f7c37ff6016a2d200f40f1f67245be849cec35 |
21 | | #distname ${author}-${name}-${commit_sha1} |
22 | | worksrcdir ${author}-${name}-${commit_sha1} |
23 | | checksums md5 b96f0ba9e80f122a1c1cfb58a4576d0a \ |
24 | | sha1 37d93162ff88adff9bec9e30c780ca7446f3d81b \ |
25 | | rmd160 bc98ccb42f6b4268ba60163e78c647a5d4139494 |
26 | | use_configure no |
27 | | build.cmd xcodebuild |
28 | | build.target build |
29 | | # At present, this port builds universal by default. I will fix this once I |
30 | | # figure out how to, but it's so tiny that it's not a big deal for now. |
| 19 | |
| 20 | checksums sha1 8e3f7a293701395fa71fe6970bce7cf9d52fd8db \ |
| 21 | rmd160 25a7eb75fa8db1bafd6820c811cb1ef78972fe24 |
| 22 | |
32 | | xinstall -m 755 \ |
33 | | ${worksrcpath}/build/Release/webarchiver ${destroot}${prefix}/bin |
34 | | xinstall -d -m 755 ${destroot}${prefix}/share/doc/webarchiver |
35 | | xinstall -m 644 \ |
36 | | ${worksrcpath}/README ${destroot}${prefix}/share/doc/webarchiver |
37 | | # The source doesn't currently have a man page; guess I'll have to write |
38 | | # one eventually. The following will be added once I've done so. |
39 | | # xinstall -m 644 ${filespath}/webarchiver.1 ${prefix}/share/man/man1 |
| 24 | xinstall ${worksrcpath}/build/Release/webarchiver ${destroot}${prefix}/bin |
| 25 | |
| 26 | set docdir ${prefix}/share/doc/${name} |
| 27 | xinstall -d ${destroot}${docdir} |
| 28 | xinstall -m 644 ${worksrcpath}/README.markdown ${destroot}${docdir} |
| 29 | # The man file is just a template w/o any info |
| 30 | # set mandir ${prefix}/share/man/man1 |
| 31 | # xinstall -m 644 ${worksrcpath}/webarchiver.1 ${destroot}${mandir} |