diff options
Diffstat (limited to 'net/vnstat/options.mk')
-rw-r--r-- | net/vnstat/options.mk | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net/vnstat/options.mk b/net/vnstat/options.mk new file mode 100644 index 00000000000..ff01ef35a92 --- /dev/null +++ b/net/vnstat/options.mk @@ -0,0 +1,19 @@ +# $NetBSD: options.mk,v 1.1.1.1 2009/11/19 15:48:19 sborrill Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.vnstat +PKG_SUPPORTED_OPTIONS= gd +PKG_SUGGESTED_OPTIONS= gd + +.include "../../mk/bsd.options.mk" + +PLIST_VARS= gd +### +### Add support for image output +### +.if !empty(PKG_OPTIONS:Mgd) +BUILD_TARGET= all +PLIST.gd= yes +.include "../../graphics/gd/buildlink3.mk" +.else +BUILD_TARGET= +.endif |