source: trunk/dports/perl/p5-file-basedir/Portfile

Last change on this file was 154393, checked in by mojca@…, 11 months ago

p5-*: remove subports for perl5.22 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# -*- 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
2# $Id: Portfile 154393 2016-10-28 22:10:07Z ryandesign@macports.org $
3
4# This comment was inserted on 20160713 to force reindexing of
5# this port after the default homepage definition in the perl5
6# PortGroup was changed to use metacpan.org (r150080).
7# Reindexing is necessary for the new definition to take effect.
8# This comment may be removed in subsequent updates of this port.
9
10PortSystem          1.0
11PortGroup           perl5 1.0
12
13perl5.branches      5.24
14perl5.setup         File-BaseDir 0.07
15license             {Artistic-1 GPL}
16maintainers         nomaintainer
17supported_archs     noarch
18
19description         This module can be used to find directories and files as             \
20                    specified by the Freedesktop.org Base Directory Specification.
21long_description    This module can be used to find directories and files as             \
22                    specified by the Freedesktop.org Base Directory Specification.       \
23                    This specifications gives a mechanism to locate directories for      \
24                    configuration, application data and cache data. It is suggested      \
25                    that desktop applications for e.g. the Gnome, KDE or Xfce platforms  \
26                    follow this layout. However, the same layout can just as well be     \
27                    used for non-GUI applications.
28
29platforms           darwin
30
31checksums           rmd160  002a084ae19202e3f1db55410a5ccae7fae88be1 \
32                    sha256  120a57ef78535e13e1465717b4056aff4ce69af1e31c67c65d1177a52169082b
33
34if {${perl5.major} != ""} {
35    depends_build-append \
36                    port:p${perl5.major}-file-which
37
38    depends_lib-append \
39                    port:p${perl5.major}-ipc-system-simple
40
41## patch in the @@_MACPORTS_PREFIX_GOES_HERE_@@ tag for replacing in the XDG_DATA_DIRS
42    patchfiles      patch-lib-File-BaseDir.pm.diff
43
44## and then reinplace to put in our prefix.
45    post-patch {
46        reinplace "s|@@_MACPORTS_PREFIX_GOES_HERE_@@|${prefix}|" ${worksrcpath}/lib/File/BaseDir.pm
47    }
48   
49    perl5.use_module_build
50}
Note: See TracBrowser for help on using the repository browser.