2000-12-26 06:58:46 +01:00
|
|
|
# New ports collection makefile for: Spreadsheet::WriteExcel
|
|
|
|
# Date created: 25 Dec 2000
|
|
|
|
# Whom: Sergey Skvortsov <skv@protey.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= Spreadsheet-WriteExcel
|
2005-06-16 14:38:50 +02:00
|
|
|
PORTVERSION= 2.14
|
2000-12-26 06:58:46 +01:00
|
|
|
CATEGORIES= textproc perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= Spreadsheet
|
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2002-06-06 15:45:18 +02:00
|
|
|
MAINTAINER= skv@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Write to a cross-platform Excel binary file
|
2000-12-26 06:58:46 +01:00
|
|
|
|
2003-02-26 12:20:28 +01:00
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/Parse/RecDescent.pm:${PORTSDIR}/devel/p5-Parse-RecDescent \
|
|
|
|
${SITE_PERL}/OLE/Storage_Lite.pm:${PORTSDIR}/devel/p5-OLE-Storage_Lite \
|
|
|
|
${SITE_PERL}/${PERL_ARCH}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc \
|
2005-04-25 12:03:47 +02:00
|
|
|
${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
|
2003-02-26 12:20:28 +01:00
|
|
|
${SITE_PERL}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip
|
2001-05-01 12:10:03 +02:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
2001-03-01 07:39:18 +01:00
|
|
|
PERL_CONFIGURE= yes
|
2000-12-26 06:58:46 +01:00
|
|
|
|
2004-11-09 15:05:13 +01:00
|
|
|
MAN1= chartex.1
|
2001-08-29 20:26:55 +02:00
|
|
|
MAN3= Spreadsheet::WriteExcel.3 \
|
2000-12-26 06:58:46 +01:00
|
|
|
Spreadsheet::WriteExcel::BIFFwriter.3 \
|
2001-08-29 20:26:55 +02:00
|
|
|
Spreadsheet::WriteExcel::Big.3 \
|
2004-11-09 15:05:13 +01:00
|
|
|
Spreadsheet::WriteExcel::Chart.3 \
|
2001-05-01 12:10:03 +02:00
|
|
|
Spreadsheet::WriteExcel::Format.3 \
|
|
|
|
Spreadsheet::WriteExcel::Formula.3 \
|
2001-08-29 20:26:55 +02:00
|
|
|
Spreadsheet::WriteExcel::OLEwriter.3 \
|
2001-11-06 15:11:16 +01:00
|
|
|
Spreadsheet::WriteExcel::Utility.3 \
|
2001-08-29 20:26:55 +02:00
|
|
|
Spreadsheet::WriteExcel::Workbook.3 \
|
|
|
|
Spreadsheet::WriteExcel::WorkbookBig.3 \
|
|
|
|
Spreadsheet::WriteExcel::Worksheet.3
|
2000-12-26 06:58:46 +01:00
|
|
|
|
2003-02-20 17:33:26 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2003-06-19 09:31:18 +02:00
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC} -name "*.p[lm]"| \
|
|
|
|
${XARGS} ${PERL} -pi -e 's/\x0D(?=\x0A)//g'
|
|
|
|
|
2004-08-15 15:04:47 +02:00
|
|
|
.if ${PERL_LEVEL} < 500600
|
|
|
|
post-configure:
|
|
|
|
# dirty hack to deceive irritable pod2man
|
|
|
|
@${PERL} -pi -e 's/^(POD2MAN_EXE.*)$$/\1 --lax/;' ${WRKSRC}/Makefile
|
|
|
|
.endif
|
2001-08-29 20:26:55 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.ifndef(NOPORTDOCS)
|
2002-04-08 18:14:20 +02:00
|
|
|
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
|
|
|
|
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2002-06-06 15:45:18 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/README \
|
|
|
|
${WRKSRC}/examples/republic.bmp ${EXAMPLESDIR}
|
2002-04-08 18:14:20 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl ${EXAMPLESDIR}
|
2004-11-09 15:05:13 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/*.txt ${EXAMPLESDIR}
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}/charts
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/charts/* ${EXAMPLESDIR}/charts
|
2001-08-29 20:26:55 +02:00
|
|
|
.endif
|
|
|
|
|
2003-02-20 17:33:26 +01:00
|
|
|
.include <bsd.port.post.mk>
|