Ticket #5094: Portfile.2.diff

File Portfile.2.diff, 814 bytes (added by bfulgham@…, 18 years ago)

Updated Portfile.

  • Portfile

    old new  
    1212
    1313homepage                        http://www.gramps-project.org/
    1414master_sites                    sourceforge:gramps
    15 distname                        gramps-${version}
    1615checksums                       md5 84f2659b292b5e2abc92a8d56148495b
    1716
    1817patchfiles                      patch-configure
    1918
    2019configure.args                  --disable-mime-install
    2120
     21depends_lib                     bin:update-mime-database:shared-mime-info
    2222depends_lib-append              port:py-gnome \
    2323                                port:py-bsddb
    2424
    25 post-install {
    26         ui_msg "
    27 ==============================================================
    28 You need to do
    29 'sudo update-mime-database /opt/local/share/mime'
    30 before using gramps
    31 =============================================================="
     25post-activate {
     26        system "update-mime-database ${prefix}/share/mime"
    3227}