aboutsummaryrefslogtreecommitdiff
path: root/graphics/jbig2dec
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-12-31 11:55:52 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-12-31 11:55:52 +0000
commitad93895ca3cba00a30dc3b7cdb960037b129baef (patch)
tree8bb11ef6b8ed33f4162b6914fc193d475526183b /graphics/jbig2dec
parent1f30397d4f9826b9d40df7d42ade0a0845889024 (diff)
downloadports-ad93895ca3cba00a30dc3b7cdb960037b129baef.tar.gz
ports-ad93895ca3cba00a30dc3b7cdb960037b129baef.zip
Notes
Diffstat (limited to 'graphics/jbig2dec')
-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/