pkgsrc/print/mupdf/Makefile
wiz 2009bd8f62 Update to 1.0:
MuPDF 1.0 (2012-04-24)

The 1.0 release is here!

MuPDF 1.0 RC1 (2012-03-29)

The 1.0 release rapidly approaches! This version brings with it a whole host of features, including:

    Removal of all global variables: we now pass a context pointer
    through the code freeing us from the use of globals within the
    library.

    Multi-threaded operation: while MuPDF does not require a thread
    library, hooks are in place so that if one is used, significant
    speedups can be gained from using multiple cores to render.

    New error handling: a portable exception-like system is used
    to allow neater handling of errors. This leads to more stability
    and better resilience to broken files.

    Public/Private API: the API has undergone a significant revision
    (required by some of the above changes, plus renaming/revising
    for clarity and consistency), and has been split into public
    and private headers. The plan is that the public portion of
    the API should remain much more static in future.

    Improved Text Extraction device: a cleaner API to the experimental
    text extraction device, offering a list of styles, and more
    cleanly delineated content.

    Documentation: All public header entry points/structures are
    now documented and overviews of how to call the library to
    render pages both in single and multi-threaded mode are given.

    A new scavenging memory manager; makes much better use of the
    memory available by freeing cached items 'just in time'.

    Many, many, bugfixes.

This is such a large and significant version that we're doing a
release candidate first to allow us to correct any obvious bugs
that are found. Please try it and let us know how you get on!
2012-06-03 22:03:24 +00:00

39 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.12 2012/06/03 22:03:24 wiz Exp $
#
DISTNAME= mupdf-1.0-source
PKGNAME= ${DISTNAME:S/-source//}
CATEGORIES= print
MASTER_SITES= http://ccxvii.net/mupdf/download/ \
http://ccxvii.net/mupdf/download/archive/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://mupdf.com/
COMMENT= Lightweight PDF viewer and toolkit
LICENSE= gnu-gpl-v3
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= pkg-config gmake
USE_LIBTOOL= yes
INSTALLATION_DIRS+= bin include lib/pkgconfig
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX}
LDFLAGS= ${COMPILER_RPATH_FLAG}${X11BASE}/lib
MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
post-build:
sed -e "s,@PREFIX@,${PREFIX}," ${FILESDIR}/mupdf.pc > ${WRKSRC}/mupdf.pc
post-install:
${INSTALL_DATA} ${WRKSRC}/mupdf.pc ${DESTDIR}${PREFIX}/lib/pkgconfig
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/jbig2dec/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/openjpeg/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"