pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/nanotodon



Module Name:    pkgsrc
Committed By:   tsutsui
Date:           Sun Jul 21 12:07:40 UTC 2024

Added Files:
        pkgsrc/net/nanotodon: options.mk

Log Message:
nanotodon: add a missed options.mk in previous.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/nanotodon/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/net/nanotodon/options.mk
diff -u /dev/null pkgsrc/net/nanotodon/options.mk:1.1
--- /dev/null   Sun Jul 21 12:07:40 2024
+++ pkgsrc/net/nanotodon/options.mk     Sun Jul 21 12:07:40 2024
@@ -0,0 +1,17 @@
+# $NetBSD: options.mk,v 1.1 2024/07/21 12:07:40 tsutsui Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.nanotodon
+PKG_SUPPORTED_OPTIONS= libwebp sixel
+PKG_SUGGESTED_OPTIONS=
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mlibwebp)
+.include "../../graphics/libwebp/buildlink3.mk"
+CFLAGS+=       -DUSE_WEBP
+MAKE_ENV+=     LDLIBS=-lwebp
+.endif
+
+.if !empty(PKG_OPTIONS:Msixel)
+CFLAGS+=       -DUSE_SIXEL
+.endif



Home | Main Index | Thread Index | Old Index