mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
biber: new perl module recipe
This commit is contained in:
121
dev-tex/biber/biber-2.20.recipe
Normal file
121
dev-tex/biber/biber-2.20.recipe
Normal file
@@ -0,0 +1,121 @@
|
||||
SUMMARY="A BibTEX replacement for users of BibLATEX"
|
||||
DESCRIPTION="Biber is a sophisticated bibliography processing backend for the LaTeX biblatex \
|
||||
package. It supports an unsurpassed feature set for automated conformance to complex bibliography \
|
||||
style requirements such as labelling, sorting and name handling. It has comprehensive Unicode \
|
||||
support."
|
||||
HOMEPAGE="https://biblatex-biber.sourceforge.net/"
|
||||
COPYRIGHT="2009-2024 François Charette and Philip Kime"
|
||||
LICENSE="Artistic"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/plk/biber/archive/refs/tags/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="19f0312e59bf2f5711b8d69b3585a0ca894c36574f086fbb8d53ccd5c0a45ff9"
|
||||
PATCHES="biber-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
biber = $portVersion
|
||||
cmd:biber = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
autovivification
|
||||
business_isbn
|
||||
business_ismn
|
||||
business_issn
|
||||
ca_root_certificates
|
||||
class_accessor
|
||||
data_compare
|
||||
data_dump
|
||||
data_uniqid
|
||||
datetime_calendar_julian
|
||||
datetime_format_builder
|
||||
#encode_eucjpascii
|
||||
#encode_hanextra
|
||||
#encode_jis2k
|
||||
encode_locale
|
||||
file_slurper
|
||||
io_string
|
||||
ipc_run3
|
||||
libwww_perl
|
||||
lingua_translit
|
||||
list_allutils
|
||||
list_moreutils
|
||||
list_moreutils_xs
|
||||
log_log4perl
|
||||
lwp_protocol_https
|
||||
parse_recdescent
|
||||
perlio_utf8_strict
|
||||
regexp_common
|
||||
sort_key
|
||||
text_csv
|
||||
text_csv_xs
|
||||
text_bibtex
|
||||
text_roman
|
||||
unicode_linebreak
|
||||
uri
|
||||
vendor_perl
|
||||
xml_libxml
|
||||
xml_libxml_simple
|
||||
xml_libxslt
|
||||
xml_writer
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
module_build
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:perl
|
||||
"
|
||||
|
||||
TEST_REQUIRES="
|
||||
autovivification
|
||||
business_isbn
|
||||
business_issn
|
||||
class_accessor
|
||||
data_compare
|
||||
data_dump
|
||||
data_uniqid
|
||||
datetime
|
||||
datetime_calendar_julian
|
||||
datetime_format_builder
|
||||
file_slurper
|
||||
file_which
|
||||
ipc_run3
|
||||
lingua_translit
|
||||
list_allutils
|
||||
log_log4perl
|
||||
parse_recdescent
|
||||
regexp_common
|
||||
sort_key
|
||||
test_differences
|
||||
text_bibtex
|
||||
text_csv
|
||||
text_roman
|
||||
unicode_linebreak
|
||||
uri
|
||||
xml_libxml_simple
|
||||
xml_writer
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
perl Build.PL --prefix $prefix
|
||||
./Build
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
./Build pure_install
|
||||
|
||||
# remove architecture-specific files
|
||||
cd $prefix
|
||||
rm -r $(perl -V:vendorarch | cut -d\' -f2 | cut -d/ -f5-)
|
||||
# cut extracts the quoted string and strips the prefix (which is perl's and not ours)
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
./Build test
|
||||
}
|
||||
22
dev-tex/biber/patches/biber-2.20.patchset
Normal file
22
dev-tex/biber/patches/biber-2.20.patchset
Normal file
@@ -0,0 +1,22 @@
|
||||
From ccdc434983f7df27fa679b8bc05fe3c2c5b89c7e Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Joachim=20Mairb=C3=B6ck?= <j.mairboeck@gmail.com>
|
||||
Date: Sun, 26 Jan 2025 21:16:59 +0100
|
||||
Subject: use system CA certificates instead of requiring the Mozilla::CA perl
|
||||
module
|
||||
|
||||
|
||||
diff --git a/lib/Biber/Utils.pm b/lib/Biber/Utils.pm
|
||||
index 7b0d4f6..3c61307 100644
|
||||
--- a/lib/Biber/Utils.pm
|
||||
+++ b/lib/Biber/Utils.pm
|
||||
@@ -193,6 +193,7 @@ sub locate_data_file {
|
||||
/etc/ssl/certs/ca-certificates.crt
|
||||
/etc/pki/tls/certs/ca-bundle.crt
|
||||
/etc/ssl/ca-bundle.pem
|
||||
+ /boot/system/data/ssl/CARootCertificates.pem
|
||||
}) {
|
||||
next if ! -e $ca_bundle;
|
||||
$ENV{PERL_LWP_SSL_CA_FILE} = $ca_bundle;
|
||||
--
|
||||
2.45.2
|
||||
|
||||
Reference in New Issue
Block a user