Changeset 4508 for trunk/dports


Ignore:
Timestamp:
Jan 7, 2004, 1:06:04 PM (20 years ago)
Author:
pguyot (Paul Guyot)
Message:

Fixed short description.
Port now use xinstall.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/abyss/Portfile

    r4507 r4508  
    1 # $Id: Portfile,v 1.1 2004/01/07 09:21:00 pguyot Exp $
     1# $Id: Portfile,v 1.2 2004/01/07 13:06:04 pguyot Exp $
    22
    33PortSystem 1.0
     
    66categories              www
    77maintainers             pguyot@kallisys.net
    8 description             HTTP/1.1 compliant web server for
     8description             Light HTTP/1.1 compliant web server.
    99long_description        \
    1010                                ABYSS aims to be a fully HTTP/1.1 compliant web server. \
     
    2727
    2828destroot {
    29         system "install -o root -m 0755 -p ${worksrcpath}/bin/abyss ${destroot}${prefix}/sbin/"
    30         system "install -d -o nobody -m 0755 ${destroot}${prefix}/share/abyss/"
    31         system "install -d -o nobody -m 0755 ${destroot}${prefix}/share/abyss/log/"
     29        xinstall -o root -m 0755 -p "${worksrcpath}/bin/abyss" "${destroot}${prefix}/sbin/"
     30        xinstall -d -o nobody -m 0755 "${destroot}${prefix}/share/abyss/"
     31        xinstall -d -o nobody -m 0755 "${destroot}${prefix}/share/abyss/log/"
    3232        system "touch ${destroot}${prefix}/share/abyss/log/access.log"
    33         system "install -d -o nobody -m 0755 ${destroot}${prefix}/share/abyss/conf/"
    34         system "install -o root -m 0644 -p ${worksrcpath}/conf/* ${destroot}${prefix}/share/abyss/conf/"
    35         system "install -d -o root -m 0755 ${destroot}${prefix}/share/abyss/htdocs/"
    36         system "install -o root -m 0644 ${portpath}/files/index.html ${destroot}${prefix}/share/abyss/htdocs/"
    37         system "install -o root -m 755 -d ${destroot}${prefix}/etc/rc.d"
    38         system "install -o root -m 755 -c \
    39                 ${portpath}/files/abyss.sh ${destroot}${prefix}/etc/rc.d"
     33        xinstall -d -o nobody -m 0755 ${destroot}${prefix}/share/abyss/conf/"
     34        xinstall -o root -m 0644 -p "${worksrcpath}/conf/abyss.conf" \
     35                "${destroot}${prefix}/share/abyss/conf/"
     36        xinstall -o root -m 0644 -p "${worksrcpath}/conf/mime.types" \
     37                "${destroot}${prefix}/share/abyss/conf/"
     38        xinstall -d -o root -m 0755 "${destroot}${prefix}/share/abyss/htdocs/"
     39        xinstall -o root -m 0644 "${portpath}/files/index.html" \
     40                "${destroot}${prefix}/share/abyss/htdocs/"
     41        xinstall -o root -m 755 -d "${destroot}${prefix}/etc/rc.d"
     42        xinstall -o root -m 755 -c \
     43                "${portpath}/files/abyss.sh" "${destroot}${prefix}/etc/rc.d"
    4044        reinplace "s|__PREFIX|${prefix}|g" \
    41                 ${destroot}${prefix}/etc/rc.d/abyss.sh
     45                "${destroot}${prefix}/etc/rc.d/abyss.sh"
    4246}
Note: See TracChangeset for help on using the changeset viewer.