Ignore:
Timestamp:
Apr 30, 2009, 5:32:47 AM (11 years ago)
Author:
raimue@…
Message:

textproc/dos2unix:
Use ${configure.cc} and ${configure.cflags}.
No need to compress man pages manually, closes #19347 (maintainer timeout)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/dos2unix/Portfile

    r32478 r50397  
    55name            dos2unix
    66version         3.1
     7revision        1
    78categories      textproc
    89platforms       darwin
     
    1516use_configure   no
    1617build           {
    17                   system "cd ${worksrcpath}; gcc -O dos2unix.c -o dos2unix" }
     18                  system "cd ${worksrcpath} && ${configure.cc} ${configure.cflags} dos2unix.c -o dos2unix" }
    1819
    1920destroot        {
    2021                  system "install -m 755 -cs ${worksrcpath}/dos2unix ${destroot}${prefix}/bin"
    21                   system "gzip -c ${worksrcpath}/dos2unix.1 > ${destroot}${prefix}/share/man/man1/dos2unix.1.gz"
    22                   system "ln -sf dos2unix.1.gz ${destroot}${prefix}/share/man/man1/mac2unix.1.gz"
     22                  system "install -m 644 ${worksrcpath}/dos2unix.1 ${destroot}${prefix}/share/man/man1"
    2323                  system "ln -sf dos2unix ${destroot}${prefix}/bin/mac2unix" }
Note: See TracChangeset for help on using the changeset viewer.