Changeset 4009 for trunk/dports


Ignore:
Timestamp:
Nov 21, 2003, 9:33:06 PM (20 years ago)
Author:
matt
Message:

Added a news spool directory and an ui_msg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/news/leafnode/Portfile

    r3980 r4009  
    1 # $Id: Portfile,v 1.1 2003/11/18 23:54:11 matt Exp $
     1# $Id: Portfile,v 1.2 2003/11/21 21:33:06 matt Exp $
    22
    33PortSystem 1.0
    44name                    leafnode
    55version                 1.9.46.rel
     6revision                1
    67categories              news
    78platforms               darwin
     
    3435pre-configure {         adduser news password={\*} uid=[nextuid] gid=[nextgid] realname=${name} home=${prefix}/var/spool/news shell=/dev/null
    3536                        addgroup news gid=[nextgid]
    36 }
     37                        }
    3738               
     39post-destroot {         system "install -d -o news -m 755 '${destroot}${prefix}/var/spool/news'"
     40                        system "touch '${destroot}${prefix}/var/spool/news/.turd'"
     41                        system "install -d -o root -m 755 '${destroot}${prefix}/share/doc/${name}' \
     42                        && install -c -m 644 '${worksrcpath}/INSTALL' '${destroot}${prefix}/share/doc/${name}' \
     43                        && install -c -m 644 '${worksrcpath}/README' '${destroot}${prefix}/share/doc/${name}' \
     44                        && install -c -m 644 '${worksrcpath}/FAQ.txt' '${destroot}${prefix}/share/doc/${name}' \
     45                        && install -c -m 644 '${worksrcpath}/README-FQDN' '${destroot}${prefix}/share/doc/${name}'"
     46                        }
    3847
    39 variant ipv6 {
    40         configure.args-append --with-ipv6
    41 }
     48# Notify the user how to launch Leafnode and what has been modified in the NetInfo db
     49post-install {          ui_msg "\nIn order to launch Leafnode you'll have to look at"
     50                        ui_msg "share/doc/leafnode/INSTALL, there's a xinetd sample"
     51                        ui_msg "service file.\n"
     52                        ui_msg "Also, a 'news' user and group has been created in your"
     53                        ui_msg "local NetInfo database. You may want to delete them"
     54                        ui_msg "if you uninstall Leafnode.\n"
     55                        }
    4256
     57variant ipv6 {          configure.args-append --with-ipv6
     58                        }
     59
     60
Note: See TracChangeset for help on using the changeset viewer.