SUMMARY="Utilities for manupulating Adobe Type 1 font software"
DESCRIPTION="T1utils is a collection of simple programs for manipulating \
PostScript Type 1 fonts.
Together, they allow you to convert between PFA (ASCII) and PFB (binary) \
formats, disassemble PFA or PFB files into human-readable form, and \
reassemble them into PFA or PFB format.
Additionally you can extract font resources from a Macintosh font file or \
create a Macintosh Type 1 font file from a PFA or PFB font."
HOMEPAGE="https://www.lcdf.org/~eddietwo/type/#t1utils"
COPYRIGHT="1992 by I. Lee Hetherington, all rights reserved.
	1998-2017 Eddie Kohler"
LICENSE="Click License"
REVISION="1"
SOURCE_URI="https://www.lcdf.org/~eddietwo/type/t1utils-$portVersion.tar.gz"
CHECKSUM_SHA256="fc5edd7e829902b3b685886382fed690d533681c0ab218a387c9e47606623427"

ARCHITECTURES="all"

PROVIDES="
	t1utils = $portVersion
	cmd:t1ascii = $portVersion
	cmd:t1asm = $portVersion
	cmd:t1binary = $portVersion
	cmd:t1disasm = $portVersion
	cmd:t1mac = $portVersion
	cmd:t1unmac = $portVersion
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	cmd:awk
	cmd:gcc
	cmd:ld
	cmd:make
	"

BUILD()
{
	runConfigure ./configure
	make $jobArgs
}

INSTALL()
{
	make install
}
