aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Spreadsheet-ParseExcel/Makefile
blob: 034ac03089b2cbc314a27d66056c0c60d82a2567 (plain) (blame)
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
# New ports collection makefile for:    Spreadsheet::ParseExcel
# Date created:     25 Dec 2000
# Whom:         Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#

PORTNAME=   Spreadsheet-ParseExcel
PORTVERSION=    0.2603
CATEGORIES= textproc perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Spreadsheet
PKGNAMEPREFIX=  p5-

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

BUILD_DEPENDS=  ${SITE_PERL}/OLE/Storage_Lite.pm:${PORTSDIR}/devel/p5-OLE-Storage_Lite
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes
PLIST_SUB=  EXAMPLESDIR="share/examples/${PORTNAME}"

MAN3=       Spreadsheet::ParseExcel.3 \
        Spreadsheet::ParseExcel::SaveParser.3 \
        Spreadsheet::ParseExcel::Utility.3

post-install:

.ifndef(NOPORTDOCS)
    @${ECHO_MSG} "===>   Installing examples for ${PKGNAME}"
    @${MKDIR} ${EXAMPLESDIR}/Excel
    @${INSTALL_DATA} ${WRKSRC}/sample/README ${WRKSRC}/sample/res* \
        ${EXAMPLESDIR}
    @${INSTALL_SCRIPT} ${WRKSRC}/sample/*.pl ${EXAMPLESDIR}
    @${INSTALL_DATA} ${WRKSRC}/sample/Excel/* ${EXAMPLESDIR}/Excel
.endif

.include <bsd.port.mk>