pkgsrc/print/ghostscript/options.mk
wiz 3f16007cad Add x11 option to the various ghostscript packages, and get rid
of the separate ghostscript*x11* packages.
2005-12-09 20:30:16 +00:00

17 lines
406 B
Makefile

# $NetBSD: options.mk,v 1.1 2005/12/09 20:30:16 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ghostscript
PKG_SUPPORTED_OPTIONS= x11
PKG_SUGGESTED_OPTIONS= x11
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mx11)
XLIBS= Xt SM ICE Xext X11
GS_DISPLAY_DEVICE= x11.dev
MAKEFRAGS+= ${FILESDIR}/devs.x11
.include "../../mk/x11.buildlink3.mk"
.else
XLIBS?= # empty
GS_DISPLAY_DEVICE?= # empty
.endif