# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup github 1.0 github.setup Krazy-collection krazy e0183af version 20160828 set perl_version 5.24 categories devel platforms darwin license GPL-2 maintainers khindenburg openmaintainer description sanity check your source code long_description \ Krazy scans source code looking for issues that should be fixed \ for reasons of policy, good coding practice, optimization, or any other \ good reason. checksums rmd160 5345eb13e0e2940dbd29950cbdc6c312f8996989 \ sha256 37468995e1ae1c4e6ac3c0cd589a74771e57cc1a9b6bcd69f51625fd16d111e6 patchfiles patch-perlversion.diff \ patch-qmakeversion.diff #build.cmd QMAKE=/opt/local/bin/qmake-qt5 ./install.sh ${destroot}${prefix} build.cmd ./install.sh ${destroot}${prefix} build.target #depends_build-append port:qt4-mac depends_build-append port:p${perl_version}-extutils-makemaker depends_lib-append port:perl${perl_version} \ port:p${perl_version}-html-parser \ port:p${perl_version}-tie-ixhash \ port:p${perl_version}-yaml \ port:p${perl_version}-xml-libxml \ port:p${perl_version}-xml-parser use_configure no post-patch { reinplace -W ${worksrcpath} "s|__PERL__|${prefix}/bin/perl${perl_version}|g" install.sh } # build's ./install.sh puts files in destroot destroot {} post-destroot { file delete ${destroot}${prefix}/lib/perl5/${perl_version}/darwin-thread-multi-2level/perllocal.pod file mkdir ${destroot}${prefix}/share/${name} file copy ${destroot}${prefix}/conf/settings.yaml ${destroot}${prefix}/share/${name} file delete ${destroot}${prefix}/conf/settings.yaml } livecheck.type none