Ignore:
Timestamp:
Oct 12, 2003, 3:36:29 PM (17 years ago)
Author:
mij
Message:

Install docs into ${prefix}/share/doc.

Bug: 1011
Submitted by: Simon Cotsworth <simon@…>
Reviewed by:
Approved by:
Obtained from:

File:
1 edited

Legend:

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

    r3566 r3659  
    1 # $Id: Portfile,v 1.24 2003/09/29 18:30:59 gwright Exp $
     1# $Id: Portfile,v 1.25 2003/10/12 15:36:29 mij Exp $
    22
    33PortSystem 1.0
    44name            libiconv
    55version         1.9.1
     6revision        1
    67categories      textproc
    78platforms       darwin freebsd
     
    1718checksums       md5 0c99a05e0c3c153bac1c960f78711155
    1819
    19 post-patch      { reinplace "s|/doc/libiconv|/share/doc/libiconv|g" \
     20post-patch      { reinplace "s|@\mandir@|$\(prefix)/man|g" \
     21                    ${worksrcpath}/Makefile.in
     22                  reinplace "s|@\mandir@|$\(prefix)/man|g" \
     23                    ${worksrcpath}/man/Makefile.in
     24                  reinplace "s|$\(datadir)/doc/${portname}|$\(prefix)/share/doc/${portname}|g" \
    2025                    ${worksrcpath}/man/Makefile.in }
    2126
    2227configure.args  --enable-static
    2328
    24 pre-destroot    { system "install -o root -m 755 -d \
    25                     ${destroot}${prefix}/share/doc/libiconv" }
     29pre-destroot    { system "install -m 755 -d \
     30                    ${destroot}${prefix}/share/doc/${portname}" }
    2631
    2732destroot.destdir prefix=${destroot}${prefix}
Note: See TracChangeset for help on using the changeset viewer.