# $Id$ PortSystem 1.0 PortGroup perl5 1.0 perl5.branches 5.8 5.10 5.12 5.14 5.16 perl5.setup File-BaseDir 0.03 revision 6 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. checksums md5 527596f1507894dfaacdda72ea6dbb31 \ sha1 901f56c06fd3b4a105bd24b8790ba95337d9aea7 platforms darwin if {${perl5.major} != ""} { ## 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. post-patch { reinplace "s|@@_MACPORTS_PREFIX_GOES_HERE_@@|${prefix}|" ${worksrcpath}/lib/File/BaseDir.pm } }