Changeset 1838


Ignore:
Timestamp:
Jan 23, 2003, 6:48:46 AM (17 years ago)
Author:
mij
Message:
  • Destrootification
  • Add homepage
Location:
trunk/dports/textproc/antiword
Files:
2 added
1 deleted
1 edited

Legend:

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

    r1656 r1838  
    55maintainers     mij@opendarwin.org
    66description     Utility to read Microsoft Word (.doc) files
     7homepage        http://www.winfield.demon.nl/index.html
    78platforms       darwin
    89
     
    1516
    1617configure       {}
    17 post-configure  { reinplace "s|\/usr\/local|${prefix}|g" \
    18                     ${workdir}/${worksrcdir}/Makefile.Linux
    19                   reinplace "s|\/usr|${prefix}|g" \
    20                     ${workdir}/${worksrcdir}/Makefile.Linux
    21                   reinplace "s|\/usr|${prefix}|g" \
    22                     ${workdir}/${worksrcdir}/antiword.h
    23                   reinplace "s|-pedantic||g" \
    24                     ${workdir}/${worksrcdir}/Makefile.Linux }
     18post-configure  { reinplace "s|\/usr|${destroot}${prefix}|g" \
     19                    ${worksrcpath}/antiword.h
     20                  reinplace "s|-pedantic||g" ${worksrcpath}/Makefile.Linux }
     21
     22patchfiles      patch-Makefile.Linux
    2523
    2624install.target  global_install
     25install.args    prefix=${destroot}${prefix}
    2726
    28 post-install    { system "cp -f ${workdir}/${worksrcdir}/Docs/antiword.1 \
    29                     ${prefix}/man/man1" }
    30 
    31 include         contents
     27post-install    { system "install -o root -m 755 -d \
     28                    ${destroot}${prefix}/man/man1"
     29                  system "install -o root -m 644 \
     30                    ${worksrcpath}/Docs/antiword.1 \
     31                    ${destroot}${prefix}/man/man1" }
Note: See TracChangeset for help on using the changeset viewer.