add no_cjk FLAVOR giving a smaller binary for systems where disk space
is at a premium. (memory use of the two is pretty similar).
This commit is contained in:
parent
d2c08f2888
commit
7c6ba86a56
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2009/06/22 11:56:15 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2009/07/12 19:40:11 sthen Exp $
|
||||
|
||||
COMMENT = graphic library, pdf parser, viewer and utilities
|
||||
|
||||
DISTNAME = fitz-0.4
|
||||
PKGNAME = ${DISTNAME:S/fitz/mupdf/}
|
||||
PKGNAME = ${DISTNAME:S/fitz/mupdf/}p0
|
||||
|
||||
CATEGORIES = textproc x11
|
||||
|
||||
@ -44,6 +44,13 @@ JAMFLAGS = \
|
||||
-sTHIRDPARTYINC="`freetype-config --cflags` -I${LOCALBASE}/include" \
|
||||
-sTHIRDPARTYLIB="`freetype-config --libs` -L${LOCALBASE}/lib"
|
||||
|
||||
FLAVORS += no_cjk
|
||||
FLAVOR ?=
|
||||
|
||||
.if ${FLAVOR:L:Mno_cjk}
|
||||
JAMFLAGS += -sDEFINES=NOCJK
|
||||
.endif
|
||||
|
||||
SEPARATE_BUILD = concurrent
|
||||
|
||||
pre-configure:
|
||||
|
@ -21,3 +21,6 @@ merging and extracting pages, and examining the internal object
|
||||
structure of a PDF file.
|
||||
|
||||
The mupdf binary (aka pdfview) is a bare bones PDF viewer.
|
||||
|
||||
The optional no_cjk flavor disables CJK font metrics, giving a
|
||||
smaller binary.
|
||||
|
Loading…
Reference in New Issue
Block a user