# $NetBSD: Makefile,v 1.32 2020/08/31 18:10:29 wiz Exp $ # PKGREVISION= 3 .include "Makefile.common" PKGNAME= ${DISTNAME:S/_/./g} CATEGORIES= multimedia MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.libming.org/ COMMENT= SWF output library LICENSE= gnu-lgpl-v2.1 AND gnu-gpl-v2 # broken dependencies between bison/flex files MAKE_JOBS_SAFE= no GNU_CONFIGURE= yes USE_TOOLS+= pkg-config bison flex USE_TOOLS+= aclocal autoconf automake autoheader USE_LANGUAGES= c c++ USE_LIBTOOL= yes CONFIGURE_ARGS+= --disable-python CONFIGURE_ARGS+= --disable-perl CONFIGURE_ARGS+= --disable-php CONFIGURE_ARGS+= --disable-tcl PKGCONFIG_OVERRIDE+= src/libming.pc.in .include "../../mk/bsd.prefs.mk" .if defined(PKGSRC_RUN_TEST) && !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss]) # Test require perl USE_TOOLS+= perl TEST_TARGET= check .endif # XXX: "man" is not in SUBDIRS of "docs" INSTALL_DIRS= . docs/man pre-configure: cd ${WRKSRC}; sh ./autogen.sh .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/freetype2/buildlink3.mk" .include "../../graphics/giflib/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" .include "../../mk/bsd.pkg.mk"