source: trunk/dports/perl/p5-text-bibtex/Portfile

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

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

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7perl5.branches      5.24
8perl5.setup         Text-BibTeX 0.77
9revision            1
10platforms           darwin
11maintainers         nomaintainer
12license             {Artistic-1 GPL}
13
14description         Parse BibTeX files
15
16long_description    Text::BibTeX is a Perl library for reading, parsing, and processing  \
17                    BibTeX files.  It is the Perl half of btOOL, a pair of libraries for \
18                    dealing with BibTeX data.
19
20checksums           rmd160  2347761b2a2499e34f3c72e18ac3885a1ef42456 \
21                    sha256  6459bb9d93ab5520959ce0ebd28cdf34dcf685774e40f377bcc39c3935ea6e4e
22
23if {${perl5.major} != ""} {
24    depends_build-append \
25                    port:p${perl5.major}-capture-tiny \
26                    port:p${perl5.major}-extutils-libbuilder \
27                    port:p${perl5.major}-config-autoconf
28
29    depends_lib-append \
30                    port:p${perl5.major}-unicode-normalize
31
32    perl5.use_module_build
33
34    # in inc/MyBuilder.pm, copy_if_modified is called on binaries and libraries
35    # the libraries and binaries are then modified (install names changed)
36    # copy_if_modified, however, sets all files as read only
37    #    see http://search.cpan.org/~leont/Module-Build-0.4220/lib/Module/Build/API.pod#copy_if_modified
38    #    see https://github.com/Perl-Toolchain-Gang/Module-Build/blob/master/lib/Module/Build/Base.pm#L5600
39    # patch temporarily makes the files writable before changing them
40    patchfiles-append patch-permissions.diff
41}
Note: See TracBrowser for help on using the repository browser.