Changeset 7048


Ignore:
Timestamp:
May 18, 2004, 1:50:55 AM (16 years ago)
Author:
mww
Message:

remove need being root & switch to xinstall

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/mail/pine/Portfile

    r6796 r7048  
    1 # $Id: Portfile,v 1.14 2004/04/27 18:36:00 matt Exp $
     1# $Id: Portfile,v 1.15 2004/05/18 01:50:55 mww Exp $
    22
    33PortSystem 1.0
     
    2222use_bzip2       yes
    2323
    24 configure       {}
     24use_configure   no
    2525
    2626build.cmd       sh ${worksrcpath}/build
     
    2929variant ssl_plain       { build.args SSLTYPE=unix }
    3030
    31 set inst        "install -o root -m 755"
    32 set docinst     "install -o root -m 644"
    33 
    34 destroot        { system "${inst} -d ${destroot}${prefix}/bin"
    35                   system "${inst} -d ${destroot}${prefix}/share/man/man1"
    36                   system "${inst} -d ${destroot}${prefix}/share/doc/${portname}-${portversion}"
    37                   system "${inst} -d ${destroot}${prefix}/etc"
    38                   system "${inst} ${worksrcpath}/bin/pine ${destroot}${prefix}/bin"
    39                   system "${inst} ${worksrcpath}/bin/pico ${destroot}${prefix}/bin"
    40                   system "${inst} ${worksrcpath}/bin/pilot ${destroot}${prefix}/bin"
    41                   system "${inst} ${worksrcpath}/bin/rpdump ${destroot}${prefix}/bin"
    42                   system "${inst} ${worksrcpath}/bin/rpload ${destroot}${prefix}/bin"
    43                   system "${docinst} ${worksrcpath}/doc/*.1 ${destroot}${prefix}/share/man/man1"
    44                   system "${docinst} ${worksrcpath}/doc/tech-notes/*.html ${destroot}${prefix}/share/doc/${portname}-${portversion}"
    45                   system "${destroot}${prefix}/bin/pine -conf > ${destroot}${prefix}/etc/pine.conf" }
     31destroot        { xinstall -m 755 -d \
     32                        ${destroot}${prefix}/share/doc/${portname}-${version}
     33                xinstall -m 755 -W ${worksrcpath}/bin pine pico pilot rpdump \
     34                        rpload ${destroot}${prefix}/bin
     35                xinstall -m 644 -W ${worksrcpath}/doc pico.1 pilot.1 pine.1 \
     36                        rpdump.1 rpload.1 ${destroot}${prefix}/share/man/man1
     37                xinstall -m 644 -W ${worksrcpath}/doc/tech-notes \
     38                        background.html cmd-line.html config-notes.html \
     39                        config.html index.html installation.html \
     40                        introduction.html low-level.html porting.html \
     41                        ${destroot}${prefix}/share/doc/${portname}-${version}
     42                system "${destroot}${prefix}/bin/pine -conf > ${destroot}${prefix}/etc/pine.conf" }
Note: See TracChangeset for help on using the changeset viewer.