aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/jbig2dec/Makefile8
-rw-r--r--graphics/jbig2dec/pkg-descr2
2 files changed, 2 insertions, 8 deletions
diff --git a/graphics/jbig2dec/Makefile b/graphics/jbig2dec/Makefile
index 6a7ca7b62dea..cbb35ee2e2f6 100644
--- a/graphics/jbig2dec/Makefile
+++ b/graphics/jbig2dec/Makefile
@@ -1,9 +1,4 @@
-# New ports collection makefile for: jbig2dec
-# Date created: 2010-07-07
-# Whom: Bapt <baptiste.daroussin@gmail.com>
-#
# $FreeBSD$
-#
PORTNAME= jbig2dec
PORTVERSION= 0.11
@@ -32,7 +27,6 @@ MAKE_JOBS_SAFE= yes
EXTRACT_AFTER_ARGS+=|${TAR} -xpf - --exclude sha1.h --exclude 'getopt*'
LICENSE= GPLv3
-LICENSE_FILE= ${WRKSRC}/COPYING
.include <bsd.port.options.mk>
@@ -58,7 +52,7 @@ EXTRA_PATCHES= ${FILESDIR}/simpler-test-patch
.endif
post-patch:
-.if defined(WITH_PNG)
+.if ${PORT_OPTIONS:MPNG}
@${REINPLACE_CMD} 's/png_check_sig/png_sig_cmp/g' ${WRKSRC}/configure
.endif
${REINPLACE_CMD} -E 's|SHA1_Final\( *([^,]+), *([^\)]+)\)|SHA1_Final(\2, \1)|' \
diff --git a/graphics/jbig2dec/pkg-descr b/graphics/jbig2dec/pkg-descr
index 42aaf2afd6f8..c1f0a65a4869 100644
--- a/graphics/jbig2dec/pkg-descr
+++ b/graphics/jbig2dec/pkg-descr
@@ -4,4 +4,4 @@ images at moderately high resolution, and in particular scanned paper documents.
In this domain it is very efficient, offering compression ratios on the order of
100:1.
-WWW: http://jbig2dec.sourceforge.net/
+WWW: http://jbig2dec.sourceforge.net/