diff --git a/graphics/jbig2dec/Makefile b/graphics/jbig2dec/Makefile index f8305de0f2c4..b8799880c57a 100644 --- a/graphics/jbig2dec/Makefile +++ b/graphics/jbig2dec/Makefile @@ -1,32 +1,35 @@ PORTNAME= jbig2dec PORTVERSION= 0.20 CATEGORIES= graphics devel MASTER_SITES= https://github.com/ArtifexSoftware/jbig2dec/releases/download/${PORTVERSION}/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Decoder implementation of the JBIG2 image compression format WWW= https://github.com/ArtifexSoftware/jbig2dec LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -USES= cpe libtool pathfix +USES= cpe libtool pathfix python:env,test shebangfix CONFIGURE_ENV= ac_cv_func_getopt_long=yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip LDFLAGS+= -lmd +TEST_TARGET= check USE_LDCONFIG= yes CPE_VENDOR= artifex +SHEBANG_FILES= *.py + OPTIONS_DEFINE= PNG OPTIONS_DEFAULT=PNG PNG_CONFIGURE_WITH= libpng=${LOCALBASE} PNG_LIB_DEPENDS= libpng.so:graphics/png post-patch: @${RM} ${WRKSRC}/getopt* ${WRKSRC}/sha1.h .include