aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/jbig2dec
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-12-31 19:55:52 +0800
committerbapt <bapt@FreeBSD.org>2012-12-31 19:55:52 +0800
commit033eb6313bb7b7035d49a350f319de6e6c7bfb60 (patch)
tree8bb11ef6b8ed33f4162b6914fc193d475526183b /graphics/jbig2dec
parentd3d99b4e3c64a88d47ac9d32929a8e04bafb121d (diff)
downloadfreebsd-ports-gnome-033eb6313bb7b7035d49a350f319de6e6c7bfb60.tar.gz
freebsd-ports-gnome-033eb6313bb7b7035d49a350f319de6e6c7bfb60.tar.zst
freebsd-ports-gnome-033eb6313bb7b7035d49a350f319de6e6c7bfb60.zip
Finish optionsng conversion
Trim headers Remove useless LICENSE_FILE
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/