Ignore:
Timestamp:
Jan 26, 2008, 6:53:40 AM (12 years ago)
Author:
ryandesign@…
Message:

qmail-spamcontrol: use ${name} where appropriate instead of re-typing the port name ; see #13972

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/mail/qmail-spamcontrol/Portfile

    r33392 r33393  
    157157        file mkdir ${destroot}${prefix}/var/log/qmail/smtpd
    158158        system "chown -R qmaill ${destroot}${prefix}/var/log/qmail"
    159         touch ${destroot}${prefix}/var/log/qmail/smtpd/.turd_qmail-spamcontrol
     159        touch ${destroot}${prefix}/var/log/qmail/smtpd/.turd_${name}
    160160
    161161        # Copy example files
     
    242242
    243243        # Remove the turd files
    244         system "cd ${prefix}/var/qmail; find . -name .turd_qmail-spamcontrol -delete"
    245         system "rm ${destroot}${prefix}/var/log/qmail/smtpd/.turd_qmail-spamcontrol"
     244        system "cd ${prefix}/var/qmail; find . -name .turd_${name} -delete"
     245        system "rm ${destroot}${prefix}/var/log/qmail/smtpd/.turd_${name}"
    246246}
    247247
Note: See TracChangeset for help on using the changeset viewer.