summaryrefslogtreecommitdiff
path: root/print/img2eps
diff options
context:
space:
mode:
authordillo <dillo@pkgsrc.org>2005-07-14 14:52:08 +0000
committerdillo <dillo@pkgsrc.org>2005-07-14 14:52:08 +0000
commit1765ea861f9945f1eea5c711d92035177752ecfd (patch)
tree96c71d4023ff656337f731b87813105f909618ae /print/img2eps
parent5b904483c2dcddea868274d47674a47a6b0c5157 (diff)
downloadpkgsrc-1765ea861f9945f1eea5c711d92035177752ecfd.tar.gz
update img2eps to 0.2:
* support for specifying resolution, size, orientation, and placement of image * support for JPEG 2000 image format * options to force recompression of image data and to ignore pixel order * support for EXIF Orientation tag (auto-rotate images) * fix handling of interlaced GIF images * LZW compression no longer optional (patent expired)
Diffstat (limited to 'print/img2eps')
-rw-r--r--print/img2eps/Makefile10
-rw-r--r--print/img2eps/distinfo8
-rw-r--r--print/img2eps/options.mk14
3 files changed, 24 insertions, 8 deletions
diff --git a/print/img2eps/Makefile b/print/img2eps/Makefile
index ee522e221db..c5528d09558 100644
--- a/print/img2eps/Makefile
+++ b/print/img2eps/Makefile
@@ -1,21 +1,23 @@
-# $NetBSD: Makefile,v 1.9 2005/04/11 21:47:08 tv Exp $
+# $NetBSD: Makefile,v 1.10 2005/07/14 14:52:08 dillo Exp $
#
-DISTNAME= img2eps-0.1
-PKGREVISION= 3
+DISTNAME= img2eps-0.2
CATEGORIES= print graphics
MASTER_SITES= http://www.nih.at/img2eps/
MASTER_SITES+= http://eris.giga.or.at/pub/nih/img2eps/
MASTER_SITES+= http://sunsite.univie.ac.at/pub/nih/img2eps/
-MAINTAINER= dillo@giga.or.at
+MAINTAINER= dillo@NetBSD.org
HOMEPAGE= http://www.nih.at/img2eps/
COMMENT= Convert raster images to EPS files
GNU_CONFIGURE= YES
TEST_TARGET= check
+.include "options.mk"
+
.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/libexif/buildlink3.mk"
.include "../../graphics/libungif/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
diff --git a/print/img2eps/distinfo b/print/img2eps/distinfo
index 13d0f3a6602..e875cdd181e 100644
--- a/print/img2eps/distinfo
+++ b/print/img2eps/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 12:51:43 agc Exp $
+$NetBSD: distinfo,v 1.3 2005/07/14 14:52:08 dillo Exp $
-SHA1 (img2eps-0.1.tar.gz) = 0fb06950f424babc6ef7e81c34667d6bf490d4ed
-RMD160 (img2eps-0.1.tar.gz) = c3cc359b99af84502a8ffb8bd6274763352abf67
-Size (img2eps-0.1.tar.gz) = 360320 bytes
+SHA1 (img2eps-0.2.tar.gz) = 0b62efba9ffdf1b9420e29ea9de928e5e8d9abaf
+RMD160 (img2eps-0.2.tar.gz) = 5113a3cd22bcc2ae1562a45bfdd21c2ef0151e70
+Size (img2eps-0.2.tar.gz) = 404286 bytes
diff --git a/print/img2eps/options.mk b/print/img2eps/options.mk
new file mode 100644
index 00000000000..843363ed1f1
--- /dev/null
+++ b/print/img2eps/options.mk
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2005/07/14 14:52:08 dillo Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.img2eps
+PKG_SUPPORTED_OPTIONS= jasper
+PKG_SUGGESTED_OPTIONS=
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mjasper)
+CONFIGURE_ARGS+= --with-jpeg2000
+.include "../../graphics/jasper/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-jpeg2000
+.endif