Changeset 38830


Ignore:
Timestamp:
Aug 1, 2008, 7:02:34 AM (11 years ago)
Author:
ryandesign@…
Message:

PlopFolio:

  • use xcode portgroup so the port builds at all with current Xcode, and so that it automatically uses ${applications_dir} instead of assuming /Applications/MacPorts
  • fix permissions for install if you're not root
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/news/PlopFolio/Portfile

    r30242 r38830  
    22
    33PortSystem 1.0
     4PortGroup xcode 1.0
    45
    56name            PlopFolio
    67version         0.1.0
    78categories      news aqua
    8 platforms       darwin
    99maintainers     nomaintainer
    1010description     PlopFolio is a free KlipFolio clone that supports Klips
     
    1717checksums       md5 a1752b4ff0707701f993451da924a46d
    1818
    19 use_configure   no
     19worksrcdir      ${name}
    2020
    21 build.dir       ${workpath}/${name}
    22 build.type      pbx
    23 build.target
    24 
    25 destroot        {
    26         file mkdir ${destroot}/Applications/MacPorts
    27         file copy ${build.dir}/build/${name}.app \
    28                 ${destroot}/Applications/MacPorts
     21post-destroot {
     22    fs-traverse dir ${destroot} {
     23        if {[file isdirectory ${dir}]} {
     24            file attributes ${dir} -permissions u+w
     25        }
     26    }
    2927}
Note: See TracChangeset for help on using the changeset viewer.