From root@beacon.x12.dk  Sun Oct 30 08:19:57 2005
Return-Path: <root@beacon.x12.dk>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9C9CA16A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 30 Oct 2005 08:19:57 +0000 (GMT)
	(envelope-from root@beacon.x12.dk)
Received: from swip.net (mailfe03.swip.net [212.247.154.65])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 88E1843D46
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 30 Oct 2005 08:19:56 +0000 (GMT)
	(envelope-from root@beacon.x12.dk)
Received: from x12.dk ([83.72.97.237] verified)
  by mailfe03.swip.net (CommuniGate Pro SMTP 4.3.8)
  with ESMTP id 1150042 for FreeBSD-gnats-submit@freebsd.org; Sun, 30 Oct 2005 09:19:54 +0100
Received: from localhost (unknown [127.0.0.1])
	by x12.dk (Postfix) with ESMTP id 474EC50818
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 30 Oct 2005 09:19:53 +0100 (CET)
Received: from x12.dk ([127.0.0.1])
 by localhost (x12.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
 id 88109-01 for <FreeBSD-gnats-submit@freebsd.org>;
 Sun, 30 Oct 2005 09:18:27 +0100 (CET)
Received: from beacon.x12.dk (beacon.lan [10.40.61.30])
	by x12.dk (Postfix) with ESMTP
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 30 Oct 2005 09:18:27 +0100 (CET)
Received: by beacon.x12.dk (Postfix, from userid 0)
	id 8BE3544DB; Sun, 30 Oct 2005 09:18:27 +0100 (CET)
Message-Id: <20051030081827.8BE3544DB@beacon.x12.dk>
Date: Sun, 30 Oct 2005 09:18:27 +0100 (CET)
From: Soeren Straarup <xride@x12.dk>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [PATCH] graphics/jhead: update to 2.4
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         88219
>Category:       ports
>Synopsis:       [PATCH] graphics/jhead: update to 2.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jylefort
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 30 08:20:15 GMT 2005
>Closed-Date:    Sun Oct 30 09:50:09 GMT 2005
>Last-Modified:  Sun Oct 30 09:50:09 GMT 2005
>Originator:     Soeren Straarup
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD beacon.x12.dk 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Tue Sep  6 13:55:41 CEST
>Description:
- Update to 2.4

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- jhead-2.4.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/jhead/Makefile /space/portstrees/FreeBSD/ports/graphics/jhead/Makefile
--- /usr/ports/graphics/jhead/Makefile	Fri Apr 15 11:39:01 2005
+++ /space/portstrees/FreeBSD/ports/graphics/jhead/Makefile	Sun Oct 30 09:10:54 2005
@@ -6,22 +6,25 @@
 #
 
 PORTNAME=	jhead
-PORTVERSION=	2.3
+PORTVERSION=	2.4
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.sentex.net/~mwandel/jhead/
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Exif Jpeg camera setting parser and thumbnail remover
+MAINTAINER=	xride@x12.dk
+COMMENT=	Exif Jpeg camera setting parser,rotator and much more
 
 PORTDOCS=	usage.html
 PLIST_FILES=	bin/jhead
+MAN1=	jhead.1
+RUN_DEPENDS=	jpegtran:${PORTSDIR}/graphics/jpeg
 
-do-build:
-	cd ${WRKSRC} && ${CC} ${CFLAGS} exif.c jhead.c jpgfile.c makernote.c \
-		-o jhead -lm
+do-patch:
+	${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile
+	cd ${WRKSRC} && ${GUNZIP_CMD} jhead.1.gz
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/jhead ${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/jhead.1 ${PREFIX}/man/man1
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/usage.html ${DOCSDIR}
diff -ruN --exclude=CVS /usr/ports/graphics/jhead/distinfo /space/portstrees/FreeBSD/ports/graphics/jhead/distinfo
--- /usr/ports/graphics/jhead/distinfo	Fri Apr 15 11:39:01 2005
+++ /space/portstrees/FreeBSD/ports/graphics/jhead/distinfo	Sun Oct 30 08:16:39 2005
@@ -1,2 +1,2 @@
-MD5 (jhead-2.3.tar.gz) = b27c37f1edd25e5f416914ed46ba11fb
-SIZE (jhead-2.3.tar.gz) = 49176
+MD5 (jhead-2.4.tar.gz) = 410d01fd323ce8733480816de3621cc0
+SIZE (jhead-2.4.tar.gz) = 52289
--- jhead-2.4.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->jylefort 
Responsible-Changed-By: jylefort 
Responsible-Changed-When: Sun Oct 30 09:12:16 GMT 2005 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=88219 
State-Changed-From-To: open->closed 
State-Changed-By: jylefort 
State-Changed-When: Sun Oct 30 09:49:58 GMT 2005 
State-Changed-Why:  
Committed with a few modifications, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=88219 
>Unformatted:
