# -*- 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 # $Id: Portfile 154393 2016-10-28 22:10:07Z mojca@macports.org $ # This comment was inserted on 20160713 to force reindexing of # this port after the default homepage definition in the perl5 # PortGroup was changed to use metacpan.org (r150080). # Reindexing is necessary for the new definition to take effect. # This comment may be removed in subsequent updates of this port. PortSystem 1.0 PortGroup perl5 1.0 perl5.branches 5.24 perl5.setup File-BaseDir 0.07 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 checksums rmd160 002a084ae19202e3f1db55410a5ccae7fae88be1 \ sha256 120a57ef78535e13e1465717b4056aff4ce69af1e31c67c65d1177a52169082b if {${perl5.major} != ""} { depends_build-append \ port:p${perl5.major}-file-which depends_lib-append \ 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. post-patch { reinplace "s|@@_MACPORTS_PREFIX_GOES_HERE_@@|${prefix}|" ${worksrcpath}/lib/File/BaseDir.pm } perl5.use_module_build }