2f827923f7
with minor tweak by me. ok jasper@, sthen@, landry@
32 lines
750 B
Makefile
32 lines
750 B
Makefile
# $OpenBSD: Makefile,v 1.10 2010/04/09 17:58:19 stephan Exp $
|
|
|
|
COMMENT= get information from Excel spreadsheets
|
|
|
|
MODULES= cpan
|
|
DISTNAME= Spreadsheet-ParseExcel-0.57
|
|
CATEGORIES= misc
|
|
|
|
# Perl
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
RUN_DEPENDS= ::devel/p5-OLE-Storage_Lite \
|
|
::devel/p5-IO-stringy \
|
|
::textproc/p5-Text-CSV_XS
|
|
REGRESS_DEPENDS=::converters/p5-Unicode-Map \
|
|
::converters/p5-Jcode \
|
|
::misc/p5-Spreadsheet-WriteExcel
|
|
BUILD_DEPENDS = ${RUN_DEPENDS}
|
|
|
|
MAKE_ENV= TEST_POD=Yes
|
|
|
|
EXAMPLE_DIR= ${PREFIX}/share/examples/p5-Spreadsheet-ParseExcel
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${EXAMPLE_DIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/sample/*.pl ${EXAMPLE_DIR}
|
|
|
|
.include <bsd.port.mk>
|