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
|
2002-09-25 14:21:19 +02:00
|
|
|
PORTVERSION= 0.39
|
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
|
2000-12-26 06:58:46 +01:00
|
|
|
|
2002-06-26 10:22:33 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Parse/RecDescent.pm:${PORTSDIR}/devel/p5-Parse-RecDescent \
|
|
|
|
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
|
|
|
|
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/OLE/Storage_Lite.pm:${PORTSDIR}/devel/p5-OLE-Storage_Lite \
|
|
|
|
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc \
|
|
|
|
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip
|
2001-05-01 12:10:03 +02:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
2002-04-08 18:14:20 +02:00
|
|
|
PLIST_SUB= DOCSDIR="share/doc/${PORTNAME}" \
|
|
|
|
EXAMPLESDIR="share/examples/${PORTNAME}"
|
2001-03-01 07:39:18 +01:00
|
|
|
PERL_CONFIGURE= yes
|
2000-12-26 06:58:46 +01:00
|
|
|
|
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 \
|
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
|
|
|
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
|
|
|
|
2001-08-29 20:26:55 +02:00
|
|
|
pre-configure:
|
2002-06-06 15:45:18 +02:00
|
|
|
@${MV} ${WRKSRC}/WriteExcel/doc ${WRKSRC}
|
|
|
|
@${MV} ${WRKSRC}/WriteExcel/examples ${WRKSRC}
|
|
|
|
@${PERL} -pi -e 's:WriteExcel/(doc|examples):\1:g' \
|
|
|
|
${WRKSRC}/MANIFEST
|
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}
|
2001-08-29 20:26:55 +02:00
|
|
|
.endif
|
|
|
|
|
2000-12-26 06:58:46 +01:00
|
|
|
.include <bsd.port.mk>
|