Ticket #38111: Portfile.diff

File Portfile.diff, 2.6 KB (added by cooljeanius (Eric Gallager), 11 years ago)

diff between old portfile and new one

  • /opt/local/var/macports/sources/LocalPorts/sysutils/stress/Portfile

    old new  
    22# $Id: Portfile 78632 2011-05-14 22:50:58Z ryandesign@macports.org $
    33
    44PortSystem               1.0
    5 PortGroup                github 1.0
    65
    7 github.setup             cooljeanius stress 1.0.4
     6name                     stress
     7version                  1.0.4
    88revision                 0
    99platforms                darwin
    1010categories               sysutils benchmarks
     
    1414long_description         ${description} It imposes a configurable amount of \
    1515                         CPU, memory, I/O, and disk stress on the system.
    1616
    17 homepage                 http://weather.ou.edu/%7Eapw/projects/stress/
     17homepage                 http://weather.ou.edu/%7Eapw/projects/${name}/
     18master_sites             ${homepage}
    1819
    19 fetch.type               git
    20 git.url                  git://github.com/cooljeanius/stress-1.0.4.git
     20checksums                rmd160  2fc0896ae9039776dee3351205d7e2496a36cfe4 \
     21                         sha256  369c997f65e8426ae8b318d4fdc8e6f07a311cfa77cc4b25dace465c582163c0
    2122
    2223variant autoreconf description {Regenerates configure script before building. \
    2324                                Also pulls in extra dependencies.} {
    2425    depends_build-append port:autoconf-archive \
    2526                         port:gawk \
    2627                         port:grep \
    27                          lib:librpm:rpm \
     28                         bin:rpmbuild:rpm \
     29                         bin:rcs2log:cvs \
    2830                         port:texinfo \
    29                          port:pkgconfig
     31                         port:pkgconfig \
     32                         bin:help2man:help2man
    3033    use_autoreconf       yes
    3134    autoreconf.args      -fvi
    3235    configure.args-append --disable-silent-rules
     36    post-extract {
     37        xinstall -m 644 ${worksrcpath}/configure.in ${worksrcpath}/configure.ac
     38        file delete ${worksrcpath}/configure.in
     39        file mkdir ${worksrcpath}/m4
     40        file copy ${prefix}/share/aclocal/ax_spec_package_version.m4 ${worksrcpath}/m4
     41        file copy ${prefix}/share/aclocal/pkg.m4 ${worksrcpath}/m4
     42        file mkdir ${worksrcpath}/build-aux
     43        file copy ${filespath}/Makefile.spec ${worksrcpath}
     44    }
     45    patchfiles-append    patch-configure.ac.diff \
     46                         patch-Makefile.am.diff \
     47                         patch-src-Makefile.am.diff
     48    test.run             yes
     49    test.target          test
    3350}
    3451
    3552livecheck.type           none