summaryrefslogtreecommitdiffstats
path: root/print/fpdf
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2006-02-11 21:20:18 +0000
committerthierry <thierry@FreeBSD.org>2006-02-11 21:20:18 +0000
commit9c238328189f8ceb4ffa5ae39fb066015d461deb (patch)
tree747fc65066637147f890f5963d33945fa8888e8c /print/fpdf
parentc1e781eb2a7a4fbe4536307f0f079112d54f5eb3 (diff)
downloadFreeBSD-ports-9c238328189f8ceb4ffa5ae39fb066015d461deb.zip
FreeBSD-ports-9c238328189f8ceb4ffa5ae39fb066015d461deb.tar.gz
Replace tr by DOS2UNIX: when using tr with LANG or LC_ALL set to a
multibyte locale, "Illegal byte sequence" were reported. Reported by: Derek Kulinski <takeda (at) takeda.tk>
Diffstat (limited to 'print/fpdf')
-rw-r--r--print/fpdf/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/print/fpdf/Makefile b/print/fpdf/Makefile
index e210280..a1220da 100644
--- a/print/fpdf/Makefile
+++ b/print/fpdf/Makefile
@@ -18,6 +18,7 @@ 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
@@ -27,7 +28,6 @@ SUB_FILES= pkg-message
SUB_LIST= FPDF_DIR=${FPDF_DIR}
PLIST_SUB= FPDF_DIR=${FPDF_DIR}
-EXT2CNV= afm htm php txt
DOCS= FAQ.htm doc/* fpdf.css histo.htm install.txt tutoriel
do-fetch:
@@ -37,11 +37,6 @@ do-fetch:
fi
pre-patch:
-.for ext in ${EXT2CNV}
- @for f in `${FIND} ${WRKSRC} -type f -name "*.${ext}"` ; do \
- ${TR} -d '\r' < $$f > $$f.dos && \
- ${MV} $$f.dos $$f ; done
-.endfor
@${FIND} ${WRKSRC} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
do-install:
OpenPOWER on IntegriCloud