pkgsrc/graphics/jp2a/options.mk
ng0 f014f7c9c4 jp2a: Import jp2a-1.0.7 as graphics/jp2a
jp2a is a small utility that converts JPG images to ASCII.
It is written in C and released under the GPLv2.

import from pkgsrc-wip packaged by esg@sdf.lonestar.org
2019-12-29 21:31:34 +00:00

21 lines
497 B
Makefile

# $NetBSD: options.mk,v 1.1 2019/12/29 21:31:34 ng0 Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.jp2a
PKG_SUPPORTED_OPTIONS= curl curses
PKG_SUGGESTED_OPTIONS= curses
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mcurl)
CONFIGURE_ARGS+= --enable-curl
.include "../../www/curl/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-curl
.endif
.if !empty(PKG_OPTIONS:Mcurses)
.include "../../mk/curses.buildlink3.mk"
CONFIGURE_ARGS+= --enable-termlib
.else
CONFIGURE_ARGS+= --disable-termlib
.endif