Date: Mon, 07 May 2012 13:09:54 +0900 From: poyopoyo@puripuri.plala.or.jp To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/167669: [PATCH] graphics/libjpeg-turbo: update to 1.2.0 Message-ID: <86vck8zl65.wl%poyopoyo@puripuri.plala.or.jp> Resent-Message-ID: <201205070430.q474UBEw067752@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 167669 >Category: ports >Synopsis: [PATCH] graphics/libjpeg-turbo: update to 1.2.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon May 07 04:30:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Sato Kuro >Release: FreeBSD 10.0-CURRENT amd64 >Organization: personal >Environment: >Description: update to 1.2.0. - modify Makefile.in to install docs/examples into standard place. Without this they will go directly under share/doc/. I understand these paths are hard-coded so I have to surgerize Makefile.in. - builds and runs on not-so-CURRENT amd64. >How-To-Repeat: >Fix: diff -ur /usr/ports/graphics/libjpeg-turbo/Makefile ./Makefile --- /usr/ports/graphics/libjpeg-turbo/Makefile 2012-03-15 03:18:40.000000000 +0900 +++ ./Makefile 2012-05-06 08:41:12.783945936 +0900 @@ -7,8 +7,7 @@ # PORTNAME= libjpeg-turbo -PORTVERSION= 1.1.1 -PORTREVISION= 3 +PORTVERSION= 1.2.0 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} @@ -40,4 +39,16 @@ CONFIGURE_ARGS+=--with-pic .endif +MODARGS= -e 's,^(docdir = ).*,\1${DOCSDIR},' \ + -e 's,^(exampledir = ).*,\1${EXAMPLESDIR},' +.if defined(NOPORTDOCS) +MODARGS+= -e '/^install-data-am:/s/install-dist_docDATA //' +.endif +.if defined(NOPORTEXAMPLES) +MODARGS+= -e '/^install-data-am:/s/install-dist_exampleDATA //' +.endif + +post-patch: + ${REINPLACE_CMD} -E ${MODARGS} ${WRKSRC}/Makefile.in + .include <bsd.port.mk> diff -ur /usr/ports/graphics/libjpeg-turbo/distinfo ./distinfo --- /usr/ports/graphics/libjpeg-turbo/distinfo 2011-06-22 02:11:59.000000000 +0900 +++ ./distinfo 2012-05-06 00:57:19.873947676 +0900 @@ -1,2 +1,2 @@ -SHA256 (libjpeg-turbo-1.1.1.tar.gz) = 553b1f5a968fb9efc089623ed99be2aa6bc21586be92eb04848489c91a63f1e2 -SIZE (libjpeg-turbo-1.1.1.tar.gz) = 1444529 +SHA256 (libjpeg-turbo-1.2.0.tar.gz) = 629db2a9b1295a1b0e5fa8dddda36c5da61a90536bef8295e0b209cbcd50f98e +SIZE (libjpeg-turbo-1.2.0.tar.gz) = 1752925 diff -ur /usr/ports/graphics/libjpeg-turbo/pkg-plist ./pkg-plist --- /usr/ports/graphics/libjpeg-turbo/pkg-plist 2011-07-10 19:35:10.000000000 +0900 +++ ./pkg-plist 2012-05-06 08:47:11.633946425 +0900 @@ -1,8 +1,8 @@ bin/cjpeg bin/djpeg bin/jpegtran -bin/jpgtest bin/rdjpgcom +bin/tjbench bin/wrjpgcom include/jconfig.h include/jerror.h @@ -16,3 +16,12 @@ lib/libturbojpeg.a lib/libturbojpeg.la lib/libturbojpeg.so +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/README-turbo.txt +%%PORTDOCS%%%%DOCSDIR%%/libjpeg.txt +%%PORTDOCS%%%%DOCSDIR%%/structure.txt +%%PORTDOCS%%%%DOCSDIR%%/usage.txt +%%PORTDOCS%%%%DOCSDIR%%/wizard.txt +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.c +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86vck8zl65.wl%poyopoyo>