1 |
# $MidnightBSD$ |
2 |
|
3 |
PORTNAME= Spreadsheet-ParseExcel |
4 |
PORTVERSION= 0.65 |
5 |
CATEGORIES= textproc perl5 |
6 |
MASTER_SITES= CPAN |
7 |
PKGNAMEPREFIX= p5- |
8 |
|
9 |
MAINTAINER= ports@MidnightBSD.org |
10 |
COMMENT= Get information from Excel file |
11 |
|
12 |
LICENSE= artistic gpl |
13 |
LICENSE_COMB= dual |
14 |
|
15 |
BUILD_DEPENDS= p5-OLE-Storage_Lite>=0.19:${PORTSDIR}/devel/p5-OLE-Storage_Lite \ |
16 |
p5-Crypt-RC4>=0:${PORTSDIR}/security/p5-Crypt-RC4 \ |
17 |
p5-Digest-Perl-MD5>=0:${PORTSDIR}/security/p5-Digest-Perl-MD5 |
18 |
RUN_DEPENDS:= ${BUILD_DEPENDS} |
19 |
|
20 |
USES= perl5 shebangfix |
21 |
SHEBANG_FILES= sample/parse.pl \ |
22 |
sample/xls2csv.pl |
23 |
USE_PERL5= configure |
24 |
PERL_CONFIGURE= yes |
25 |
NO_ARCH= yes |
26 |
|
27 |
OPTIONS_DEFINE= EXAMPLES |
28 |
|
29 |
post-install: |
30 |
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}" |
31 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/Excel |
32 |
${INSTALL_DATA} ${WRKSRC}/sample/README ${STAGEDIR}${EXAMPLESDIR} |
33 |
${INSTALL_SCRIPT} ${WRKSRC}/sample/*.pl ${STAGEDIR}${EXAMPLESDIR} |
34 |
${INSTALL_DATA} ${WRKSRC}/sample/Excel/* ${STAGEDIR}${EXAMPLESDIR}/Excel |
35 |
|
36 |
.include <bsd.port.mk> |