PortSystem 1.0
PortGroup xcode 1.0

name		PlopFolio
version		0.1.0
categories	news aqua
license		GPL-2+
maintainers	nomaintainer
description	PlopFolio is a free KlipFolio clone that supports Klips
long_description	PlopFolio is a free clone of Serences KlipFolio \
			application. PlopFolio supports Klips available from \
			KlipFarm (http://www.klipfarm.com/).

homepage	http://www.collaboration-world.com/plopfolio/
master_sites	http://debian.uni-essen.de/misc/GNUstep/Apps/PlopFolio/
checksums	md5 a1752b4ff0707701f993451da924a46d

worksrcdir	${name}

if {${os.major} >= 10} {
    post-patch {
        copy -force ${filespath}/project.pbxproj \
                    ${worksrcpath}/PlopFolio.pbproj/project.pbxproj
        copy ${filespath}/Info-PlopFolio.plist ${worksrcpath}
    }
}

post-destroot {
    fs-traverse dir ${destroot} {
        if {[file isdirectory ${dir}]} {
            file attributes ${dir} -permissions u+w
        }
    }
}
