source: trunk/dports/tex/biblatex-biber/Portfile @ 144564

Last change on this file since 144564 was 144564, checked in by mojca@…, 3 years ago

remove perl5_16..5_20 variants from perl dependents (#50245)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 4.2 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 144564 2016-01-12 21:17:36Z mojca@macports.org $
3
4PortSystem 1.0
5PortGroup perl5 1.0
6PortGroup texlive 1.0
7
8# Note: biber is not backwards-compatible, so be sure to check for
9# compatibility with the version of biblatex in texlive-bibtex-extra
10# before updating this port.
11name            biblatex-biber
12epoch           2
13
14perl5.branches  5.22
15
16# variant perl5_22 description "use perl version 5.22" conflicts perl5_x {}
17variant perl5_22 description "use perl version 5.22" {}
18# if {![variant_isset perl5_x]} {
19default_variants +perl5_22
20# }
21
22if {[variant_isset perl5_22]} { perl5.default_branch 5.22 }
23
24perl5.setup     Biber 2.1
25version         ${perl5.moduleversion}
26revision        1
27
28categories      tex
29license         {Artistic-2 GPL}
30maintainers     dports openmaintainer
31description     a BibTeX replacement for users of biblatex
32long_description \
33  Biblatex relies on the venerable BibTeX program only for sorting and \
34  generating a very generic bbl file without any formatting            \
35  instruction. Everything else is taken care of by biblatex, which     \
36  provides a powerful and flexible macro interface for authors of      \
37  citation styles.  With Biber it is no longer necessary to rely on    \
38  BibTeX, allowing full Unicode support, no memory limitations,        \
39  extensibility, etc.
40
41platforms       darwin
42supported_archs noarch
43homepage        http://biblatex-biber.sourceforge.net/
44
45master_sites    sourceforge:project/${name}/${name}/${version}
46distname        ${name}
47dist_subdir     ${name}-${version}
48worksrcdir      ${name}-${version}
49
50checksums       rmd160  84c21ebedcef6e62144fa5c1007c2d8b9354b481 \
51                sha256  2df772d846ede643e9f58be90a7f7d2201554bd79a6d5fa5321c5409eae6a9c2
52
53
54depends_build-append    port:p${perl5.major}-config-autoconf \
55                        port:p${perl5.major}-extutils-libbuilder
56
57depends_lib-append      port:p${perl5.major}-autovivification \
58                        port:p${perl5.major}-business-isbn \
59                        port:p${perl5.major}-business-ismn \
60                        port:p${perl5.major}-business-issn \
61                        port:p${perl5.major}-data-compare \
62                        port:p${perl5.major}-data-dump \
63                        port:p${perl5.major}-date-simple \
64                        port:p${perl5.major}-encode-eucjpascii \
65                        port:p${perl5.major}-encode-hanextra \
66                        port:p${perl5.major}-encode-jis2k \
67                        port:p${perl5.major}-file-slurp \
68                        port:p${perl5.major}-ipc-cmd \
69                        port:p${perl5.major}-ipc-run3 \
70                        port:p${perl5.major}-libwww-perl \
71                        port:p${perl5.major}-list-allutils \
72                        port:p${perl5.major}-list-moreutils \
73                        port:p${perl5.major}-log-log4perl \
74                        port:p${perl5.major}-mozilla-ca \
75                        port:p${perl5.major}-readonly \
76                        port:p${perl5.major}-readonly-xs \
77                        port:p${perl5.major}-regexp-common \
78                        port:p${perl5.major}-text-bibtex \
79                        port:p${perl5.major}-text-roman \
80                        port:p${perl5.major}-unicode-collate \
81                        port:p${perl5.major}-unicode-linebreak \
82                        port:p${perl5.major}-uri \
83                        port:p${perl5.major}-xml-libxml-simple \
84                        port:p${perl5.major}-xml-libxslt \
85                        port:p${perl5.major}-xml-writer \
86                        bin:mktexlsr:texlive-basic
87
88perl5.use_module_build
89perl5.link_binaries_suffix
90
91post-destroot {
92    xinstall -d ${destroot}${texlive_texmfports}/doc/bibtex/biber
93    xinstall -m 644 ${worksrcpath}/doc/biber.pdf \
94                    ${destroot}${texlive_texmfports}/doc/bibtex/biber
95}
96
97post-activate {
98    texlive.mktexlsr
99}
100
101post-deactivate {
102    texlive.mktexlsr
103}
104
105livecheck.type  regex
106livecheck.url   http://sourceforge.net/projects/biblatex-biber/files/biblatex-biber/
107livecheck.regex {a href="/projects/biblatex-biber/files/biblatex-biber/([0-9\.]+)/"}
Note: See TracBrowser for help on using the repository browser.