# -*- 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 fpc-sources version 3.2.2 categories lang platforms any license GPL-2 LGPL-2 supported_archs noarch maintainers {@kamischi web.de:karl-michael.schindler} openmaintainer description Sources of the FreePascal compiler long_description Sources of the compiler, the runtime library (rtl), \ packages and utils. Used by lazarus. homepage http://www.freepascal.org master_sites sourceforge:freepascal dist_subdir ${name}/${version}/source distname fpc-${version} extract.suffix .source${extract.suffix} checksums rmd160 a8e17b2ead0548039522ebea165a67e8747643d8 \ sha256 d542e349de246843d4f164829953d1f5b864126c5b62fd17c9b45b33e23d2f44 \ size 52240052 use_configure no build {} # Using file copy instead of xinstall, since it works recursively destroot { xinstall -d ${destroot}${prefix}/share/fpcsrc file copy ${worksrcpath}/compiler ${destroot}${prefix}/share/fpcsrc file copy ${worksrcpath}/rtl ${destroot}${prefix}/share/fpcsrc file copy ${worksrcpath}/packages ${destroot}${prefix}/share/fpcsrc file copy ${worksrcpath}/utils ${destroot}${prefix}/share/fpcsrc system "chmod -R 755 ${destroot}${prefix}/share/fpcsrc/*" } livecheck.distname fpcbuild