Date: Tue, 15 Nov 2005 02:00:25 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/89015: Update port: graphics/jpeg2ps-letter Message-ID: <20051115020025.2529c221.tkato432@yahoo.com> Resent-Message-ID: <200511141710.jAEHA99Q042898@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 89015 >Category: ports >Synopsis: Update port: graphics/jpeg2ps-letter >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: Mon Nov 14 17:10:08 GMT 2005 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.11-RELEASE-p13 i386 >Organization: >Environment: >Description: - Support CC/CFLAGS properly - Add WWW: line Remove file: files/patch-aa >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/jpeg2ps-letter/Makefile graphics/jpeg2ps-letter/Makefile --- /usr/ports/graphics/jpeg2ps-letter/Makefile Mon Nov 14 15:52:29 2005 +++ graphics/jpeg2ps-letter/Makefile Mon Nov 14 16:07:14 2005 @@ -7,38 +7,39 @@ PORTNAME= jpeg2ps PORTVERSION= 1.9 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics converters MASTER_SITES= http://www.pdflib.com/products/more/jpeg2ps/ PKGNAMESUFFIX= -${PAPERSIZE} -MAINTAINER= ports@freebsd.org +MAINTAINER= ports@FreeBSD.org COMMENT= Converter for JPEG compressed images to PostScript Level 2 -PAPERSIZE?= letter - -INSTALL_TARGET= +USE_REINPLACE= yes -MAN1= jpeg2ps.1 +MAN1= jpeg2ps.1 +PLIST_FILES= bin/jpeg2ps -PLIST_FILES= bin/jpeg2ps %%DOCSDIR%%/jpeg2ps.txt -PLIST_DIRS= %%DOCSDIR%% +PAPERSIZE?= letter -.include <bsd.port.pre.mk> +.if !defined(NOPORTDOCS) +PORTDOCS= jpeg2ps.txt +.endif .if ${PAPERSIZE} == a4 -post-patch: - ${CP} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.input - ${SED} "s%CCFLAGS=-O -c%CCFLAGS=-O -c -DA4%" ${WRKSRC}/Makefile.input > ${WRKSRC}/Makefile - ${RM} -f ${WRKSRC}/Makefile.input +CFLAGS+= -DA4 .endif -post-install: +post-patch: + @${REINPLACE_CMD} -e 's|^CFLAGS=.*$$|CFLAGS+=-c|g ; \ + s|^LD=.*$$|LD=$$(CC)|g' ${WRKSRC}/Makefile + +do-install: ${INSTALL_PROGRAM} ${WRKSRC}/jpeg2ps ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/jpeg2ps.1 ${MANPREFIX}/man/man1 .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/jpeg2ps.txt ${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/jpeg2ps.1 ${MANPREFIX}/man/man1 .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff -urN /usr/ports/graphics/jpeg2ps-letter/distinfo graphics/jpeg2ps-letter/distinfo --- /usr/ports/graphics/jpeg2ps-letter/distinfo Wed Mar 31 18:08:22 2004 +++ graphics/jpeg2ps-letter/distinfo Mon Nov 14 16:04:50 2005 @@ -1,2 +1,3 @@ MD5 (jpeg2ps-1.9.tar.gz) = e654f6a584435e6717b6c2659c07db28 +SHA256 (jpeg2ps-1.9.tar.gz) = e09919ff55bb1fd26299adfe92e5ea0e7daaa3bfa0277a0483cac9764eac25a2 SIZE (jpeg2ps-1.9.tar.gz) = 67105 diff -urN /usr/ports/graphics/jpeg2ps-letter/files/patch-aa graphics/jpeg2ps-letter/files/patch-aa --- /usr/ports/graphics/jpeg2ps-letter/files/patch-aa Sun Oct 19 19:38:22 2003 +++ graphics/jpeg2ps-letter/files/patch-aa Thu Jan 1 09:00:00 1970 @@ -1,12 +0,0 @@ ---- Makefile.orig Mon Feb 4 03:39:21 2002 -+++ Makefile Sun Oct 19 02:44:27 2003 -@@ -14,7 +14,8 @@ - # The following was reported to work for emx/gcc 0.9c fix04 under OS/2: - # make -f Makefile "CFLAGS=-c -DA4 -DDOS -O2" "LDFLAGS=-Zexe -s" - --CFLAGS=-c -DA4 -+CFLAGS?=-O -pipe -+CFLAGS+=-c - LD=cc - LDFLAGS= - OBJ=o diff -urN /usr/ports/graphics/jpeg2ps-letter/pkg-descr graphics/jpeg2ps-letter/pkg-descr --- /usr/ports/graphics/jpeg2ps-letter/pkg-descr Sat Dec 30 23:14:57 2000 +++ graphics/jpeg2ps-letter/pkg-descr Mon Nov 14 16:04:07 2005 @@ -8,3 +8,5 @@ Level 2 and 3 interpreters support JPEG compression and decompression). If you have a slow communication channel and a fast printer, sending compressed image data is a big win. + +WWW: http://www.pdflib.com/products/more/jpeg2ps.html >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051115020025.2529c221.tkato432>