summaryrefslogtreecommitdiff
path: root/graphics/jpegoptim
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-03 12:06:30 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-03 12:06:30 +0000
commitcab1565c5f86ba596bcee7e845076e643a651ad8 (patch)
treec579f2d04d6f7b6834d7db88c27bd5c5a9b4d11c /graphics/jpegoptim
parent- Add 2 new mirros (Germany and Poland) (diff)
New port: jpegoptim is an command-line jpeg compressor which supports
lossy and lossless optimisations. new port for the jpegoptim program, permits stripping comments of jpeg files, can do lossless optimisations as lossy ones. powerfull for scripting and batch recompressions. PR: ports/47545 Submitted by: User & <fab@gcu.info>
Diffstat (limited to 'graphics/jpegoptim')
-rw-r--r--graphics/jpegoptim/Makefile23
-rw-r--r--graphics/jpegoptim/distinfo1
-rw-r--r--graphics/jpegoptim/files/patch-Makefile.in11
-rw-r--r--graphics/jpegoptim/pkg-descr5
-rw-r--r--graphics/jpegoptim/pkg-plist1
5 files changed, 41 insertions, 0 deletions
diff --git a/graphics/jpegoptim/Makefile b/graphics/jpegoptim/Makefile
new file mode 100644
index 000000000000..4f8e080ed52c
--- /dev/null
+++ b/graphics/jpegoptim/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: DirectFB
+# Date created: 24 January 2003
+# Whom: Devaux Fabien <fab@gcu.info>
+#
+# $FreeBSD$
+#
+
+PORTNAME= jpegoptim
+PORTVERSION= 1.2.2
+CATEGORIES= graphics
+MASTER_SITES= http://www.cc.jyu.fi/~tjko/src/
+
+MAINTAINER= fab@gcu.info
+COMMENT= An utility to optimize jpeg files
+
+LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--with-libjpeg=${LOCALBASE}
+
+MAN1= jpegoptim.1
+
+.include <bsd.port.mk>
diff --git a/graphics/jpegoptim/distinfo b/graphics/jpegoptim/distinfo
new file mode 100644
index 000000000000..45e749353c3a
--- /dev/null
+++ b/graphics/jpegoptim/distinfo
@@ -0,0 +1 @@
+MD5 (jpegoptim-1.2.2.tar.gz) = c7e92417badac7dcffab4245c113871c
diff --git a/graphics/jpegoptim/files/patch-Makefile.in b/graphics/jpegoptim/files/patch-Makefile.in
new file mode 100644
index 000000000000..ed50ff9a8b29
--- /dev/null
+++ b/graphics/jpegoptim/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Fri Oct 3 05:03:55 2003
++++ Makefile.in Fri Oct 3 05:05:14 2003
+@@ -26,7 +26,7 @@
+ infodir = $(prefix)/share/info
+
+ # Where to put the manual pages.
+-mandir = $(prefix)/share/man
++mandir = $(prefix)/man
+
+
+
diff --git a/graphics/jpegoptim/pkg-descr b/graphics/jpegoptim/pkg-descr
new file mode 100644
index 000000000000..c91401eb9518
--- /dev/null
+++ b/graphics/jpegoptim/pkg-descr
@@ -0,0 +1,5 @@
+Jpegoptim is an utility to optimize jpeg files.
+Provides:
+ * lossless optimization
+ * lossy optimization based on setting maximum quality factor
+ * selective strip of comments and Exif markers
diff --git a/graphics/jpegoptim/pkg-plist b/graphics/jpegoptim/pkg-plist
new file mode 100644
index 000000000000..4ed4a1357048
--- /dev/null
+++ b/graphics/jpegoptim/pkg-plist
@@ -0,0 +1 @@
+bin/jpegoptim