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

41 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: Spreadsheet::ParseExcel
# Date created: 25 Dec 2000
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= Spreadsheet-ParseExcel
2003-02-26 16:06:21 +01:00
PORTVERSION= 0.2602
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Spreadsheet
PKGNAMEPREFIX= p5-
2002-06-06 15:53:44 +02:00
MAINTAINER= skv@FreeBSD.org
COMMENT= Get information from Excel file
2003-02-26 16:06:21 +01:00
BUILD_DEPENDS= ${SITE_PERL}/OLE/Storage_Lite.pm:${PORTSDIR}/devel/p5-OLE-Storage_Lite
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
2002-06-06 15:53:44 +02:00
PLIST_SUB= EXAMPLESDIR="share/examples/${PORTNAME}"
MAN3= Spreadsheet::ParseExcel.3 \
2002-06-06 15:53:44 +02:00
Spreadsheet::ParseExcel::SaveParser.3 \
Spreadsheet::ParseExcel::Utility.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
2002-06-06 15:53:44 +02:00
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>