aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/jbigkit/Makefile5
-rw-r--r--graphics/jbigkit/distinfo2
-rw-r--r--graphics/jbigkit/files/patch-aa4
-rw-r--r--graphics/jbigkit/files/patch-ab4
-rw-r--r--graphics/jbigkit/pkg-comment2
-rw-r--r--graphics/jbigkit/pkg-descr36
6 files changed, 27 insertions, 26 deletions
diff --git a/graphics/jbigkit/Makefile b/graphics/jbigkit/Makefile
index e08f7dc7c2d3..c1e24dca5560 100644
--- a/graphics/jbigkit/Makefile
+++ b/graphics/jbigkit/Makefile
@@ -6,7 +6,7 @@
# $FreeBSD$
#
-DISTNAME= jbigkit-1.0
+DISTNAME= jbigkit-1.1
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.informatik.uni-erlangen.de/pub/doc/ISO/JBIG/
@@ -23,4 +23,7 @@ post-install:
.endif
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
+test: build
+ cd ${WRKSRC} && env LD_LIBRARY_PATH=${WRKSRC}/libjbig ${MAKE} test
+
.include <bsd.port.mk>
diff --git a/graphics/jbigkit/distinfo b/graphics/jbigkit/distinfo
index d860bbe70684..cd2b912b6bd7 100644
--- a/graphics/jbigkit/distinfo
+++ b/graphics/jbigkit/distinfo
@@ -1 +1 @@
-MD5 (jbigkit-1.0.tar.gz) = 97676df72cd5a1f4b589c28cccf58162
+MD5 (jbigkit-1.1.tar.gz) = 92dd8236874d23c2cd96d0446e88d00a
diff --git a/graphics/jbigkit/files/patch-aa b/graphics/jbigkit/files/patch-aa
index 0801119458e5..4f9d59a5a3fb 100644
--- a/graphics/jbigkit/files/patch-aa
+++ b/graphics/jbigkit/files/patch-aa
@@ -38,6 +38,6 @@
+ install -c -m 644 -o bin -g bin libjbig/libjbig.so.1 ${PREFIX}/lib
+ (cd ${PREFIX}/lib; ln -sf libjbig.so.1 libjbig.so)
+.else
-+ install -c -m 644 -o bin -g bin libjbig/libjbig.so.1.0 ${PREFIX}/lib
-+ (cd ${PREFIX}/lib; ln -sf libjbig.so.1.0 libjbig.so)
++ install -c -m 644 -o bin -g bin libjbig/libjbig.so.1.1 ${PREFIX}/lib
++ (cd ${PREFIX}/lib; ln -sf libjbig.so.1.1 libjbig.so)
+.endif
diff --git a/graphics/jbigkit/files/patch-ab b/graphics/jbigkit/files/patch-ab
index 75409fb63ca8..4f5889f3085f 100644
--- a/graphics/jbigkit/files/patch-ab
+++ b/graphics/jbigkit/files/patch-ab
@@ -12,7 +12,7 @@
+.if ${PORTOBJFORMAT} == elf
+SOJBIGLIB=libjbig.so.1
+.else
-+SOJBIGLIB=libjbig.so.1.0
++SOJBIGLIB=libjbig.so.1.1
+.endif
+
+all: libjbig.a $(SOJBIGLIB)
@@ -45,4 +45,4 @@
clean:
- rm -f *.o *~ core gmon.out dbg_d\=??.pbm tstcodec
-+ rm -f *.o *~ core gmon.out dbg_d\=??.pbm tstcodec *.so libjbig.so.1 libjbig.so.1.0 libjbig.a
++ rm -f *.o *~ core gmon.out dbg_d\=??.pbm tstcodec *.so libjbig.so.1 libjbig.so.1.1 libjbig.a
diff --git a/graphics/jbigkit/pkg-comment b/graphics/jbigkit/pkg-comment
index e171fff8eb44..e3404664397c 100644
--- a/graphics/jbigkit/pkg-comment
+++ b/graphics/jbigkit/pkg-comment
@@ -1 +1 @@
-A lossless image compression library
+Lossless compression for bi-level images such as scanned pages, faxes
diff --git a/graphics/jbigkit/pkg-descr b/graphics/jbigkit/pkg-descr
index 2fd920bc1d81..83ce745e1563 100644
--- a/graphics/jbigkit/pkg-descr
+++ b/graphics/jbigkit/pkg-descr
@@ -1,26 +1,24 @@
-JBIG-KIT implements a highly effective data compression algorithm for
-bi-level high-resolution images such as fax pages or scanned
-documents.
+JBIG-KIT implements a highly effective data compression algorithm for
+bi-level high-resolution images such as fax pages or scanned documents.
-JBIG-KIT provides a portable library of compression and decompression
-functions with a documented interface that you can very easily include
-into your image or document processing software. In addition, JBIG-KIT
-provides ready-to-use compression and decompression programs with a
-simple command line interface (similar to the converters found in Jef
-Poskanzer's PBM graphics file conversion package).
+This is a portable library of compression and decompression functions
+with a documented interface that can be included into your image or
+document processing software. Also provided are ready-to-use compression
+and decompression programs with a simple command line interface (similar
+to the converters found in Jef Poskanzer's PBM conversion package).
JBIG-KIT implements the specification
- International Standard ISO/IEC 11544:1993 and ITU-T Recommendation
- T.82(1993), "Information technology - Coded representation of picture
- and audio information - progressive bi-level image compression",
+ International Standard ISO/IEC 11544:1993 and ITU-T Recommendation
+ T.82(1993), "Information technology - Coded representation of picture
+ and audio information - progressive bi-level image compression",
<http://www.itu.ch/itudoc/itu-t/rec/t/t82_23822.html>,
-which is commonly referred to as the "JBIG standard". JBIG (Joint
-Bi-level Image experts Group) is the committee which developed this
-international standard for the lossless compression of images using
-arithmetic coding. Like the well-known compression algorithms JPEG and
-MPEG, also JBIG has been developed and published by the International
-Organization for Standardization (ISO) and the International
-Telecommunication Union (ITU) (see also <http://www.iso.ch/> and
+which is commonly referred to as the "JBIG standard". JBIG (Joint
+Bi-level Image experts Group) is the committee which developed this
+international standard for the lossless compression of images using
+arithmetic coding. Like the well-known compression algorithms JPEG and
+MPEG, also JBIG has been developed and published by the International
+Organization for Standardization (ISO) and the International
+Telecommunication Union (ITU) (see also <http://www.iso.ch/> and
<http://www.itu.ch/>).