Ignore:
Timestamp:
Jun 20, 2005, 3:19:06 PM (14 years ago)
Author:
mww
Message:

update to 1.0

Location:
trunk/dports/mail/putmail
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/mail/putmail/Portfile

    r11627 r12752  
    1 # $Id: Portfile,v 1.7 2005/04/05 09:32:40 mww Exp $
     1# $Id: Portfile,v 1.8 2005/06/20 15:19:05 mww Exp $
    22
    33PortSystem 1.0
    44
    55name                    putmail
    6 version                 0.12
     6version                 1.0
    77categories              mail
    88platforms               darwin
     
    1717master_sites    sourceforge
    1818distname                ${name}.py-${version}
    19 checksums               md5 a101c527b2b40c415e26527bd344c819
     19checksums               md5 2a0ddd6dd051f5c7d1de3ab8df52be2e
    2020use_bzip2               yes
    2121patchfiles              patch-install.sh
     
    2424
    2525configure {
    26         cd ${worksrcpath}
    27         reinplace "s|__PREFIX__|${destroot}${prefix}|g" install.sh
    28         reinplace "s| /usr/bin/python|/usr/bin/env python|g" putmail.py
     26        reinplace "s|__PREFIX__|${destroot}${prefix}|g" ${worksrcpath}/install.sh
    2927}
    3028
     
    3331destroot {
    3432        system "cd ${worksrcpath} && sh install.sh"
    35         file rename ${destroot}${prefix}/bin/putmail.py \
    36                 ${destroot}${prefix}/bin/putmail
     33        system "cd ${destroot}${prefix}/bin && ln -sf putmail.py putmail"
    3734}
  • trunk/dports/mail/putmail/files/patch-install.sh

    r11490 r12752  
    1 --- install.sh  Sun Mar 20 21:09:21 2005
    2 +++ install.sh.new      Sat Mar 26 20:58:44 2005
     1--- install.sh  2005-06-18 12:11:07.000000000 +0200
     2+++ install.sh.new      2005-06-20 17:16:18.000000000 +0200
    33@@ -1,9 +1,9 @@
    44 #!/usr/bin/env bash
     
    66-program_dest=/usr/local/bin
    77-i18n_dest=/usr/share/locale
    8 -doc_dest=/usr/local/share/doc/putmail-`cat doc/VERSION`
     8-doc_dest=/usr/local/share/doc/putmail
    99-man_dest=/usr/local/share/man
    1010+program_dest=__PREFIX__/bin
Note: See TracChangeset for help on using the changeset viewer.