switch to MODCPAN_EXAMPLES and install a bunch of missing files

This commit is contained in:
jasper 2010-10-03 15:16:24 +00:00
parent 9f83ce8c6e
commit d560f9212d
2 changed files with 14 additions and 8 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.8 2010/03/21 11:43:31 jasper Exp $
# $OpenBSD: Makefile,v 1.9 2010/10/03 15:16:24 jasper Exp $
COMMENT= write a cross-platform Excel binary file
MODULES= cpan
DISTNAME= Spreadsheet-WriteExcel-2.37
REVISION= 0
CATEGORIES= misc
# Perl
@ -15,11 +16,6 @@ PERMIT_DISTFILES_FTP= Yes
RUN_DEPENDS= ::devel/p5-OLE-Storage_Lite \
::devel/p5-Parse-RecDescent
EXAMPLE_DIR= ${PREFIX}/share/examples/p5-Spreadsheet-WriteExcel
post-install:
${INSTALL_DATA_DIR} ${EXAMPLE_DIR}
${INSTALL_DATA} ${WRKSRC}/examples/README ${EXAMPLE_DIR}
${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl ${EXAMPLE_DIR}
MODCPAN_EXAMPLES= Yes
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.5 2010/03/21 11:43:31 jasper Exp $
@comment $OpenBSD: PLIST,v 1.6 2010/10/03 15:16:24 jasper Exp $
bin/chartex
${P5SITE}/Spreadsheet/
${P5SITE}/Spreadsheet/WriteExcel/
@ -101,6 +101,7 @@ share/examples/p5-Spreadsheet-WriteExcel/properties.pl
share/examples/p5-Spreadsheet-WriteExcel/protection.pl
share/examples/p5-Spreadsheet-WriteExcel/regions.pl
share/examples/p5-Spreadsheet-WriteExcel/repeat.pl
share/examples/p5-Spreadsheet-WriteExcel/republic.png
share/examples/p5-Spreadsheet-WriteExcel/right_to_left.pl
share/examples/p5-Spreadsheet-WriteExcel/row_wrap.pl
share/examples/p5-Spreadsheet-WriteExcel/sales.pl
@ -112,16 +113,25 @@ share/examples/p5-Spreadsheet-WriteExcel/tab2xls.pl
share/examples/p5-Spreadsheet-WriteExcel/tab_colors.pl
share/examples/p5-Spreadsheet-WriteExcel/textwrap.pl
share/examples/p5-Spreadsheet-WriteExcel/unicode_2022_jp.pl
share/examples/p5-Spreadsheet-WriteExcel/unicode_2022_jp.txt
share/examples/p5-Spreadsheet-WriteExcel/unicode_8859_11.pl
share/examples/p5-Spreadsheet-WriteExcel/unicode_8859_11.txt
share/examples/p5-Spreadsheet-WriteExcel/unicode_8859_7.pl
share/examples/p5-Spreadsheet-WriteExcel/unicode_8859_7.txt
share/examples/p5-Spreadsheet-WriteExcel/unicode_big5.pl
share/examples/p5-Spreadsheet-WriteExcel/unicode_big5.txt
share/examples/p5-Spreadsheet-WriteExcel/unicode_cp1251.pl
share/examples/p5-Spreadsheet-WriteExcel/unicode_cp1251.txt
share/examples/p5-Spreadsheet-WriteExcel/unicode_cp1256.pl
share/examples/p5-Spreadsheet-WriteExcel/unicode_cp1256.txt
share/examples/p5-Spreadsheet-WriteExcel/unicode_cyrillic.pl
share/examples/p5-Spreadsheet-WriteExcel/unicode_koi8r.pl
share/examples/p5-Spreadsheet-WriteExcel/unicode_koi8r.txt
share/examples/p5-Spreadsheet-WriteExcel/unicode_list.pl
share/examples/p5-Spreadsheet-WriteExcel/unicode_polish_utf8.pl
share/examples/p5-Spreadsheet-WriteExcel/unicode_polish_utf8.txt
share/examples/p5-Spreadsheet-WriteExcel/unicode_shift_jis.pl
share/examples/p5-Spreadsheet-WriteExcel/unicode_shift_jis.txt
share/examples/p5-Spreadsheet-WriteExcel/unicode_utf16.pl
share/examples/p5-Spreadsheet-WriteExcel/unicode_utf16_japan.pl
share/examples/p5-Spreadsheet-WriteExcel/win32ole.pl