Files
haikuports/dev-tex/biber/biber-2.20.recipe
2025-03-14 20:13:54 +01:00

122 lines
2.2 KiB
Bash

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
}