Ticket #32869: webarchiver.diff

File webarchiver.diff, 2.7 KB (added by kurthindenburg (Kurt Hindenburg), 10 years ago)

Portfile diff for 0.5

  • webarchiver.Portfile

    old new  
    11# $Id: Portfile 103595 2013-03-02 13:48:17Z jmr@macports.org $
    22
    3 PortSystem 1.0
     3PortSystem      1.0
     4PortGroup       github 1.0
     5PortGroup       xcode 1.0
     6
     7github.setup    newzealandpaul webarchiver 8e0ef5ebd6bfcbb537bb52d75137785de1920f5d
     8version         20120821
    49
    5 name            webarchiver
    6 version         0.3
    710categories      www
     11maintainers     khindenburg openmaintainer
    812license         none
    9 platforms       darwin
    10 maintainers     nomaintainer
     13
    1114description     Command-line tool to create Safari-style webarchives
    1215long_description \
    1316    webarchiver is a simply utility that allows you to create Safari\
    1417    webarchives (.webarchive) from the command line.\
    1518    webarchiver is compatible with Mac OS X 10.4 (Safari 2.0).
    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
     20checksums        sha1    8e3f7a293701395fa71fe6970bce7cf9d52fd8db \
     21                 rmd160  25a7eb75fa8db1bafd6820c811cb1ef78972fe24
     22
    3123destroot {
    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}
    4032}