aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-12-29 19:27:58 +0800
committerwg <wg@FreeBSD.org>2013-12-29 19:27:58 +0800
commita832bbba6b67b292ab8fb02b6da297be4b0aba1c (patch)
tree5feddf3f8fabac97b77f89616ebc35cc201a1071 /print
parent86d29acf1923feb9b6e44360888413b34f932523 (diff)
downloadfreebsd-ports-gnome-a832bbba6b67b292ab8fb02b6da297be4b0aba1c.tar.gz
freebsd-ports-gnome-a832bbba6b67b292ab8fb02b6da297be4b0aba1c.tar.zst
freebsd-ports-gnome-a832bbba6b67b292ab8fb02b6da297be4b0aba1c.zip
print/py-rtf: support staging and use auto plist
Diffstat (limited to 'print')
-rw-r--r--print/py-rtf/Makefile8
-rw-r--r--print/py-rtf/pkg-plist28
2 files changed, 4 insertions, 32 deletions
diff --git a/print/py-rtf/Makefile b/print/py-rtf/Makefile
index eed3b8be6d52..4c493a114358 100644
--- a/print/py-rtf/Makefile
+++ b/print/py-rtf/Makefile
@@ -13,13 +13,13 @@ COMMENT= Library to create RTF documents using the Python language
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-PYDISTUTILS_PKGNAME= PyRTF
+PYDISTUTILS_AUTOPLIST= yes
EXAMPLESDIR= ${PREFIX}/share/examples/py-rtf
+PORTEXAMPLES= *
-NO_STAGE= yes
post-install:
- @${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
diff --git a/print/py-rtf/pkg-plist b/print/py-rtf/pkg-plist
deleted file mode 100644
index 04e4544a5811..000000000000
--- a/print/py-rtf/pkg-plist
+++ /dev/null
@@ -1,28 +0,0 @@
-%%PYTHON_SITELIBDIR%%/PyRTF/Constants.py
-%%PYTHON_SITELIBDIR%%/PyRTF/Constants.pyc
-%%PYTHON_SITELIBDIR%%/PyRTF/Constants.pyo
-%%PYTHON_SITELIBDIR%%/PyRTF/Elements.py
-%%PYTHON_SITELIBDIR%%/PyRTF/Elements.pyc
-%%PYTHON_SITELIBDIR%%/PyRTF/Elements.pyo
-%%PYTHON_SITELIBDIR%%/PyRTF/PropertySets.py
-%%PYTHON_SITELIBDIR%%/PyRTF/PropertySets.pyc
-%%PYTHON_SITELIBDIR%%/PyRTF/PropertySets.pyo
-%%PYTHON_SITELIBDIR%%/PyRTF/Renderer.py
-%%PYTHON_SITELIBDIR%%/PyRTF/Renderer.pyc
-%%PYTHON_SITELIBDIR%%/PyRTF/Renderer.pyo
-%%PYTHON_SITELIBDIR%%/PyRTF/Styles.py
-%%PYTHON_SITELIBDIR%%/PyRTF/Styles.pyc
-%%PYTHON_SITELIBDIR%%/PyRTF/Styles.pyo
-%%PYTHON_SITELIBDIR%%/PyRTF/__init__.py
-%%PYTHON_SITELIBDIR%%/PyRTF/__init__.pyc
-%%PYTHON_SITELIBDIR%%/PyRTF/__init__.pyo
-share/examples/py-rtf/examples.py
-share/examples/py-rtf/examples2.py
-share/examples/py-rtf/image.jpg
-share/examples/py-rtf/img1.png
-share/examples/py-rtf/img2.png
-share/examples/py-rtf/img3.png
-share/examples/py-rtf/img4.png
-share/examples/py-rtf/merged_cells.py
-@dirrm share/examples/py-rtf
-@dirrm %%PYTHON_SITELIBDIR%%/PyRTF