aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2005-09-26 21:55:15 +0800
committergarga <garga@FreeBSD.org>2005-09-26 21:55:15 +0800
commita0547b418471fbd1728ab6095f70a33745b6a235 (patch)
tree32b37fb7402b96f5dc5fe39091aeb3ad773f1ffa
parentd672e31e86272d43d673eca590aad01b826dbf09 (diff)
downloadfreebsd-ports-graphics-a0547b418471fbd1728ab6095f70a33745b6a235.tar.gz
freebsd-ports-graphics-a0547b418471fbd1728ab6095f70a33745b6a235.tar.zst
freebsd-ports-graphics-a0547b418471fbd1728ab6095f70a33745b6a235.zip
Add recoverjpeg 1.1.1, recoverjpeg tries to recover JFIF (JPEG) pictures
from a peripheral. PR: ports/86561 Submitted by: Emanuel Haupt <ehaupt@critical.ch>
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/recoverjpeg/Makefile47
-rw-r--r--graphics/recoverjpeg/distinfo2
-rw-r--r--graphics/recoverjpeg/pkg-descr5
4 files changed, 55 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index f273c3685df..139e8e42e37 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -488,6 +488,7 @@
SUBDIR += ray++
SUBDIR += rayshade
SUBDIR += reallyslick
+ SUBDIR += recoverjpeg
SUBDIR += renderpark
SUBDIR += robot
SUBDIR += ruby-gd
diff --git a/graphics/recoverjpeg/Makefile b/graphics/recoverjpeg/Makefile
new file mode 100644
index 00000000000..88cb830e65a
--- /dev/null
+++ b/graphics/recoverjpeg/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: recoverjpeg
+# Date created: 25 Sep 2005
+# Whom: Emanuel Haupt <ehaupt@critical.ch>
+#
+# $FreeBSD$
+#
+
+PORTNAME= recoverjpeg
+PORTVERSION= 1.1.1
+CATEGORIES= graphics
+MASTER_SITES= http://www.rfc1149.net/download/recoverjpeg/
+
+MAINTAINER= ehaupt@critical.ch
+COMMENT= Recoverjpeg tries to recover JFIF (JPEG) pictures from a peripheral
+
+GNU_CONFIGURE= yes
+MANCOMPRESSED= no
+
+# recoverjpeg scripts require many dependencies
+OPTIONS= SCRIPTS "Install sort-pictures and remove-duplicates scripts" on
+
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+
+PLIST_FILES= bin/recoverjpeg
+MAN1= recoverjpeg.1
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_SCRIPTS)
+RUN_DEPENDS= exif:${PORTSDIR}/graphics/exif \
+ identify:${PORTSDIR}/graphics/ImageMagick
+PLIST_FILES+= bin/sort-pictures bin/remove-duplicates
+MAN1+= sort-pictures.1
+.endif
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+.if !defined(WITHOUT_SCRIPTS)
+.for f in sort-pictures remove-duplicates
+ ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin
+.endfor
+.endif
+.for f in ${MAN1}
+ ${INSTALL_MAN} ${WRKSRC}/${f} ${MANPREFIX}/man/man1
+.endfor
+
+.include <bsd.port.post.mk>
diff --git a/graphics/recoverjpeg/distinfo b/graphics/recoverjpeg/distinfo
new file mode 100644
index 00000000000..38991084beb
--- /dev/null
+++ b/graphics/recoverjpeg/distinfo
@@ -0,0 +1,2 @@
+MD5 (recoverjpeg-1.1.1.tar.gz) = ff407f7f1bc900bfb043c7c72cc69173
+SIZE (recoverjpeg-1.1.1.tar.gz) = 68911
diff --git a/graphics/recoverjpeg/pkg-descr b/graphics/recoverjpeg/pkg-descr
new file mode 100644
index 00000000000..b0f6ed9708f
--- /dev/null
+++ b/graphics/recoverjpeg/pkg-descr
@@ -0,0 +1,5 @@
+Recoverjpeg tries to recover JFIF (JPEG) pictures from a peripheral. This may
+be useful if you mistakenly overwrite a partition or if a device such as a
+digital camera memory card is bogus.
+
+WWW: http://www.rfc1149.net/devel/recoverjpeg