Haru is a free, cross platform, open-sourced software library for generating PDF. It supports the following features. * Generating PDF files with lines, text, images. * Outline, text annotation, link annotation. * Compressing document with deflate-decode. * Embedding PNG, Jpeg images. * Embedding Type1 font and TrueType font. * Creating encrypted PDF files. * Using various character set (ISO8859-1~16, MSCP1250~8, KOI8-R). * Supporting CJK fonts and encodings. ok/tweaks ajacoutot@
40 lines
838 B
Makefile
40 lines
838 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2013/03/20 21:45:55 landry Exp $
|
|
|
|
COMMENT = PDF creation library
|
|
|
|
VERSION = 2_3_0RC2
|
|
DISTNAME = RELEASE_${VERSION}
|
|
PKGNAME = libharu-${VERSION:L:S/_/./g}
|
|
EXTRACT_SUFX = .zip
|
|
SHARED_LIBS= hpdf 0.0 #0.0
|
|
CATEGORIES = print
|
|
|
|
HOMEPAGE = http://libharu.org/
|
|
|
|
# ZLIB/PNG
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MASTER_SITES = https://github.com/libharu/libharu/archive/
|
|
|
|
WRKDIST = ${WRKDIR}/libharu-${DISTNAME}
|
|
AUTOCONF_VERSION = 2.63
|
|
AUTOMAKE_VERSION = 1.11
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ARGS = --with-png=${LOCALBASE}
|
|
|
|
USE_LIBTOOL = Yes
|
|
|
|
# for libtoolize
|
|
BUILD_DEPENDS = devel/libtool
|
|
|
|
LIB_DEPENDS = graphics/png
|
|
WANTLIB = m png z
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && ${MAKE_PROGRAM} LIBTOOLIZE=libtoolize \
|
|
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
|
|
AUTOCONF_VERSION=${AUTOCONF_VERSION} -f build.mk
|
|
|
|
.include <bsd.port.mk>
|