# -*- 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 perl5 1.0 perl5.branches 5.28 5.30 5.32 5.34 perl5.setup File-BaseDir 0.09 revision 0 license {Artistic-1 GPL} maintainers nomaintainer supported_archs noarch description This module can be used to find directories and files as \ specified by the Freedesktop.org Base Directory Specification. long_description This module can be used to find directories and files as \ specified by the Freedesktop.org Base Directory Specification. \ This specifications gives a mechanism to locate directories for \ configuration, application data and cache data. It is suggested \ that desktop applications for e.g. the Gnome, KDE or Xfce platforms \ follow this layout. However, the same layout can just as well be \ used for non-GUI applications. platforms {darwin any} checksums rmd160 1508ead23b56761c68a8892cb59cb48d4f44014d \ sha256 6da6f7281562ac8f11ef1a3af6aedb51c41182b60f1f122ced0079efd92967d9 \ size 21508 if {${perl5.major} != ""} { depends_build-append \ port:p${perl5.major}-file-which depends_lib-append \ port:p${perl5.major}-ipc-system-simple patchfiles patch-lib-File-BaseDir.pm.diff \ patch-t-01-vars.t.diff \ patch-t-03-OO.t.diff post-patch { set prefix_words [lrange [split ${prefix} /] 1 end] reinplace "s|@@MP_PREFIX_WORDS@@|${prefix_words}|" \ ${worksrcpath}/lib/File/BaseDir.pm \ ${worksrcpath}/t/01_vars.t \ ${worksrcpath}/t/03_OO.t reinplace "s|@@MP_PREFIX_PATH@@|${prefix}|" \ ${worksrcpath}/lib/File/BaseDir.pm } }