aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--textproc/py-xlwriter/Makefile11
-rw-r--r--textproc/py-xlwriter/pkg-plist80
2 files changed, 6 insertions, 85 deletions
diff --git a/textproc/py-xlwriter/Makefile b/textproc/py-xlwriter/Makefile
index bc34c4d5634e..937420987608 100644
--- a/textproc/py-xlwriter/Makefile
+++ b/textproc/py-xlwriter/Makefile
@@ -9,16 +9,17 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pyXLWriter-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-COMMENT= A python library for generating Excel-compatible spreadsheets
+COMMENT= Python library for generating Excel-compatible spreadsheets
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_ZIP= yes
-PYDISTUTILS_PKGNAME= pyXLWriter
+PYDISTUTILS_AUTOPLIST= yes
+
+PORTEXAMPLES= *
-NO_STAGE= yes
post-install:
- ${MKDIR} ${EXAMPLESDIR}
- ${FIND} ${WRKSRC}/examples -type f -exec ${INSTALL_DATA} {} ${EXAMPLESDIR} \;
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${FIND} ${WRKSRC}/examples -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${EXAMPLESDIR} \;
.include <bsd.port.mk>
diff --git a/textproc/py-xlwriter/pkg-plist b/textproc/py-xlwriter/pkg-plist
deleted file mode 100644
index aabbfb993fc3..000000000000
--- a/textproc/py-xlwriter/pkg-plist
+++ /dev/null
@@ -1,80 +0,0 @@
-%%PYTHON_SITELIBDIR%%/pyXLWriter/BIFFWriter.py
-%%PYTHON_SITELIBDIR%%/pyXLWriter/BIFFWriter.pyc
-%%PYTHON_SITELIBDIR%%/pyXLWriter/BIFFWriter.pyo
-%%PYTHON_SITELIBDIR%%/pyXLWriter/Format.py
-%%PYTHON_SITELIBDIR%%/pyXLWriter/Format.pyc
-%%PYTHON_SITELIBDIR%%/pyXLWriter/Format.pyo
-%%PYTHON_SITELIBDIR%%/pyXLWriter/Formula.py
-%%PYTHON_SITELIBDIR%%/pyXLWriter/Formula.pyc
-%%PYTHON_SITELIBDIR%%/pyXLWriter/Formula.pyo
-%%PYTHON_SITELIBDIR%%/pyXLWriter/OLEWriter.py
-%%PYTHON_SITELIBDIR%%/pyXLWriter/OLEWriter.pyc
-%%PYTHON_SITELIBDIR%%/pyXLWriter/OLEWriter.pyo
-%%PYTHON_SITELIBDIR%%/pyXLWriter/OLEWriterBig.py
-%%PYTHON_SITELIBDIR%%/pyXLWriter/OLEWriterBig.pyc
-%%PYTHON_SITELIBDIR%%/pyXLWriter/OLEWriterBig.pyo
-%%PYTHON_SITELIBDIR%%/pyXLWriter/Workbook.py
-%%PYTHON_SITELIBDIR%%/pyXLWriter/Workbook.pyc
-%%PYTHON_SITELIBDIR%%/pyXLWriter/Workbook.pyo
-%%PYTHON_SITELIBDIR%%/pyXLWriter/Worksheet.py
-%%PYTHON_SITELIBDIR%%/pyXLWriter/Worksheet.pyc
-%%PYTHON_SITELIBDIR%%/pyXLWriter/Worksheet.pyo
-%%PYTHON_SITELIBDIR%%/pyXLWriter/__init__.py
-%%PYTHON_SITELIBDIR%%/pyXLWriter/__init__.pyc
-%%PYTHON_SITELIBDIR%%/pyXLWriter/__init__.pyo
-%%PYTHON_SITELIBDIR%%/pyXLWriter/_lextab.py
-%%PYTHON_SITELIBDIR%%/pyXLWriter/_lextab.pyc
-%%PYTHON_SITELIBDIR%%/pyXLWriter/_lextab.pyo
-%%PYTHON_SITELIBDIR%%/pyXLWriter/_parsetab.py
-%%PYTHON_SITELIBDIR%%/pyXLWriter/_parsetab.pyc
-%%PYTHON_SITELIBDIR%%/pyXLWriter/_parsetab.pyo
-%%PYTHON_SITELIBDIR%%/pyXLWriter/lex.py
-%%PYTHON_SITELIBDIR%%/pyXLWriter/lex.pyc
-%%PYTHON_SITELIBDIR%%/pyXLWriter/lex.pyo
-%%PYTHON_SITELIBDIR%%/pyXLWriter/parse.py
-%%PYTHON_SITELIBDIR%%/pyXLWriter/parse.pyc
-%%PYTHON_SITELIBDIR%%/pyXLWriter/parse.pyo
-%%PYTHON_SITELIBDIR%%/pyXLWriter/utilites.py
-%%PYTHON_SITELIBDIR%%/pyXLWriter/utilites.pyc
-%%PYTHON_SITELIBDIR%%/pyXLWriter/utilites.pyo
-%%PYTHON_SITELIBDIR%%/pyXLWriter/yacc.py
-%%PYTHON_SITELIBDIR%%/pyXLWriter/yacc.pyc
-%%PYTHON_SITELIBDIR%%/pyXLWriter/yacc.pyo
-%%EXAMPLESDIR%%/bigfile.py
-%%EXAMPLESDIR%%/cgi.py
-%%EXAMPLESDIR%%/chess.py
-%%EXAMPLESDIR%%/colors.py
-%%EXAMPLESDIR%%/comments.py
-%%EXAMPLESDIR%%/copyformat.py
-%%EXAMPLESDIR%%/csv2xls.py
-%%EXAMPLESDIR%%/datecalc2.py
-%%EXAMPLESDIR%%/dates.py
-%%EXAMPLESDIR%%/demo.py
-%%EXAMPLESDIR%%/easter_egg.py
-%%EXAMPLESDIR%%/filehandle.py
-%%EXAMPLESDIR%%/headers.py
-%%EXAMPLESDIR%%/hyperlink1.py
-%%EXAMPLESDIR%%/hyperlink2.py
-%%EXAMPLESDIR%%/images.py
-%%EXAMPLESDIR%%/long_string.py
-%%EXAMPLESDIR%%/merge1.py
-%%EXAMPLESDIR%%/merge2.py
-%%EXAMPLESDIR%%/merge3.py
-%%EXAMPLESDIR%%/merge4.py
-%%EXAMPLESDIR%%/merge5.py
-%%EXAMPLESDIR%%/outline.py
-%%EXAMPLESDIR%%/panes.py
-%%EXAMPLESDIR%%/protection.py
-%%EXAMPLESDIR%%/regions.py
-%%EXAMPLESDIR%%/repeat.py
-%%EXAMPLESDIR%%/republic.bmp
-%%EXAMPLESDIR%%/simple.py
-%%EXAMPLESDIR%%/stats.py
-%%EXAMPLESDIR%%/stats_ext.py
-%%EXAMPLESDIR%%/stocks.py
-%%EXAMPLESDIR%%/tab2xls.py
-%%EXAMPLESDIR%%/textwrap.py
-%%EXAMPLESDIR%%/win32ole.py
-%%EXAMPLESDIR%%/write_arrays.py
-@dirrm %%PYTHON_SITELIBDIR%%/pyXLWriter
-@dirrm %%EXAMPLESDIR%%