# -*- 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 name sglib version 1.0.4 revision 0 checksums rmd160 34c6276c46e1db8613fe144fcd5affc3df288fc8 \ sha256 d685cf849f33a6f7d068a79a110dbadb6ad76653b6bd0d48247c055241487f4d \ size 50070 categories devel platforms any # homepage says any OSI-approved license may be chosen license Permissive supported_archs noarch maintainers nomaintainer description useful macros for manipulating common data structures long_description sglib is a library defining useful macros manipulating \ common data structures. homepage http://sglib.sourceforge.net/ master_sites sourceforge:project/sglib/sglib/${version}/ patchfiles version.patch post-patch { reinplace "s|@VERSION@|${version}|g" ${worksrcpath}/sglib.h } use_configure no build {} destroot { xinstall -m 644 ${worksrcpath}/sglib.h ${destroot}${prefix}/include/ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} file copy ${worksrcpath}/samples \ ${destroot}${prefix}/share/doc/${name}/examples xinstall -m 644 -W ${worksrcpath} doc/GenerateDoc doc/index.html \ doc/index.html.sss doc/sssi README \ ${destroot}${prefix}/share/doc/${name} }