aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-01-24 02:44:08 +0800
committerpav <pav@FreeBSD.org>2005-01-24 02:44:08 +0800
commitffeedbed6b0e10248927888ebe17100fd5281790 (patch)
tree589724e9f645b5aa1fdc417a526892a17b5fd483
parentae44dcf5a5eed5f0c8aab48b39e4fee51f7c55f1 (diff)
downloadfreebsd-ports-gnome-ffeedbed6b0e10248927888ebe17100fd5281790.tar.gz
freebsd-ports-gnome-ffeedbed6b0e10248927888ebe17100fd5281790.tar.zst
freebsd-ports-gnome-ffeedbed6b0e10248927888ebe17100fd5281790.zip
jpeg2pdf: converts a directory of JPEG (JPG) files to a PDF file
* jpeg2pdf is fast. Unlike ImageMagick or other general image conversion tools, jpeg2pdf is specialized for its task an does this very efficiently. * jpeg2pdf generates compact PDF files. Unlike general image conversion tools, jpeg2pdf doesn't do any processing/rescaling of the images, nor does it generate thumbnails of the pages in the PDF file. * jpeg2pdf is a command-line program. So it can very easily be integrated in a shell script or a web server process to automate a conversion task. PR: ports/76562 Submitted by: <ports@c0decafe.net>
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/jpeg2pdf/Makefile25
-rw-r--r--graphics/jpeg2pdf/distinfo2
-rw-r--r--graphics/jpeg2pdf/pkg-descr12
-rw-r--r--graphics/jpeg2pdf/pkg-plist26
5 files changed, 66 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index d8b42bcac0c8..dbc280f857d4 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -201,6 +201,7 @@
SUBDIR += jpatch
SUBDIR += jpeg
SUBDIR += jpeg-mmx
+ SUBDIR += jpeg2pdf
SUBDIR += jpeg2ps-a4
SUBDIR += jpeg2ps-letter
SUBDIR += jpeginfo
diff --git a/graphics/jpeg2pdf/Makefile b/graphics/jpeg2pdf/Makefile
new file mode 100644
index 000000000000..dbb8bb0f5e79
--- /dev/null
+++ b/graphics/jpeg2pdf/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: jpeg2pdf
+# Date created: 2005-01-22
+# Whom: <ports@c0decafe.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= jpeg2pdf
+PORTVERSION= 0.12
+CATEGORIES= graphics converters
+MASTER_SITES= http://koan.studentenweb.org/software/
+
+MAINTAINER= ports@c0decafe.net
+COMMENT= Converts a directory of JPEG (JPG) files to a PDF file
+
+USE_BZIP2= yes
+USE_RUBY= yes
+USE_RUBY_SETUP= yes
+RUBY_SETUP= install.rb
+CONFIGURE_ARGS= --prefix=${PREFIX}
+
+pre-install:
+ @${RM} ${WRKSRC}/bin/test.rb
+
+.include <bsd.port.mk>
diff --git a/graphics/jpeg2pdf/distinfo b/graphics/jpeg2pdf/distinfo
new file mode 100644
index 000000000000..9c4479acfccd
--- /dev/null
+++ b/graphics/jpeg2pdf/distinfo
@@ -0,0 +1,2 @@
+MD5 (jpeg2pdf-0.12.tar.bz2) = 65e721d5e284f4e1089fc8c45a881750
+SIZE (jpeg2pdf-0.12.tar.bz2) = 19186
diff --git a/graphics/jpeg2pdf/pkg-descr b/graphics/jpeg2pdf/pkg-descr
new file mode 100644
index 000000000000..864a69122d78
--- /dev/null
+++ b/graphics/jpeg2pdf/pkg-descr
@@ -0,0 +1,12 @@
+jpeg2pdf has the following features:
+
+* jpeg2pdf is fast. Unlike ImageMagick or other general image conversion
+ tools, jpeg2pdf is specialized for its task an does this very efficiently.
+* jpeg2pdf generates compact PDF files. Unlike general image conversion
+ tools, jpeg2pdf doesn't do any processing/rescaling of the images, nor does
+ it generate thumbnails of the pages in the PDF file.
+* jpeg2pdf is a command-line program. So it can very easily be integrated in a
+ shell script or a web server process to automate a conversion task.
+
+Author: Koen Vervloesem <koen.vervloesem@myrealbox.com>
+WWW: http://koan.studentenweb.org/software/jpeg2pdf.html
diff --git a/graphics/jpeg2pdf/pkg-plist b/graphics/jpeg2pdf/pkg-plist
new file mode 100644
index 000000000000..795fad27790c
--- /dev/null
+++ b/graphics/jpeg2pdf/pkg-plist
@@ -0,0 +1,26 @@
+@comment $FreeBSD$
+bin/jpeg2pdf
+%%RUBY_SITELIBDIR%%/image_size.rb
+%%RUBY_SITELIBDIR%%/jpeg2pdf.rb
+%%RUBY_SITELIBDIR%%/rpdf.rb
+%%RUBY_SITELIBDIR%%/rpdf/crossreftable.rb
+%%RUBY_SITELIBDIR%%/rpdf/document.rb
+%%RUBY_SITELIBDIR%%/rpdf/documentcatalog.rb
+%%RUBY_SITELIBDIR%%/rpdf/imagedictionary.rb
+%%RUBY_SITELIBDIR%%/rpdf/page.rb
+%%RUBY_SITELIBDIR%%/rpdf/pagetree.rb
+%%RUBY_SITELIBDIR%%/rpdf/pdfarray.rb
+%%RUBY_SITELIBDIR%%/rpdf/pdfboolean.rb
+%%RUBY_SITELIBDIR%%/rpdf/pdfdictionary.rb
+%%RUBY_SITELIBDIR%%/rpdf/pdfinteger.rb
+%%RUBY_SITELIBDIR%%/rpdf/pdfname.rb
+%%RUBY_SITELIBDIR%%/rpdf/pdfnull.rb
+%%RUBY_SITELIBDIR%%/rpdf/pdfnumeric.rb
+%%RUBY_SITELIBDIR%%/rpdf/pdfobject.rb
+%%RUBY_SITELIBDIR%%/rpdf/pdfstream.rb
+%%RUBY_SITELIBDIR%%/rpdf/pdfstring.rb
+%%RUBY_SITELIBDIR%%/rpdf/rectangle.rb
+%%RUBY_SITELIBDIR%%/rpdf/trailer.rb
+%%RUBY_SITELIBDIR%%/rpdf/util.rb
+%%RUBY_SITELIBDIR%%/rpdf/version.rb
+@dirrm %%RUBY_SITELIBDIR%%/rpdf