Changeset 4009 for trunk/dports
- Timestamp:
- Nov 21, 2003, 9:33:06 PM (20 years ago)
- 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:11matt Exp $1 # $Id: Portfile,v 1.2 2003/11/21 21:33:06 matt Exp $ 2 2 3 3 PortSystem 1.0 4 4 name leafnode 5 5 version 1.9.46.rel 6 revision 1 6 7 categories news 7 8 platforms darwin … … 34 35 pre-configure { adduser news password={\*} uid=[nextuid] gid=[nextgid] realname=${name} home=${prefix}/var/spool/news shell=/dev/null 35 36 addgroup news gid=[nextgid] 36 }37 } 37 38 39 post-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 } 38 47 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 49 post-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 } 42 56 57 variant ipv6 { configure.args-append --with-ipv6 58 } 59 60
Note: See TracChangeset
for help on using the changeset viewer.