aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Spreadsheet-WriteExcel
diff options
context:
space:
mode:
authorAndrej Zverev <az@FreeBSD.org>2013-07-31 06:54:09 +0000
committerAndrej Zverev <az@FreeBSD.org>2013-07-31 06:54:09 +0000
commit0c32f397115d6a7e639ed1f8b4228848bd5cc96c (patch)
treece66d6984b8e2580d19a3e478f618b13623e3080 /textproc/p5-Spreadsheet-WriteExcel
parentc37aa810ab6b2dec5c29293ea60ad8f84d8effda (diff)
downloadports-0c32f397115d6a7e639ed1f8b4228848bd5cc96c.tar.gz
ports-0c32f397115d6a7e639ed1f8b4228848bd5cc96c.zip
Notes
Diffstat (limited to 'textproc/p5-Spreadsheet-WriteExcel')
-rw-r--r--textproc/p5-Spreadsheet-WriteExcel/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/textproc/p5-Spreadsheet-WriteExcel/Makefile b/textproc/p5-Spreadsheet-WriteExcel/Makefile
index 66ad67ccbcf5..94bc18bf9662 100644
--- a/textproc/p5-Spreadsheet-WriteExcel/Makefile
+++ b/textproc/p5-Spreadsheet-WriteExcel/Makefile
@@ -17,6 +17,8 @@ BUILD_DEPENDS= p5-Parse-RecDescent>=0:${PORTSDIR}/devel/p5-Parse-RecDescent \
RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
+USE_DOS2UNIX= yes
+DOS2UNIX_REGEX= "*.p[lm]"
MAN1= chartex.1
MAN3= Spreadsheet::WriteExcel.3 \
@@ -40,10 +42,6 @@ MAN3= Spreadsheet::WriteExcel.3 \
Spreadsheet::WriteExcel::Workbook.3 \
Spreadsheet::WriteExcel::Worksheet.3
-post-patch:
- @${FIND} ${WRKSRC} -name "*.p[lm]"| \
- ${XARGS} ${PERL} -pi -e 's/\x0D(?=\x0A)//g'
-
post-install:
.ifndef(NOPORTDOCS)
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"