pkgsrc/print/xpdf4/options.mk
nia 01be250b01 Add print/xpdf4.
Xpdf is a viewer for Portable Document Format (PDF) files using the Qt toolkit.

Note: this version does not include the command line tools because they
conflict with poppler-utils.
2019-10-22 22:21:26 +00:00

19 lines
450 B
Makefile

# $NetBSD: options.mk,v 1.1 2019/10/22 22:21:26 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.xpdf4
.include "../../mk/bsd.fast.prefs.mk"
.if ${OPSYS} != "Darwin"
PKG_SUPPORTED_OPTIONS= cups
PKG_SUGGESTED_OPTIONS= cups
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mcups)
CMAKE_ARGS+= -DXPDFWIDGET_PRINTING=ON
.include "../../print/cups-base/buildlink3.mk"
.elif ${OPSYS} != "Darwin"
CMAKE_ARGS+= -DXPDFWIDGET_PRINTING=OFF
.endif