Ticket #13574: dos2unix.diff

File dos2unix.diff, 1.1 KB (added by freespace+macforge@…, 16 years ago)

svn diff

  • Portfile

     
    99master_sites    http://fresh.t-systems-sfr.com/linux/src/
    1010checksums       md5 25ff56bab202de63ea6f6c211c416e96
    1111use_configure   no
    12 build           { cd ${worksrcpath}
    13                   system "gcc -O dos2unix.c -o dos2unix" }
     12build           { system "cd ${worksrcpath}; gcc -O dos2unix.c -o dos2unix" }
    1413
    15 destroot        { cd ${worksrcpath}
    16                   system "install -m 755 -cs dos2unix ${destroot}${prefix}/bin"
    17                   system "gzip -c dos2unix.1 > ${destroot}${prefix}/share/man/man1/dos2unix.1.gz"
    18                   system "ln -sf dos2unix.1.gz ${destroot}${prefix}/share/man/man1/mac2unix.1.gz"
    19                   system "ln -sf dos2unix ${destroot}${prefix}/bin/mac2unix" }
     14destroot        {
     15                  system "cd ${worksrcpath};install -m 755 -cs dos2unix ${destroot}${prefix}/bin"
     16                  system "cd ${worksrcpath};gzip -c dos2unix.1 > ${destroot}${prefix}/share/man/man1/dos2unix.1.gz"
     17                  system "cd ${worksrcpath};ln -sf dos2unix.1.gz ${destroot}${prefix}/share/man/man1/mac2unix.1.gz"
     18                  system "cd ${worksrcpath};ln -sf dos2unix ${destroot}${prefix}/bin/mac2unix" }