summaryrefslogtreecommitdiff
path: root/graphics/jbig2dec/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/jbig2dec/Makefile')
-rw-r--r--graphics/jbig2dec/Makefile22
1 files changed, 17 insertions, 5 deletions
diff --git a/graphics/jbig2dec/Makefile b/graphics/jbig2dec/Makefile
index 061d1e2c420..6af8a3bcb19 100644
--- a/graphics/jbig2dec/Makefile
+++ b/graphics/jbig2dec/Makefile
@@ -1,15 +1,27 @@
-# $NetBSD: Makefile,v 1.9 2017/11/23 15:24:55 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2018/10/12 10:25:51 leot Exp $
-DISTNAME= jbig2dec-0.14
+DISTNAME= jbig2dec-0.15
CATEGORIES= graphics
-MASTER_SITES= http://downloads.ghostscript.com/public/jbig2dec/
+MASTER_SITES= ${MASTER_SITE_GITHUB:=ArtifexSoftware/}
+GITHUB_TAG= ${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.ghostscript.com/jbig2dec.html
COMMENT= JBIG2 decoder library
LICENSE= gnu-gpl-v3
-USE_LIBTOOL= yes
-GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= autoreconf autoconf automake
+GNU_CONFIGURE= yes
+PYTHON_FOR_BUILD_ONLY= test
+
+TEST_TARGET= check
+
+REPLACE_PYTHON+= test_jbig2dec.py
+
+pre-configure:
+ ${RUN} cd ${WRKSRC} && ${SH} ./autogen.sh
+
+.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"