aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/recoverjpeg/Makefile37
-rw-r--r--graphics/recoverjpeg/distinfo5
2 files changed, 13 insertions, 29 deletions
diff --git a/graphics/recoverjpeg/Makefile b/graphics/recoverjpeg/Makefile
index ceaedf150566..4dca032b00aa 100644
--- a/graphics/recoverjpeg/Makefile
+++ b/graphics/recoverjpeg/Makefile
@@ -2,42 +2,25 @@
# $FreeBSD$
PORTNAME= recoverjpeg
-PORTVERSION= 2.2
+PORTVERSION= 2.6
+DISTVERSIONPREFIX= v
CATEGORIES= graphics
-MASTER_SITES= LOCAL/ehaupt
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Recoverjpeg tries to recover JFIF (JPEG) pictures from a peripheral
LICENSE= GPLv2
-GNU_CONFIGURE= yes
-
-MANPAGE1= recoverjpeg.1
-PLIST_FILES= bin/recoverjpeg man/man1/recoverjpeg.1.gz
+BUILD_DEPENDS= ${LOCALBASE}/bin/pandoc:textproc/hs-pandoc
+RUN_DEPENDS= exif:graphics/exif \
+ identify:graphics/ImageMagick
-# recoverjpeg scripts require many dependencies
-OPTIONS_DEFINE= SSCRIPTS
-SSCRIPTS_DESC= Install sort-pictures script
+USES= autoreconf shebangfix
+GNU_CONFIGURE= yes
-.include <bsd.port.options.mk>
+SHEBANG_FILES= remove-duplicates
-.if ${PORT_OPTIONS:MSSCRIPTS}
-RUN_DEPENDS= exif:graphics/exif \
- identify:graphics/ImageMagick
-PLIST_FILES+= bin/sort-pictures man/man1/sort-pictures.1.gz
-MANPAGE1+= sort-pictures.1
-.endif
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
-.if ${PORT_OPTIONS:MSSCRIPTS}
-.for f in sort-pictures
- ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
-.endfor
-.endif
-.for f in ${MANPAGE1}
- ${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${MANPREFIX}/man/man1
-.endfor
+USE_GITHUB= yes
+GH_ACCOUNT= samueltardieu
.include <bsd.port.mk>
diff --git a/graphics/recoverjpeg/distinfo b/graphics/recoverjpeg/distinfo
index 9ed9380b2a91..5ca57f56edf2 100644
--- a/graphics/recoverjpeg/distinfo
+++ b/graphics/recoverjpeg/distinfo
@@ -1,2 +1,3 @@
-SHA256 (recoverjpeg-2.2.tar.gz) = 07e6b7128972b4bafed472f3f8f619a40aff84d4cb16c66e0f934222f429bdac
-SIZE (recoverjpeg-2.2.tar.gz) = 87936
+TIMESTAMP = 1475429661
+SHA256 (samueltardieu-recoverjpeg-v2.6_GH0.tar.gz) = ed4c9f59cbeebd891ef4c09d7274176b3590143b28379a441eb6b8a94d55c52c
+SIZE (samueltardieu-recoverjpeg-v2.6_GH0.tar.gz) = 17134