# -*- 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 PortSystem 1.0 PortGroup github 1.0 PortGroup makefile 1.0 github.setup ndevilla iniparser 4.1 v github.tarball_from archive revision 0 categories devel platforms darwin maintainers {@frankdean fdsd.co.uk:frank.dean} openmaintainer license MIT description An ini file parser library for C long_description ${description} patchfiles Makefile.diff checksums rmd160 06b85b087760fc40ab5a2568db663df25b13ccb6 \ sha256 960daa800dd31d70ba1bacf3ea2d22e8ddfc2906534bf328319495966443f3ae \ size 44732 set libdir ${prefix}/lib set includedir ${prefix}/include/iniparser makefile.has_destdir no build.target destroot { xinstall -m 0755 -d ${destroot}${libdir} \ ${destroot}${includedir} xinstall -m 0644 \ ${worksrcpath}/libiniparser.a \ ${worksrcpath}/libiniparser.so.1 \ ${destroot}${libdir} xinstall -m 0644 {*}[glob ${worksrcpath}/src/*.h] ${destroot}${includedir} } post-destroot { xinstall -m 0755 -d \ ${destroot}${prefix}/share/doc/${name} file copy {*}[glob -directory ${worksrcpath} *.md LICENSE] \ ${destroot}${prefix}/share/doc/${name}/ } test.run yes test.target check