freebsd-ports/graphics/libmypaint/Makefile
Koop Mast 4f6a398aa7 Fix the build for when NLS is deselected.
Disable both nls and i18n support. NLS only disabled gettext support, but
intltool still needs gettext to work. Which resulted in the configure script
failing. Move the intltool requirement to the NLS option as a result.

PR:		232120
Reported by:	Trond.Endrestol@ximalas.info
2018-10-11 17:10:44 +00:00

32 lines
670 B
Makefile

# $FreeBSD$
PORTNAME= libmypaint
PORTVERSION= 1.3.0
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= https://github.com/mypaint/libmypaint/releases/download/v${PORTVERSION}/
MAINTAINER= kwm@FreeBSD.org
COMMENT= Brush library from the MyPaint project
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libjson-c.so:devel/json-c
USES= compiler:c11 gmake gnome libtool localbase pkgconfig tar:xz
USE_GNOME= glib20 introspection:build
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
TEST_TARGET= check
OPTIONS_SUB= yes
OPTIONS_DEFINE= NLS
NLS_USES= gettext
NLS_USE= GNOME=intltool
NLS_CONFIGURE_ENABLE= nls i18n
.include <bsd.port.mk>