ports/176560: graphics/jhead: Update to version 2.97

KATO Tsuguru tkato432 at yahoo.com
Thu Feb 28 18:10:12 UTC 2013


>Number:         176560
>Category:       ports
>Synopsis:       graphics/jhead: Update to version 2.97
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 28 18:10:11 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update to version 2.97

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/jhead/Makefile graphics/jhead/Makefile
--- /usr/ports/graphics/jhead/Makefile	2013-02-04 15:21:51.000000000 +0900
+++ graphics/jhead/Makefile	2013-02-09 21:30:23.000000000 +0900
@@ -2,7 +2,7 @@
 # $FreeBSD: head/graphics/jhead/Makefile 311539 2013-02-04 02:23:41Z miwi $
 
 PORTNAME=	jhead
-PORTVERSION=	2.96
+PORTVERSION=	2.97
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.sentex.net/~mwandel/jhead/
 
@@ -12,23 +12,23 @@
 RUN_DEPENDS=	jpegtran:${PORTSDIR}/graphics/jpeg
 
 MAKEFILE=	makefile
-
 MAKE_JOBS_SAFE=	yes
+
+MAN1=		jhead.1
 PORTDOCS=	usage.html
 PLIST_FILES=	bin/jhead
-MAN1=		jhead.1
 
 .include <bsd.port.options.mk>
 
 post-patch:
-	@${REINPLACE_CMD} -E '/^CFLAGS=/d' ${WRKSRC}/makefile
+	@${REINPLACE_CMD} -e 's|^CFLAGS|#CFLAGS|' ${WRKSRC}/makefile
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/jhead ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/jhead.1 ${PREFIX}/man/man1
+	(cd ${WRKSRC} && ${INSTALL_PROGRAM} jhead ${PREFIX}/bin)
+	(cd ${WRKSRC} && ${INSTALL_MAN} jhead.1 ${MANPREFIX}/man/man1)
 .if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/usage.html ${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} usage.html ${DOCSDIR})
 .endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/jhead/distinfo graphics/jhead/distinfo
--- /usr/ports/graphics/jhead/distinfo	2012-11-08 09:38:43.000000000 +0900
+++ graphics/jhead/distinfo	2013-02-09 15:54:42.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (jhead-2.96.tar.gz) = 9fadfe6ad285cac29f328eaa7bc646d7f713eef22a7e9a9fb5b098da0b7b37c4
-SIZE (jhead-2.96.tar.gz) = 66235
+SHA256 (jhead-2.97.tar.gz) = 04b55c5cd27882f631c2b25316803d8ac81c6d2408e6129ca47019c018324f17
+SIZE (jhead-2.97.tar.gz) = 68361
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list