diff options
author | William Grzybowski <wg@FreeBSD.org> | 2013-12-30 11:31:14 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2013-12-30 11:31:14 +0000 |
commit | d825a00735056b7df3e0e4dc1f997cec054405d6 (patch) | |
tree | cf704754af177d82fa9fac47f8f1f9e2cd5c9c30 /textproc/py-excelerator | |
parent | 180d30aa8119840eed24951fab53929f627c7091 (diff) | |
download | ports-d825a00735056b7df3e0e4dc1f997cec054405d6.tar.gz ports-d825a00735056b7df3e0e4dc1f997cec054405d6.zip |
textproc/py-excelerator: support staging and minor changes
Notes
Notes:
svn path=/head/; revision=338088
Diffstat (limited to 'textproc/py-excelerator')
-rw-r--r-- | textproc/py-excelerator/Makefile | 23 | ||||
-rw-r--r-- | textproc/py-excelerator/pkg-plist | 99 |
2 files changed, 10 insertions, 112 deletions
diff --git a/textproc/py-excelerator/Makefile b/textproc/py-excelerator/Makefile index 90103d68198b..2cbbddec210f 100644 --- a/textproc/py-excelerator/Makefile +++ b/textproc/py-excelerator/Makefile @@ -10,26 +10,23 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pyexcelerator-${PORTVERSION} MAINTAINER= ports@FreeBSD.org -COMMENT= A Python library for generating Excel 97/2000/XP/2003 files +COMMENT= Python library for generating Excel 97/2000/XP/2003 files USE_ZIP= yes -USE_PYTHON= 2.5+ +USE_PYTHON= 2 USE_PYDISTUTILS= yes -PYDISTUTILS_PKGNAME= pyExcelerator +PYDISTUTILS_AUTOPLIST= yes DOCSDIR= ${PREFIX}/share/doc/py-excelerator EXAMPLESDIR= ${PREFIX}/share/examples/py-excelerator +PORTDOCS= * +PORTEXAMPLES= * -NO_STAGE= yes post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR} -.endif -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/examples/*.bmp ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/examples/*.py ${EXAMPLESDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/*.bmp ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/*.py ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> diff --git a/textproc/py-excelerator/pkg-plist b/textproc/py-excelerator/pkg-plist deleted file mode 100644 index a0f501a0f50d..000000000000 --- a/textproc/py-excelerator/pkg-plist +++ /dev/null @@ -1,99 +0,0 @@ -%%PYTHON_SITELIBDIR%%/pyExcelerator/BIFFRecords.py -%%PYTHON_SITELIBDIR%%/pyExcelerator/BIFFRecords.pyc -%%PYTHON_SITELIBDIR%%/pyExcelerator/BIFFRecords.pyo -%%PYTHON_SITELIBDIR%%/pyExcelerator/Bitmap.py -%%PYTHON_SITELIBDIR%%/pyExcelerator/Bitmap.pyc -%%PYTHON_SITELIBDIR%%/pyExcelerator/Bitmap.pyo -%%PYTHON_SITELIBDIR%%/pyExcelerator/Cell.py -%%PYTHON_SITELIBDIR%%/pyExcelerator/Cell.pyc -%%PYTHON_SITELIBDIR%%/pyExcelerator/Cell.pyo -%%PYTHON_SITELIBDIR%%/pyExcelerator/Column.py -%%PYTHON_SITELIBDIR%%/pyExcelerator/Column.pyc -%%PYTHON_SITELIBDIR%%/pyExcelerator/Column.pyo -%%PYTHON_SITELIBDIR%%/pyExcelerator/CompoundDoc.py -%%PYTHON_SITELIBDIR%%/pyExcelerator/CompoundDoc.pyc -%%PYTHON_SITELIBDIR%%/pyExcelerator/CompoundDoc.pyo -%%PYTHON_SITELIBDIR%%/pyExcelerator/Deco.py -%%PYTHON_SITELIBDIR%%/pyExcelerator/Deco.pyc -%%PYTHON_SITELIBDIR%%/pyExcelerator/Deco.pyo -%%PYTHON_SITELIBDIR%%/pyExcelerator/ExcelFormula.py -%%PYTHON_SITELIBDIR%%/pyExcelerator/ExcelFormula.pyc -%%PYTHON_SITELIBDIR%%/pyExcelerator/ExcelFormula.pyo -%%PYTHON_SITELIBDIR%%/pyExcelerator/ExcelFormulaLexer.py -%%PYTHON_SITELIBDIR%%/pyExcelerator/ExcelFormulaLexer.pyc -%%PYTHON_SITELIBDIR%%/pyExcelerator/ExcelFormulaLexer.pyo -%%PYTHON_SITELIBDIR%%/pyExcelerator/ExcelFormulaParser.py -%%PYTHON_SITELIBDIR%%/pyExcelerator/ExcelFormulaParser.pyc -%%PYTHON_SITELIBDIR%%/pyExcelerator/ExcelFormulaParser.pyo -%%PYTHON_SITELIBDIR%%/pyExcelerator/ExcelMagic.py -%%PYTHON_SITELIBDIR%%/pyExcelerator/ExcelMagic.pyc -%%PYTHON_SITELIBDIR%%/pyExcelerator/ExcelMagic.pyo -%%PYTHON_SITELIBDIR%%/pyExcelerator/Formatting.py -%%PYTHON_SITELIBDIR%%/pyExcelerator/Formatting.pyc -%%PYTHON_SITELIBDIR%%/pyExcelerator/Formatting.pyo -%%PYTHON_SITELIBDIR%%/pyExcelerator/ImportXLS.py -%%PYTHON_SITELIBDIR%%/pyExcelerator/ImportXLS.pyc -%%PYTHON_SITELIBDIR%%/pyExcelerator/ImportXLS.pyo -%%PYTHON_SITELIBDIR%%/pyExcelerator/Row.py -%%PYTHON_SITELIBDIR%%/pyExcelerator/Row.pyc -%%PYTHON_SITELIBDIR%%/pyExcelerator/Row.pyo -%%PYTHON_SITELIBDIR%%/pyExcelerator/Style.py -%%PYTHON_SITELIBDIR%%/pyExcelerator/Style.pyc -%%PYTHON_SITELIBDIR%%/pyExcelerator/Style.pyo -%%PYTHON_SITELIBDIR%%/pyExcelerator/UnicodeUtils.py -%%PYTHON_SITELIBDIR%%/pyExcelerator/UnicodeUtils.pyc -%%PYTHON_SITELIBDIR%%/pyExcelerator/UnicodeUtils.pyo -%%PYTHON_SITELIBDIR%%/pyExcelerator/Utils.py -%%PYTHON_SITELIBDIR%%/pyExcelerator/Utils.pyc -%%PYTHON_SITELIBDIR%%/pyExcelerator/Utils.pyo -%%PYTHON_SITELIBDIR%%/pyExcelerator/Workbook.py -%%PYTHON_SITELIBDIR%%/pyExcelerator/Workbook.pyc -%%PYTHON_SITELIBDIR%%/pyExcelerator/Workbook.pyo -%%PYTHON_SITELIBDIR%%/pyExcelerator/Worksheet.py -%%PYTHON_SITELIBDIR%%/pyExcelerator/Worksheet.pyc -%%PYTHON_SITELIBDIR%%/pyExcelerator/Worksheet.pyo -%%PYTHON_SITELIBDIR%%/pyExcelerator/__init__.py -%%PYTHON_SITELIBDIR%%/pyExcelerator/__init__.pyc -%%PYTHON_SITELIBDIR%%/pyExcelerator/__init__.pyo -%%PYTHON_SITELIBDIR%%/pyExcelerator/antlr.py -%%PYTHON_SITELIBDIR%%/pyExcelerator/antlr.pyc -%%PYTHON_SITELIBDIR%%/pyExcelerator/antlr.pyo -%%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt -%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt -%%PORTDOCS%%%%DOCSDIR%%/README.txt -%%PORTDOCS%%%%DOCSDIR%%/THANKS.txt -%%PORTDOCS%%%%DOCSDIR%%/TODO.txt -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/big-16Mb.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/big-35Mb.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/blanks.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/col_width.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dates.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/format.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/formula_names.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/formulas.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hyperlinks.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/image.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/merged.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/merged0.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/merged1.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mini.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/num_formats.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/numbers.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/outline.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/panes.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/parse-fmla.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/protection.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/python.bmp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/row_styles.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/row_styles_empty.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sst.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/unicode0.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/unicode1.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/unicode2.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wsprops.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xls2csv.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xls2html.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xls2txt.py -%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrm %%PYTHON_SITELIBDIR%%/pyExcelerator |