Changeset 16101


Ignore:
Timestamp:
Jan 27, 2006, 8:34:21 AM (11 years ago)
Author:
markd
Message:

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
Port revision to use new DP startup scripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/mail/vm-pop3d/Portfile

    r15951 r16101  
    1 # $Id: Portfile,v 1.3 2006/01/21 13:59:15 mww Exp $
     1# $Id: Portfile,v 1.4 2006/01/27 08:34:21 markd Exp $
    22
    33PortSystem      1.0
     
    55name                            vm-pop3d 
    66version                         1.1.6
    7 
     7revision                        1
    88categories                      mail
    99maintainers                     markd@opendarwin.org
     
    2525destroot.destdir                prefix=${destroot}${prefix}
    2626
    27 depends_lib                     port:postfix \
    28                                 port:DarwinPortsStartup
     27depends_lib                     port:postfix
    2928
    3029configure.args                  --enable-virtual
     30
     31
     32variant server {
     33
     34    startupitem.create    yes
     35    startupitem.start "${prefix}/share/${name}/vm-pop3d.init"
     36    startupitem.stop "killall ${name}"
     37}
    3138
    3239pre-configure {
     
    8592                "${worksrcpath}/vm-pop3d.init"
    8693
    87         xinstall -d -m 755  ${destroot}${prefix}/etc/rc.d
     94        xinstall -d -m 755  ${destroot}${prefix}/share/${name}
    8895       
    89         xinstall -m 755 ${worksrcpath}/vm-pop3d.init ${destroot}${prefix}/etc/rc.d/vm-pop3d.sh
     96        xinstall -m 755 ${worksrcpath}/vm-pop3d.init ${destroot}${prefix}/share/${name}
    9097}
    9198
     
    166173
    167174
    168 6) Start vm-pop3d and test POP access to a virtual domain with telnet
     1756) Start vm-pop3d (and set it to launch at startup) and test POP access to virtual domains with telnet
    169176
    170         sudo ${prefix}/etc/rc.d/vm-pop3d.sh start (or reboot)
     177        sudo launchctl load -w /Library/LaunchDaemons/org.darwinports.vm-pop3d.plist
    171178
    172179        telnet localhost 110  (response ->)  +OK POP3 Welcome to vm-pop3d 1.x.x
Note: See TracChangeset for help on using the changeset viewer.