freebsd-ports/textproc/p5-Spreadsheet-WriteExcel/Makefile

60 lines
1.8 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: Spreadsheet::WriteExcel
# Date created: 25 Dec 2000
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= Spreadsheet-WriteExcel
PORTVERSION= 2.25
PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
2002-06-06 15:45:18 +02:00
MAINTAINER= skv@FreeBSD.org
COMMENT= Write to a cross-platform Excel binary file
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}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc \
2003-02-26 12:20:28 +01:00
${SITE_PERL}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN1= chartex.1
MAN3= Spreadsheet::WriteExcel.3 \
Spreadsheet::WriteExcel::BIFFwriter.3 \
Spreadsheet::WriteExcel::Big.3 \
Spreadsheet::WriteExcel::Chart.3 \
Spreadsheet::WriteExcel::Format.3 \
Spreadsheet::WriteExcel::Formula.3 \
Spreadsheet::WriteExcel::OLEwriter.3 \
Spreadsheet::WriteExcel::Properties.3 \
Spreadsheet::WriteExcel::Utility.3 \
Spreadsheet::WriteExcel::Workbook.3 \
Spreadsheet::WriteExcel::WorkbookBig.3 \
Spreadsheet::WriteExcel::Worksheet.3
2003-06-19 09:31:18 +02:00
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}"
@${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.png ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.txt ${EXAMPLESDIR}
@${MKDIR} ${EXAMPLESDIR}/charts
${INSTALL_DATA} ${WRKSRC}/charts/* ${EXAMPLESDIR}/charts
.endif
.include <bsd.port.mk>