pkgsrc/devel/cutter/options.mk
rillig 7724b801cd devel: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-03 10:39:04 +00:00

65 lines
1.2 KiB
Makefile

# $NetBSD: options.mk,v 1.5 2019/11/03 10:39:09 rillig Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.cutter
PKG_SUPPORTED_OPTIONS= goffice gstreamer gtk2 libsoup pdf
PKG_SUGGESTED_OPTIONS= #
.include "../../mk/bsd.options.mk"
PLIST_VARS+= goffice gst gtk pdf soup
###
### PDF support
###
.if !empty(PKG_OPTIONS:Mpdf)
.include "../../devel/pango/buildlink3.mk"
PLIST.pdf= yes
.endif
###
### goffice support
###
.if !empty(PKG_OPTIONS:Mgoffice)
.include "../../misc/goffice0.8/buildlink3.mk"
CONFIGURE_ARGS+= --enable-goffice
PLIST.gtk= yes
PLIST.pdf= yes
.else
CONFIGURE_ARGS+= --disable-goffice
.endif
###
### gstreamer support
###
.if !empty(PKG_OPTIONS:Mgstreamer)
.include "../../multimedia/gstreamer1/buildlink3.mk"
CONFIGURE_ARGS+= --enable-gstreamer
PLIST.gst= yes
.else
CONFIGURE_ARGS+= --disable-gstreamer
.endif
###
### gtk2 support
###
.if !empty(PKG_OPTIONS:Mgtk2)
.include "../../x11/gtk2/buildlink3.mk"
CONFIGURE_ARGS+= --enable-gtktest
PLIST.gtk= yes
PLIST.pdf= yes
.else
CONFIGURE_ARGS+= --disable-gtktest
.endif
###
###
### libsoup support
###
.if !empty(PKG_OPTIONS:Mlibsoup)
. include "../../net/libsoup/buildlink3.mk"
CONFIGURE_ARGS+= --enable-libsoup
PLIST.soup= yes
.else
CONFIGURE_ARGS+= --disable-libsoup
.endif