# -*- 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
perl5.branches 5.26 5.28 5.30
perl5.setup File-BaseDir 0.08
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.
checksums rmd160 3ffe2398b0aee3c185acfc2d532ee33039591183 \
sha256 c065fcd3e2f22ae769937bcc971b91f80294d5009fac140bfba83bf7d35305e3 \
if {${perl5.major} != ""} {
port:p${perl5.major}-file-which
port:p${perl5.major}-ipc-system-simple
## patch in the @@_MACPORTS_PREFIX_GOES_HERE_@@ tag for replacing in the XDG_DATA_DIRS
patchfiles patch-lib-File-BaseDir.pm.diff
## and then reinplace to put in our prefix.
reinplace "s|@@_MACPORTS_PREFIX_GOES_HERE_@@|${prefix}|" ${worksrcpath}/lib/File/BaseDir.pm