aboutsummaryrefslogtreecommitdiff
path: root/graphics/recoverjpeg
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-09-26 13:55:15 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-09-26 13:55:15 +0000
commitf81d5c94f04bc19babe20fad62e8a7373707c88f (patch)
tree94d775dfbb1e90354d92090d220a07c22570cc47 /graphics/recoverjpeg
parentfee319edae8134b73249525e5ef888f4cbe7b030 (diff)
downloadports-f81d5c94f04bc19babe20fad62e8a7373707c88f.tar.gz
ports-f81d5c94f04bc19babe20fad62e8a7373707c88f.zip
Notes
Diffstat (limited to 'graphics/recoverjpeg')
-rw-r--r--graphics/recoverjpeg/Makefile47
-rw-r--r--graphics/recoverjpeg/distinfo2
-rw-r--r--graphics/recoverjpeg/pkg-descr5
3 files changed, 54 insertions, 0 deletions
diff --git a/graphics/recoverjpeg/Makefile b/graphics/recoverjpeg/Makefile
new file mode 100644
index 000000000000..88cb830e65a2
--- /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 000000000000..38991084beb0
--- /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 000000000000..b0f6ed9708f2
--- /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