Ticket #1530: dovecot.3.diff

File dovecot.3.diff, 746 bytes (added by andrea+darwinports@…, 21 years ago)

Take 3

  • Portfile

    diff -urN dovecot.orig/Portfile dovecot/Portfile
    old new  
    2222  }
    2323variant rawlog  {       configure.args-append   --with-rawlog   }
    2424variant ldap      {     configure.args-append   --with-ldap     }
     25
     26post-destroot   {
     27        xinstall -m 755 -d ${destroot}${prefix}/etc/rc.d
     28        xinstall -m 755 -c ${portpath}/files/dovecot.sh ${destroot}${prefix}/etc/rc.d
     29        reinplace "s|__PREFIX|${prefix}|g" \
     30                ${destroot}${prefix}/etc/rc.d/dovecot.sh
     31}
  • files/dovecot.sh

    diff -urN dovecot.orig/files/dovecot.sh dovecot/files/dovecot.sh
    old new  
     1#!/bin/sh
     2
     3__PREFIX/sbin/dovecot