Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2012 23:11:32 GMT
From:      Robert Simmons <rsimmons0@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/164650: [patch] Update of FPDF port to current version 1.7
Message-ID:  <201201302311.q0UNBWuU020622@red.freebsd.org>
Resent-Message-ID: <201201302320.q0UNK7Hm084945@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         164650
>Category:       ports
>Synopsis:       [patch] Update of FPDF port to current version 1.7
>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 Jan 30 23:20:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Robert Simmons
>Release:        FreeBSD 8.2-RELEASE-p3 i386
>Organization:
>Environment:
FreeBSD computer 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:07:27 UTC 2011 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
This is a patch to update print/fpdf to the current version, 1.7
>How-To-Repeat:
n/a
>Fix:
see patch

Patch attached with submission follows:

diff -u -r /usr/ports/print/fpdf.bak/Makefile /usr/ports/print/fpdf/Makefile
--- /usr/ports/print/fpdf.bak/Makefile  2009-11-28 15:26:09.000000000 -0500
+++ /usr/ports/print/fpdf/Makefile      2012-01-30 15:10:37.000000000 -0500
@@ -1,15 +1,11 @@
 # New ports collection makefile for: fpdf
-# Date created:                21 March 2005
-# Whom:                        Thierry Thomas <thierry@pompo.net>
-#
-# $FreeBSD: ports/print/fpdf/Makefile,v 1.9 2009/11/28 20:26:09 thierry Exp $
-#
+# Date created:                30 January 2012
+# Whom:                        Robert Simmons <rsimmons0@gmail.com>
 
 PORTNAME=      fpdf
-PORTVERSION=   1.6
-PORTEPOCH=     1
+PORTVERSION=   1.7
 CATEGORIES=    print www
-MASTER_SITES=  http://www.fpdf.org/fr/
+MASTER_SITES=  http://www.fpdf.org/en/
 DISTNAME=      ${PORTNAME}${PORTVERSION:S|.||}
 EXTRACT_SUFX=  .tgz
 
@@ -27,8 +23,7 @@
 SUB_LIST=      FPDF_DIR=${FPDF_DIR}
 PLIST_SUB=     FPDF_DIR=${FPDF_DIR}
 
-EXT2CNV=       afm css htm php txt
-DOCS=          FAQ.htm doc/* fpdf.css histo.htm install.txt tutoriel
+DOCS=          FAQ.htm changelog.htm doc fpdf.css install.txt license.txt tutorial
 
 do-fetch:
        @if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
@@ -36,18 +31,11 @@
                '${MASTER_SITES}dl.php?v=${PORTVERSION:S|.||}&f=${EXTRACT_SUFX:S|.||}'; \
        fi
 
-pre-patch:
-       @${ECHO_MSG} "===>   Converting DOS text files to UNIX text files"
-.for ext in ${EXT2CNV}
-       @${FIND} ${WRKSRC} -type f -name "*.${ext}" -print0 | \
-                       ${XARGS} -0 ${REINPLACE_CMD} -i '' -e 's/^M$$//'
-.endfor
-       @${FIND} ${WRKSRC} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
-
 do-install:
        ${MKDIR} ${PREFIX}/${FPDF_DIR}
        ${INSTALL_DATA} ${WRKSRC}/fpdf.php ${PREFIX}/${FPDF_DIR}
        ${CP} -R ${WRKSRC}/font ${PREFIX}/${FPDF_DIR}
+       ${CP} -R ${WRKSRC}/makefont ${PREFIX}/${FPDF_DIR}
 .if !defined(NOPORTDOCS)
        ${MKDIR} ${DOCSDIR}
        ${CP} -R ${DOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
diff -u -r /usr/ports/print/fpdf.bak/distinfo /usr/ports/print/fpdf/distinfo
--- /usr/ports/print/fpdf.bak/distinfo  2011-07-03 02:14:30.000000000 -0400
+++ /usr/ports/print/fpdf/distinfo      2012-01-30 14:17:20.000000000 -0500
@@ -1,2 +1,2 @@
-SHA256 (fpdf16.tgz) = 286345ae9fe99e961feab6ca6573bc0d6e56248e697d605ca32c4f3e279f01a5
-SIZE (fpdf16.tgz) = 135111
+SHA256 (fpdf17.tgz) = 6e74f2dead54f538c1080cf353bf1ef3f10e3363402f53aa9b2c8f7f232a3c3a
+SIZE (fpdf17.tgz) = 127075
diff -u -r /usr/ports/print/fpdf.bak/pkg-plist /usr/ports/print/fpdf/pkg-plist
--- /usr/ports/print/fpdf.bak/pkg-plist 2005-04-05 16:44:59.000000000 -0400
+++ /usr/ports/print/fpdf/pkg-plist     2012-01-30 15:05:19.000000000 -0500
@@ -1,105 +1,86 @@
 %%PORTDOCS%%%%DOCSDIR%%/FAQ.htm
-%%PORTDOCS%%%%DOCSDIR%%/acceptpagebreak.htm
-%%PORTDOCS%%%%DOCSDIR%%/addfont.htm
-%%PORTDOCS%%%%DOCSDIR%%/addlink.htm
-%%PORTDOCS%%%%DOCSDIR%%/addpage.htm
-%%PORTDOCS%%%%DOCSDIR%%/aliasnbpages.htm
-%%PORTDOCS%%%%DOCSDIR%%/cell.htm
-%%PORTDOCS%%%%DOCSDIR%%/close.htm
-%%PORTDOCS%%%%DOCSDIR%%/error.htm
-%%PORTDOCS%%%%DOCSDIR%%/footer.htm
-%%PORTDOCS%%%%DOCSDIR%%/fpdf.htm
-%%PORTDOCS%%%%DOCSDIR%%/getstringwidth.htm
-%%PORTDOCS%%%%DOCSDIR%%/getx.htm
-%%PORTDOCS%%%%DOCSDIR%%/gety.htm
-%%PORTDOCS%%%%DOCSDIR%%/header.htm
-%%PORTDOCS%%%%DOCSDIR%%/image.htm
-%%PORTDOCS%%%%DOCSDIR%%/index.htm
-%%PORTDOCS%%%%DOCSDIR%%/line.htm
-%%PORTDOCS%%%%DOCSDIR%%/link.htm
-%%PORTDOCS%%%%DOCSDIR%%/ln.htm
-%%PORTDOCS%%%%DOCSDIR%%/multicell.htm
-%%PORTDOCS%%%%DOCSDIR%%/output.htm
-%%PORTDOCS%%%%DOCSDIR%%/pageno.htm
-%%PORTDOCS%%%%DOCSDIR%%/rect.htm
-%%PORTDOCS%%%%DOCSDIR%%/setauthor.htm
-%%PORTDOCS%%%%DOCSDIR%%/setautopagebreak.htm
-%%PORTDOCS%%%%DOCSDIR%%/setcompression.htm
-%%PORTDOCS%%%%DOCSDIR%%/setcreator.htm
-%%PORTDOCS%%%%DOCSDIR%%/setdisplaymode.htm
-%%PORTDOCS%%%%DOCSDIR%%/setdrawcolor.htm
-%%PORTDOCS%%%%DOCSDIR%%/setfillcolor.htm
-%%PORTDOCS%%%%DOCSDIR%%/setfont.htm
-%%PORTDOCS%%%%DOCSDIR%%/setfontsize.htm
-%%PORTDOCS%%%%DOCSDIR%%/setkeywords.htm
-%%PORTDOCS%%%%DOCSDIR%%/setleftmargin.htm
-%%PORTDOCS%%%%DOCSDIR%%/setlinewidth.htm
-%%PORTDOCS%%%%DOCSDIR%%/setlink.htm
-%%PORTDOCS%%%%DOCSDIR%%/setmargins.htm
-%%PORTDOCS%%%%DOCSDIR%%/setrightmargin.htm
-%%PORTDOCS%%%%DOCSDIR%%/setsubject.htm
-%%PORTDOCS%%%%DOCSDIR%%/settextcolor.htm
-%%PORTDOCS%%%%DOCSDIR%%/settitle.htm
-%%PORTDOCS%%%%DOCSDIR%%/settopmargin.htm
-%%PORTDOCS%%%%DOCSDIR%%/setx.htm
-%%PORTDOCS%%%%DOCSDIR%%/setxy.htm
-%%PORTDOCS%%%%DOCSDIR%%/sety.htm
-%%PORTDOCS%%%%DOCSDIR%%/text.htm
-%%PORTDOCS%%%%DOCSDIR%%/write.htm
+%%PORTDOCS%%%%DOCSDIR%%/changelog.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/acceptpagebreak.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/addfont.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/addlink.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/addpage.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/aliasnbpages.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/cell.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/close.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/error.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/footer.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/fpdf.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/getstringwidth.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/getx.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/gety.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/header.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/image.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/index.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/line.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/link.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/ln.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/multicell.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/output.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/pageno.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/rect.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setauthor.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setautopagebreak.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setcompression.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setcreator.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setdisplaymode.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setdrawcolor.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setfillcolor.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setfont.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setfontsize.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setkeywords.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setleftmargin.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setlinewidth.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setlink.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setmargins.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setrightmargin.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setsubject.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/settextcolor.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/settitle.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/settopmargin.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setx.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setxy.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/sety.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/text.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/write.htm
 %%PORTDOCS%%%%DOCSDIR%%/fpdf.css
-%%PORTDOCS%%%%DOCSDIR%%/histo.htm
 %%PORTDOCS%%%%DOCSDIR%%/install.txt
-%%PORTDOCS%%%%DOCSDIR%%/tutoriel/20k_c1.txt
-%%PORTDOCS%%%%DOCSDIR%%/tutoriel/20k_c2.txt
-%%PORTDOCS%%%%DOCSDIR%%/tutoriel/calligra.afm
-%%PORTDOCS%%%%DOCSDIR%%/tutoriel/calligra.php
-%%PORTDOCS%%%%DOCSDIR%%/tutoriel/calligra.ttf
-%%PORTDOCS%%%%DOCSDIR%%/tutoriel/calligra.z
-%%PORTDOCS%%%%DOCSDIR%%/tutoriel/index.htm
-%%PORTDOCS%%%%DOCSDIR%%/tutoriel/logo.png
-%%PORTDOCS%%%%DOCSDIR%%/tutoriel/logo_pb.png
-%%PORTDOCS%%%%DOCSDIR%%/tutoriel/makefont.php
-%%PORTDOCS%%%%DOCSDIR%%/tutoriel/pays.txt
-%%PORTDOCS%%%%DOCSDIR%%/tutoriel/tuto1.htm
-%%PORTDOCS%%%%DOCSDIR%%/tutoriel/tuto1.php
-%%PORTDOCS%%%%DOCSDIR%%/tutoriel/tuto2.htm
-%%PORTDOCS%%%%DOCSDIR%%/tutoriel/tuto2.php
-%%PORTDOCS%%%%DOCSDIR%%/tutoriel/tuto3.htm
-%%PORTDOCS%%%%DOCSDIR%%/tutoriel/tuto3.php
-%%PORTDOCS%%%%DOCSDIR%%/tutoriel/tuto4.htm
-%%PORTDOCS%%%%DOCSDIR%%/tutoriel/tuto4.php
-%%PORTDOCS%%%%DOCSDIR%%/tutoriel/tuto5.htm
-%%PORTDOCS%%%%DOCSDIR%%/tutoriel/tuto5.php
-%%PORTDOCS%%%%DOCSDIR%%/tutoriel/tuto6.htm
-%%PORTDOCS%%%%DOCSDIR%%/tutoriel/tuto6.php
-%%PORTDOCS%%%%DOCSDIR%%/tutoriel/tuto7.htm
-%%PORTDOCS%%%%DOCSDIR%%/tutoriel/tuto7.php
+%%PORTDOCS%%%%DOCSDIR%%/license.txt
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/20k_c1.txt
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/20k_c2.txt
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/calligra.php
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/calligra.ttf
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/calligra.z
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/countries.txt
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/index.htm
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/logo.png
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/makefont.php
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto1.htm
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto1.php
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto2.htm
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto2.php
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto3.htm
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto3.php
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto4.htm
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto4.php
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto5.htm
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto5.php
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto6.htm
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto6.php
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto7.htm
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto7.php
 %%FPDF_DIR%%/font/courier.php
+%%FPDF_DIR%%/font/courierb.php
+%%FPDF_DIR%%/font/courierbi.php
+%%FPDF_DIR%%/font/courieri.php
 %%FPDF_DIR%%/font/helvetica.php
 %%FPDF_DIR%%/font/helveticab.php
 %%FPDF_DIR%%/font/helveticabi.php
 %%FPDF_DIR%%/font/helveticai.php
-%%FPDF_DIR%%/font/makefont/cp1250.map
-%%FPDF_DIR%%/font/makefont/cp1251.map
-%%FPDF_DIR%%/font/makefont/cp1252.map
-%%FPDF_DIR%%/font/makefont/cp1253.map
-%%FPDF_DIR%%/font/makefont/cp1254.map
-%%FPDF_DIR%%/font/makefont/cp1255.map
-%%FPDF_DIR%%/font/makefont/cp1257.map
-%%FPDF_DIR%%/font/makefont/cp1258.map
-%%FPDF_DIR%%/font/makefont/cp874.map
-%%FPDF_DIR%%/font/makefont/iso-8859-1.map
-%%FPDF_DIR%%/font/makefont/iso-8859-11.map
-%%FPDF_DIR%%/font/makefont/iso-8859-15.map
-%%FPDF_DIR%%/font/makefont/iso-8859-16.map
-%%FPDF_DIR%%/font/makefont/iso-8859-2.map
-%%FPDF_DIR%%/font/makefont/iso-8859-4.map
-%%FPDF_DIR%%/font/makefont/iso-8859-5.map
-%%FPDF_DIR%%/font/makefont/iso-8859-7.map
-%%FPDF_DIR%%/font/makefont/iso-8859-9.map
-%%FPDF_DIR%%/font/makefont/koi8-r.map
-%%FPDF_DIR%%/font/makefont/koi8-u.map
-%%FPDF_DIR%%/font/makefont/makefont.php
 %%FPDF_DIR%%/font/symbol.php
 %%FPDF_DIR%%/font/times.php
 %%FPDF_DIR%%/font/timesb.php
@@ -107,8 +88,31 @@
 %%FPDF_DIR%%/font/timesi.php
 %%FPDF_DIR%%/font/zapfdingbats.php
 %%FPDF_DIR%%/fpdf.php
-@dirrm %%FPDF_DIR%%/font/makefont
+%%FPDF_DIR%%/makefont/cp1250.map
+%%FPDF_DIR%%/makefont/cp1251.map
+%%FPDF_DIR%%/makefont/cp1252.map
+%%FPDF_DIR%%/makefont/cp1253.map
+%%FPDF_DIR%%/makefont/cp1254.map
+%%FPDF_DIR%%/makefont/cp1255.map
+%%FPDF_DIR%%/makefont/cp1257.map
+%%FPDF_DIR%%/makefont/cp1258.map
+%%FPDF_DIR%%/makefont/cp874.map
+%%FPDF_DIR%%/makefont/iso-8859-1.map
+%%FPDF_DIR%%/makefont/iso-8859-11.map
+%%FPDF_DIR%%/makefont/iso-8859-15.map
+%%FPDF_DIR%%/makefont/iso-8859-16.map
+%%FPDF_DIR%%/makefont/iso-8859-2.map
+%%FPDF_DIR%%/makefont/iso-8859-4.map
+%%FPDF_DIR%%/makefont/iso-8859-5.map
+%%FPDF_DIR%%/makefont/iso-8859-7.map
+%%FPDF_DIR%%/makefont/iso-8859-9.map
+%%FPDF_DIR%%/makefont/koi8-r.map
+%%FPDF_DIR%%/makefont/koi8-u.map
+%%FPDF_DIR%%/makefont/makefont.php
+%%FPDF_DIR%%/makefont/ttfparser.php
 @dirrm %%FPDF_DIR%%/font
+@dirrm %%FPDF_DIR%%/makefont
 @dirrm %%FPDF_DIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/tutoriel
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/tutorial
 %%PORTDOCS%%@dirrm %%DOCSDIR%%


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201302311.q0UNBWuU020622>