From 781eccbe54ee08f604dcfbd36d0358f2e007cd06 Mon Sep 17 00:00:00 2001 From: Thierry Thomas Date: Sat, 8 Apr 2006 16:08:52 +0000 Subject: Don"t try to convert every type of files. PR: 95453 Submitted by: Dmitry Marakasov --- print/fpdf/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'print/fpdf') diff --git a/print/fpdf/Makefile b/print/fpdf/Makefile index a1220dadaa5b..61e52a58aac5 100644 --- a/print/fpdf/Makefile +++ b/print/fpdf/Makefile @@ -7,7 +7,7 @@ PORTNAME= fpdf PORTVERSION= 1.53 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= print www MASTER_SITES= http://www.fpdf.org/fr/ DISTNAME= ${PORTNAME}${PORTVERSION:S|.||} @@ -18,7 +18,6 @@ COMMENT= A free PHP class to generate PDF files with pure PHP USE_PHP= zlib -USE_DOS2UNIX= yes FETCH_CMD= /usr/bin/fetch -ARr -o ${DISTDIR}/${DISTFILES} NO_BUILD= yes @@ -28,6 +27,7 @@ SUB_FILES= pkg-message 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 do-fetch: @@ -37,6 +37,11 @@ do-fetch: 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/ $$//' +.endfor @${FIND} ${WRKSRC} -type f | ${XARGS} ${CHMOD} ${SHAREMODE} do-install: -- cgit v1.2.3