summaryrefslogtreecommitdiff
path: root/textproc/p5-Spreadsheet-ParseExcel/Makefile
blob: df19c5cd5d5dcce113b57164ab7c4733c5892738 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$

PORTNAME=	Spreadsheet-ParseExcel
PORTVERSION=	0.59
PORTEPOCH=	1
CATEGORIES=	textproc perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Get information from Excel file

BUILD_DEPENDS=	p5-OLE-Storage_Lite>=0.19:${PORTSDIR}/devel/p5-OLE-Storage_Lite \
		p5-Crypt-RC4>=0:${PORTSDIR}/security/p5-Crypt-RC4 \
		p5-Digest-Perl-MD5>=0:${PORTSDIR}/security/p5-Digest-Perl-MD5
RUN_DEPENDS:=	${BUILD_DEPENDS}

USES=		perl5
USE_PERL5=	configure

MAN3=		Spreadsheet::ParseExcel.3 \
		Spreadsheet::ParseExcel::Cell.3 \
		Spreadsheet::ParseExcel::Dump.3 \
		Spreadsheet::ParseExcel::FmtDefault.3 \
		Spreadsheet::ParseExcel::FmtJapan.3 \
		Spreadsheet::ParseExcel::FmtJapan2.3 \
		Spreadsheet::ParseExcel::FmtUnicode.3 \
		Spreadsheet::ParseExcel::Font.3 \
		Spreadsheet::ParseExcel::Format.3 \
		Spreadsheet::ParseExcel::SaveParser.3 \
		Spreadsheet::ParseExcel::SaveParser::Workbook.3 \
		Spreadsheet::ParseExcel::SaveParser::Worksheet.3 \
		Spreadsheet::ParseExcel::Utility.3 \
		Spreadsheet::ParseExcel::Workbook.3 \
		Spreadsheet::ParseExcel::Worksheet.3

post-install:
.ifndef(NOPORTEXAMPLES)
	@${ECHO_MSG} "===>   Installing examples for ${PKGNAME}"
	@${MKDIR} ${EXAMPLESDIR}/Excel
	@${INSTALL_DATA} ${WRKSRC}/sample/README ${EXAMPLESDIR}
	@${INSTALL_SCRIPT} ${WRKSRC}/sample/*.pl ${EXAMPLESDIR}
	@${INSTALL_DATA} ${WRKSRC}/sample/Excel/* ${EXAMPLESDIR}/Excel
.endif

.include <bsd.port.mk>