SUMMARY="A PDF rendering library (datafiles)"
DESCRIPTION="Poppler is a PDF rendering library based on the xpdf-3.0 code \
base. This package consists of encoding files for use with poppler."
HOMEPAGE="https://poppler.freedesktop.org/"
COPYRIGHT="1990-2019 Adobe
	2002-2008 Albert Astals Cid
	2005 Kristian Høgsberg
	2001-2002 Derek Noonburg (xpdf)"
LICENSE="BSD (3-clause)
	GNU GPL v2
	MIT"
REVISION="1"
SOURCE_URI="https://poppler.freedesktop.org/poppler-data-$portVersion.tar.gz"
CHECKSUM_SHA256="2cec05cd1bb03af98a8b06a1e22f6e6e1a65b1e2f3816cb3069bb0874825f08c"
SOURCE_DIR="poppler-data-$portVersion"

ARCHITECTURES="any"

PROVIDES="
	$portName = $portVersion
	"
REQUIRES="
	haiku$secondaryArchSuffix
	"

BUILD_REQUIRES="
	haiku${secondaryArchSuffix}_devel
	"
BUILD_PREREQUIRES="
	cmd:install
	cmd:make
	cmd:pkg_config$secondaryArchSuffix
	cmd:sed
	"

BUILD()
{
	true
}

INSTALL()
{
	make datadir=$dataDir pkgdatadir=$dataDir install
}
